File tree Expand file tree Collapse file tree 1 file changed +10
-4
lines changed
Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -3686,32 +3686,38 @@ added:
36863686
36873687The name of the test.
36883688
3689- ### ` context.passed ` {boolean}
3689+ ### ` context.passed `
36903690
36913691<!-- YAML
36923692added:
36933693 - v21.7.0
36943694 - v20.12.0
36953695-->
36963696
3697- Indicated wether the test succeeded, this defaults to ` false ` before the test is executed, e.g. in a ` beforeEach ` hook.
3697+ * Type: {boolean} ` false ` before the test is executed, e.g. in a ` beforeEach ` hook.
36983698
3699- ### ` context.error ` {Error|null}
3699+ Indicated whether the test succeeded.
3700+
3701+ ### ` context.error `
37003702
37013703<!-- YAML
37023704added:
37033705 - v21.7.0
37043706 - v20.12.0
37053707-->
37063708
3709+ * Type: {Error|null}
3710+
37073711The failure reason for the test/case; wrapped and available via ` context.error.cause ` .
37083712
3709- ### ` context.attempt ` {number}
3713+ ### ` context.attempt `
37103714
37113715<!-- YAML
37123716added: v25.0.0
37133717-->
37143718
3719+ * Type: {number}
3720+
37153721Number of times the test has been attempted.
37163722
37173723### ` context.plan(count[,options]) `
You can’t perform that action at this time.
0 commit comments