We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 103a9af commit c50bd2fCopy full SHA for c50bd2f
test/parallel/test-trace-exit.js
@@ -47,12 +47,12 @@ switch (true) {
47
stderr.match(/WARNING: Exited the environment with code 0/g);
48
if (warnings === 0) {
49
assert.strictEqual(actualWarnings, null);
50
- return;
+ continue;
51
}
52
assert.strictEqual(actualWarnings.length, warnings);
53
54
if (variant.startsWith('worker')) {
55
- const workerIds = stderr.match(/\(node:\d+, thread:\d+)/g);
+ const workerIds = stderr.match(/\(node:\d+, thread:\d+\)/g);
56
assert.strictEqual(workerIds.length, warnings);
57
58
0 commit comments