(count, options = kEmptyObject)
| 316 | } |
| 317 | |
| 318 | plan(count, options = kEmptyObject) { |
| 319 | if (this.#test.plan !== null) { |
| 320 | throw new ERR_TEST_FAILURE( |
| 321 | 'cannot set plan more than once', |
| 322 | kTestCodeFailure, |
| 323 | ); |
| 324 | } |
| 325 | |
| 326 | this.#test.plan = new TestPlan(count, options); |
| 327 | } |
| 328 | |
| 329 | get assert() { |
| 330 | if (this.#assert === undefined) { |
no outgoing calls
no test coverage detected