method TestContext.prototype.todo
#TestContext.prototype.todo(message?: string): voidThis 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');
});
Parameters #
#message: string optional
Optional TODO message.
Return Type #
void