通道:'tracing:node.test:start'
🌐 Channel: 'tracing:node.test:start'
data<Object>name<string> 测试名称。nesting<number> 测试的嵌套级别。file<string> | <undefined> 测试文件的路径,或在 REPL 中运行时为undefined。type<string> 测试类型。可以是'test'或'suite'。
当测试或测试套件开始执行时发出。测试的跨度包括它的所有 before、beforeEach 和 afterEach 钩子,以及测试主体。
🌐 Emitted when a test or suite starts execution. The test's span encompasses all of its before, beforeEach, and afterEach hooks, as well as the test body.