'test:plan' 事件
data
<Object>file
<string> | <undefined> 测试文件的路径,如果测试未通过文件运行则未定义。nesting
<number> 测试的嵌套级别。count
<number> 已运行的子测试数。
当给定测试的所有子测试都完成时发出。
data
<Object>file
<string> | <undefined> The path of the test file, undefined if test is not ran through a file.nesting
<number> The nesting level of the test.count
<number> The number of subtests that have ran.
Emitted when all subtests have completed for a given test.