Mtodo
Bun

method

test.TestContext.todo

message?: string
): void;

This function adds a TODO directive to the test's output. If message is provided, it is included in the output. Calling todo() does not terminate execution of the test function. This function does not return a value.

test('top level test', (t) => {
  // This test is marked as `TODO`
  t.todo('this is a todo');
});
@param message

Optional TODO message.