todo

fun todo(message: String = definedExternally)(source)

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');
});

Since

v18.0.0, v16.17.0

Parameters

message

Optional TODO message.