method TestContext.prototype.diagnostic
#TestContext.prototype.diagnostic(message: string): voidThis function is used to write diagnostics to the output. Any diagnostic information is included at the end of the test's results. This function does not return a value.
test('top level test', (t) => {
t.diagnostic('A diagnostic message');
});
Parameters #
#message: string Message to be reported.
Return Type #
void