todoIf

Bun

Symbol

Test.todoIf

todoIf(condition: boolean): (label: string, fn: () => void | Promise<unknown> | (done: (err?: unknown) => void) => void, options?: number | TestOptions) => void

Marks this test as to be written or to be fixed, if condition is true.

@param condition

if the test should be marked TODO