Commit b717956
test: load common.js in all tests
common.js contains code that detects leaked variables.
In preparation for an eslint rule that will enforce loading common.js in
test files, load it everywhere it can be loaded and use an
`eslint-disable` comment for files that intentionally leak.
PR-URL: #3157
Reviewed-By: Rod Vagg <rod@vagg.org>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>1 parent 5d9f83f commit b717956Copy full SHA for b717956
File tree
Expand file treeCollapse file tree
10 files changed
+11
-0
lines changedOpen diff view settings
Filter options
- test
- addons
- async-hello-world
- at-exit
- heap-profiler
- hello-world-function-export
- hello-world
- repl-domain-abort
- debugger
Expand file treeCollapse file tree
10 files changed
+11
-0
lines changedOpen diff view settings
Collapse file
test/addons/async-hello-world/test.js
Copy file name to clipboardExpand all lines: test/addons/async-hello-world/test.js+1Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1 | 1 | |
| 2 | + |
2 | 3 | |
3 | 4 | |
4 | 5 | |
|
Collapse file
test/addons/at-exit/test.js
Copy file name to clipboard+1Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1 | 1 | |
| 2 | + |
2 | 3 | |
Collapse file
test/addons/heap-profiler/test.js
Copy file name to clipboardExpand all lines: test/addons/heap-profiler/test.js+2Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1 | 1 | |
2 | 2 | |
| 3 | + |
| 4 | + |
3 | 5 | |
4 | 6 | |
5 | 7 | |
|
Collapse file
test/addons/hello-world-function-export/test.js
Copy file name to clipboardExpand all lines: test/addons/hello-world-function-export/test.js+1Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1 | 1 | |
| 2 | + |
2 | 3 | |
3 | 4 | |
4 | 5 | |
|
Collapse file
test/addons/hello-world/test.js
Copy file name to clipboardExpand all lines: test/addons/hello-world/test.js+1Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1 | 1 | |
| 2 | + |
2 | 3 | |
3 | 4 | |
4 | 5 | |
|
Collapse file
test/addons/repl-domain-abort/test.js
Copy file name to clipboardExpand all lines: test/addons/repl-domain-abort/test.js+1Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1 | 1 | |
| 2 | + |
2 | 3 | |
3 | 4 | |
4 | 5 | |
|
Collapse file
test/debugger/test-debugger-repl-break-in-module.js
Copy file name to clipboardExpand all lines: test/debugger/test-debugger-repl-break-in-module.js+1Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1 | 1 | |
| 2 | + |
2 | 3 | |
3 | 4 | |
4 | 5 | |
|
Collapse file
test/debugger/test-debugger-repl-restart.js
Copy file name to clipboardExpand all lines: test/debugger/test-debugger-repl-restart.js+1Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1 | 1 | |
| 2 | + |
2 | 3 | |
3 | 4 | |
4 | 5 | |
|
Collapse file
test/debugger/test-debugger-repl-term.js
Copy file name to clipboardExpand all lines: test/debugger/test-debugger-repl-term.js+1Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1 | 1 | |
| 2 | + |
2 | 3 | |
3 | 4 | |
4 | 5 | |
|
Collapse file
test/debugger/test-debugger-repl.js
Copy file name to clipboardExpand all lines: test/debugger/test-debugger-repl.js+1Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1 | 1 | |
| 2 | + |
2 | 3 | |
3 | 4 | |
4 | 5 | |
|
0 commit comments