Mdiagnostic
Bun

method

test.default.SuiteContext.diagnostic

message: string
): void;

Output a diagnostic message. This is typically used for logging information about the current suite or its tests.

test.describe('my suite', (suite) => {
  suite.diagnostic('Suite diagnostic message');
});
@param message

A diagnostic message to output.