Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 6027084

Browse filesBrowse files
aduh95marco-ippolito
authored andcommitted
test: make test-loaders-workers-spawned less flaky
PR-URL: #55172 Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
1 parent 0bbeb60 commit 6027084
Copy full SHA for 6027084

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Open diff view settings
Collapse file

‎test/es-module/test-loaders-workers-spawned.mjs‎

Copy file name to clipboardExpand all lines: test/es-module/test-loaders-workers-spawned.mjs
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ describe('Worker threads do not spawn infinitely', { concurrency: true }, () =>
7676

7777
assert.strictEqual(stderr, '');
7878
// The worker code should always run before the --import, but the console.log might arrive late.
79-
assert.match(stdout, /^A\r?\nA\r?\n(B\r?\nC|C\r?\nB)\r?\nD\r?\n$/);
79+
assert.match(stdout, /^A\r?\n(A\r?\nB\r?\nC|A\r?\nC\r?\nB|C\r?\nA\r?\nB)\r?\nD\r?\n$/);
8080
assert.strictEqual(code, 0);
8181
assert.strictEqual(signal, null);
8282
});

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.