context.diagnostic(message)


  • message <string> 要输出的诊断信息。

输出诊断消息。这通常用于记录关于当前测试套件或其测试的信息。

🌐 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');
});