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