Skip to content

Commit c78345d

Browse files
committed
fix: update docs
1 parent 082ba93 commit c78345d

File tree

1 file changed

+72
-8
lines changed

1 file changed

+72
-8
lines changed

docs/internal-api.md

Lines changed: 72 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -113,15 +113,79 @@ module.exports = function() {
113113
// in console log
114114
FAIL | 7 passed, 1 failed, 1 skipped // 2s
115115
{
116-
tests: {
117-
passed: [...],
118-
failed: [...],
119-
skipped: [...],
120-
},
121-
steps: {
122-
passed: [...],
123-
failed: [...],
116+
"tests": {
117+
"passed": [
118+
{
119+
"type": "test",
120+
"title": "Assert @C3",
121+
"body": "() => { }",
122+
"async": 0,
123+
"sync": true,
124+
"_timeout": 2000,
125+
"_slow": 75,
126+
"_retries": -1,
127+
"timedOut": false,
128+
"_currentRetry": 0,
129+
"pending": false,
130+
"opts": {},
131+
"tags": [
132+
"@C3"
133+
],
134+
"uid": "xe4q1HdqpRrZG5dPe0JG+A",
135+
"workerIndex": 3,
136+
"retries": -1,
137+
"duration": 493,
138+
"err": null,
139+
"parent": {
140+
"title": "My",
141+
"ctx": {},
142+
"suites": [],
143+
"tests": [],
144+
"root": false,
145+
"pending": false,
146+
"_retries": -1,
147+
"_beforeEach": [],
148+
"_beforeAll": [],
149+
"_afterEach": [],
150+
"_afterAll": [],
151+
"_timeout": 2000,
152+
"_slow": 75,
153+
"_bail": false,
154+
"_onlyTests": [],
155+
"_onlySuites": [],
156+
"delayed": false
124157
},
158+
"steps": [
159+
{
160+
"actor": "I",
161+
"name": "amOnPage",
162+
"status": "success",
163+
"agrs": [
164+
"https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods/POST"
165+
],
166+
"startedAt": 1698760652610,
167+
"startTime": 1698760652611,
168+
"endTime": 1698760653098,
169+
"finishedAt": 1698760653098,
170+
"duration": 488
171+
},
172+
{
173+
"actor": "I",
174+
"name": "grabCurrentUrl",
175+
"status": "success",
176+
"agrs": [],
177+
"startedAt": 1698760653098,
178+
"startTime": 1698760653098,
179+
"endTime": 1698760653099,
180+
"finishedAt": 1698760653099,
181+
"duration": 1
182+
}
183+
]
184+
}
185+
],
186+
"failed": [],
187+
"skipped": []
188+
}
125189
}
126190
```
127191

0 commit comments

Comments
 (0)