事件:'test:pass'
¥Event: 'test:pass'
-
data<Object>-
duration<number> 测试持续时间。¥
duration<number> The test duration. -
name<string> 测试名称。¥
name<string> The test name. -
testNumber<number> 测试的序号。¥
testNumber<number> The ordinal number of the test. -
todo<string> | <undefined> 如果调用context.todo,则存在¥
todo<string> | <undefined> Present ifcontext.todois called -
skip<string> | <undefined> 如果调用context.skip,则存在¥
skip<string> | <undefined> Present ifcontext.skipis called
-
测试通过时触发。
¥Emitted when a test passes.