skip

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

This function causes the test's output to indicate the test as skipped. If message is provided, it is included in the output. Calling skip() does not terminate execution of the test function. This function does not return a value.

test('top level test', (t) => {
// Make sure to return here as well if the test contains additional logic.
t.skip('this is skipped');
});

Since

v18.0.0, v16.17.0

Parameters

message

Optional skip message.