GeezerVison is showing github.com — test: make sure that inspector tests finish · nodejs/node@bc9453a
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: test/parallel/test-inspector-bindings.js +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
@@ -127,4 +127,4 @@ async function doTests() { |
127 | 127 | await testNoCrashConsoleLogBeforeThrow(); |
128 | 128 | } |
129 | 129 |
|
130 | | -doTests(); |
| 130 | +doTests().then(common.mustCall()); |
Collapse file
Copy file name to clipboardExpand all lines: test/parallel/test-inspector-esm.js +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
@@ -109,4 +109,4 @@ async function runTest() { |
109 | 109 | assert.strictEqual((await child.expectShutdown()).exitCode, 55); |
110 | 110 | } |
111 | 111 |
|
112 | | -runTest(); |
| 112 | +runTest().then(common.mustCall()); |
Collapse file
Copy file name to clipboardExpand all lines: test/parallel/test-inspector-multisession-js.js +2-2Lines changed: 2 additions & 2 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -57,7 +57,7 @@ async function test() { |
57 | 57 | } |
58 | 58 |
|
59 | 59 | const interval = setInterval(() => {}, 1000); |
60 | | -test().then(() => { |
| 60 | +test().then(common.mustCall(() => { |
61 | 61 | clearInterval(interval); |
62 | 62 | console.log('Done!'); |
63 | | -}); |
| 63 | +})); |
Collapse file
Copy file name to clipboardExpand all lines: test/parallel/test-inspector-multisession-ws.js +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
@@ -74,4 +74,4 @@ async function runTest() { |
74 | 74 | return child.expectShutdown(); |
75 | 75 | } |
76 | 76 |
|
77 | | -runTest(); |
| 77 | +runTest().then(common.mustCall()); |
Collapse file
Copy file name to clipboardExpand all lines: test/parallel/test-inspector-reported-host.js +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
@@ -16,4 +16,4 @@ async function test() { |
16 | 16 | child.kill(); |
17 | 17 | } |
18 | 18 |
|
19 | | -test(); |
| 19 | +test().then(common.mustCall()); |
Collapse file
Copy file name to clipboardExpand all lines: test/parallel/test-inspector-tracing-domain.js +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
@@ -66,4 +66,4 @@ async function test() { |
66 | 66 | console.log('Success'); |
67 | 67 | } |
68 | 68 |
|
69 | | -test(); |
| 69 | +test().then(common.mustCall()); |
Collapse file
Copy file name to clipboardExpand all lines: test/parallel/test-inspector-wait-for-connection.js +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
@@ -58,4 +58,4 @@ async function runTests() { |
58 | 58 | assert.throws(() => require('inspector').waitForDebugger(), re); |
59 | 59 | } |
60 | 60 |
|
61 | | -runTests(); |
| 61 | +runTests().then(common.mustCall()); |
Collapse file
Copy file name to clipboardExpand all lines: test/parallel/test-inspector-waiting-for-disconnect.js +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
@@ -41,4 +41,4 @@ async function runTest() { |
41 | 41 | assert.strictEqual((await child.expectShutdown()).exitCode, 55); |
42 | 42 | } |
43 | 43 |
|
44 | | -runTest(); |
| 44 | +runTest().then(common.mustCall()); |
Collapse file
Copy file name to clipboardExpand all lines: test/sequential/test-inspector-async-hook-setup-at-inspect-brk.js +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
@@ -46,4 +46,4 @@ async function runTests() { |
46 | 46 | assert.strictEqual((await instance.expectShutdown()).exitCode, 55); |
47 | 47 | } |
48 | 48 |
|
49 | | -runTests(); |
| 49 | +runTests().then(common.mustCall()); |
Collapse file
Copy file name to clipboardExpand all lines: test/sequential/test-inspector-async-hook-setup-at-signal.js +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
@@ -81,4 +81,4 @@ async function runTests() { |
81 | 81 | instance.kill(); |
82 | 82 | } |
83 | 83 |
|
84 | | -runTests(); |
| 84 | +runTests().then(common.mustCall()); |