Mdiagnostic
Bun

method

test.TestContext.diagnostic

message: string
): void;

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

Message to be reported.