GeezerVison is showing github.com — doc: add missing test runner option · nodejs/node@51db352
File tree
Expand file treeCollapse file tree
Open diff view settings
Expand file treeCollapse file tree
Open diff view settings
Collapse file
Copy file name to clipboardExpand all lines: doc/api/test.md +7Lines changed: 7 additions & 0 deletions - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
@@ -321,6 +321,9 @@ internally. |
321 | 321 | <!-- YAML |
322 | 322 | added: v18.0.0 |
323 | 323 | changes: |
| 324 | + - version: REPLACEME |
| 325 | + pr-url: https://github.com/nodejs/node/pull/43554 |
| 326 | + description: Add a `signal` option. |
324 | 327 | - version: v18.7.0 |
325 | 328 | pr-url: https://github.com/nodejs/node/pull/43505 |
326 | 329 | description: Add a `timeout` option. |
@@ -553,6 +556,9 @@ test('top level test', (t) => { |
553 | 556 | <!-- YAML |
554 | 557 | added: v18.0.0 |
555 | 558 | changes: |
| 559 | + - version: REPLACEME |
| 560 | + pr-url: https://github.com/nodejs/node/pull/43554 |
| 561 | + description: Add a `signal` option. |
556 | 562 | - version: v18.7.0 |
557 | 563 | pr-url: https://github.com/nodejs/node/pull/43505 |
558 | 564 | description: Add a `timeout` option. |
@@ -569,6 +575,7 @@ changes: |
569 | 575 | * `only` {boolean} If truthy, and the test context is configured to run |
570 | 576 | `only` tests, then this test will be run. Otherwise, the test is skipped. |
571 | 577 | **Default:** `false`. |
| 578 | + * `signal` {AbortSignal} Allows aborting an in-progress test |
572 | 579 | * `skip` {boolean|string} If truthy, the test is skipped. If a string is |
573 | 580 | provided, that string is displayed in the test results as the reason for |
574 | 581 | skipping the test. **Default:** `false`. |
|