Skip to content
masterclass Buddy

Vitest · Function

test.todo

test.todo creates a placeholder for a test that is not implemented yet. Vitest skips it and lists it in the test report.

Last updated

Syntax

test.todo(name: string): void

In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.

Subscribe
  • test
  • it.todo
  • test.skip
  • test.fails

Source: Test | Vitest. Checked 2026-11-03.