(reject)
| 211 | } |
| 212 | |
| 213 | #createTimeout(reject) { |
| 214 | return setTimeout(() => { |
| 215 | const err = new ERR_TEST_FAILURE( |
| 216 | `plan timed out after ${this.wait}ms with ${this.actual} assertions when expecting ${this.expected}`, |
| 217 | kTestTimeoutFailure, |
| 218 | ); |
| 219 | reject(err); |
| 220 | }, this.wait); |
| 221 | } |
| 222 | |
| 223 | check() { |
| 224 | if (this.#planMet()) { |
no test coverage detected