diagnostic
This 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');
});
Content copied to clipboard
Since
v18.0.0, v16.17.0
Parameters
message
Message to be reported.