Commit d6091c8
test: use common.fixturesDir almost everywhere
Updating tests to use `common.fixturesDir` whenever possible/reasonable.
Left out things like tests for `path` and `require.resolve`.
PR-URL: #6997
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>1 parent 701e699 commit d6091c8Copy full SHA for d6091c8
File tree
Expand file treeCollapse file tree
15 files changed
+31
-27
lines changedOpen diff view settings
Filter options
- test
- parallel
- sequential
Expand file treeCollapse file tree
15 files changed
+31
-27
lines changedOpen diff view settings
Collapse file
test/parallel/test-child-process-detached.js
Copy file name to clipboardExpand all lines: test/parallel/test-child-process-detached.js+2-2Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1 | 1 | |
2 | | - |
| 2 | + |
3 | 3 | |
4 | 4 | |
5 | 5 | |
6 | 6 | |
7 | | - |
| 7 | + |
8 | 8 | |
9 | 9 | |
10 | 10 | |
|
Collapse file
test/parallel/test-delayed-require.js
Copy file name to clipboardExpand all lines: test/parallel/test-delayed-require.js+3-2Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1 | 1 | |
2 | | - |
| 2 | + |
| 3 | + |
3 | 4 | |
4 | 5 | |
5 | 6 | |
6 | 7 | |
7 | | - |
| 8 | + |
8 | 9 | |
9 | 10 | |
10 | 11 | |
|
Collapse file
test/parallel/test-global.js
Copy file name to clipboardExpand all lines: test/parallel/test-global.js+2-1Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1 | 1 | |
2 | 2 | |
| 3 | + |
3 | 4 | |
4 | 5 | |
5 | 6 | |
| ||
13 | 14 | |
14 | 15 | |
15 | 16 | |
16 | | - |
| 17 | + |
17 | 18 | |
18 | 19 | |
19 | 20 | |
|
Collapse file
test/parallel/test-http-default-port.js
Copy file name to clipboardExpand all lines: test/parallel/test-http-default-port.js+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
7 | 7 | |
8 | 8 | |
9 | 9 | |
10 | | - |
| 10 | + |
11 | 11 | |
12 | 12 | |
13 | 13 | |
|
Collapse file
test/parallel/test-internal-modules.js
Copy file name to clipboard+3-2Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1 | 1 | |
2 | | - |
| 2 | + |
| 3 | + |
3 | 4 | |
4 | 5 | |
5 | 6 | |
6 | 7 | |
7 | 8 | |
8 | 9 | |
9 | | - |
| 10 | + |
Collapse file
test/parallel/test-preload.js
Copy file name to clipboardExpand all lines: test/parallel/test-preload.js+2-2Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
22 | 22 | |
23 | 23 | |
24 | 24 | |
25 | | - |
| 25 | + |
26 | 26 | |
27 | 27 | |
28 | 28 | |
| ||
138 | 138 | |
139 | 139 | |
140 | 140 | |
141 | | - |
| 141 | + |
142 | 142 | |
143 | 143 | |
144 | 144 | |
|
Collapse file
test/parallel/test-repl-persistent-history.js
Copy file name to clipboardExpand all lines: test/parallel/test-repl-persistent-history.js+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
70 | 70 | |
71 | 71 | |
72 | 72 | |
73 | | - |
| 73 | + |
74 | 74 | |
75 | 75 | |
76 | 76 | |
|
Collapse file
test/parallel/test-repl-syntax-error-stack.js
Copy file name to clipboardExpand all lines: test/parallel/test-repl-syntax-error-stack.js+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
17 | 17 | |
18 | 18 | |
19 | 19 | |
20 | | - |
| 20 | + |
21 | 21 | |
22 | 22 | |
23 | 23 | |
|
Collapse file
test/parallel/test-require-json.js
Copy file name to clipboardExpand all lines: test/parallel/test-require-json.js+3-2Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1 | 1 | |
2 | | - |
| 2 | + |
| 3 | + |
3 | 4 | |
4 | 5 | |
5 | 6 | |
6 | | - |
| 7 | + |
7 | 8 | |
8 | 9 | |
9 | 10 | |
|
Collapse file
test/parallel/test-sync-fileread.js
Copy file name to clipboard+2-2Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1 | 1 | |
2 | | - |
| 2 | + |
3 | 3 | |
4 | 4 | |
5 | 5 | |
6 | 6 | |
7 | | - |
| 7 | + |
8 | 8 | |
9 | 9 | |
0 commit comments