context.passed
返回上层文档
新增于: v21.7.0, v20.12.0
类型:
<boolean>
false
在测试执行之前,例如在
beforeEach
钩子中。
指示测试是否成功。
🌐 Indicated whether the test succeeded.