Commit db7b27a
test: refactor beforeExit tests
Combine and rename tests for the `beforeExit` event on `process`.
The naming now more closely follows the de facto conventions of the
project.
The two tests were very similar and do not seem to benefit from being
separate.
PR-URL: #10581
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>1 parent 33851d1 commit db7b27aCopy full SHA for db7b27a
File tree
Expand file treeCollapse file tree
2 files changed
+14
-15
lines changedOpen diff view settings
Filter options
- test/parallel
Expand file treeCollapse file tree
2 files changed
+14
-15
lines changedOpen diff view settings
Collapse file
test/parallel/test-process-before-exit.js
Copy file name to clipboardExpand all lines: test/parallel/test-process-before-exit.js-14Lines changed: 0 additions & 14 deletions
This file was deleted.
Collapse file
test/parallel/test-beforeexit-event.js test/parallel/test-process-beforeexit.jstest/parallel/test-beforeexit-event.js renamed to test/parallel/test-process-beforeexit.js
Copy file name to clipboardExpand all lines: test/parallel/test-process-beforeexit.js+14-1Lines changed: 14 additions & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
21 | 21 | |
22 | 22 | |
23 | 23 | |
24 | | - |
| 24 | + |
25 | 25 | |
26 | 26 | |
| 27 | + |
| 28 | + |
| 29 | + |
| 30 | + |
| 31 | + |
| 32 | + |
| 33 | + |
| 34 | + |
| 35 | + |
| 36 | + |
| 37 | + |
| 38 | + |
| 39 | + |
0 commit comments