Commit 51ff71a
test: update test-child-process-windows-hide to use node:test
This commit updates test/parallel/test-child-process-windows-hide.js
to use node:test. This allows the test to use the built in mocking
functionality instead of managing spies manually. It also prevents
multiple child processes from being spawned in parallel, which can
be problematic in the CI.
PR-URL: #56437
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
Reviewed-By: James M Snell <jasnell@gmail.com>1 parent bc8c39b commit 51ff71aCopy full SHA for 51ff71a
File tree
Expand file treeCollapse file tree
1 file changed
+23
-24
lines changedOpen diff view settings
Filter options
- test/parallel
Expand file treeCollapse file tree
1 file changed
+23
-24
lines changedOpen diff view settings
Collapse file
test/parallel/test-child-process-windows-hide.js
Copy file name to clipboardExpand all lines: test/parallel/test-child-process-windows-hide.js+23-24Lines changed: 23 additions & 24 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
3 | 3 | |
4 | 4 | |
5 | 5 | |
| 6 | + |
6 | 7 | |
7 | 8 | |
8 | 9 | |
9 | 10 | |
10 | 11 | |
11 | | - |
12 | | - |
13 | | - |
14 | | - |
| 12 | + |
| 13 | + |
| 14 | + |
15 | 15 | |
16 | | - |
17 | | - |
18 | | - |
19 | | - |
20 | | - |
21 | | - |
22 | | - |
23 | | - |
24 | | - |
25 | | - |
26 | | - |
| 16 | + |
| 17 | + |
27 | 18 | |
28 | 19 | |
29 | 20 | |
30 | 21 | |
31 | 22 | |
32 | 23 | |
33 | | - |
| 24 | + |
| 25 | + |
| 26 | + |
34 | 27 | |
35 | | - |
| 28 | + |
| 29 | + |
36 | 30 | |
37 | 31 | |
38 | 32 | |
39 | 33 | |
40 | 34 | |
| 35 | + |
| 36 | + |
| 37 | + |
41 | 38 | |
42 | | - |
| 39 | + |
43 | 40 | |
44 | | - |
45 | | - |
| 41 | + |
| 42 | + |
| 43 | + |
46 | 44 | |
47 | 45 | |
48 | | - |
49 | | - |
50 | | - |
51 | | - |
| 46 | + |
| 47 | + |
| 48 | + |
| 49 | + |
| 50 | + |
0 commit comments