Skip to content

Commit 55ad16a

Browse files
Disabled workers for testing for speed, we are already spawning so many processes
1 parent c90b4e4 commit 55ad16a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/utils.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,8 +122,9 @@ async function runCommand(dir, args, options) {
122122
const fixtures = dir ? await getIsolatedFixtures(dir) : undefined;
123123
const archive = fixtures ? await getArchive(fixtures.path) : undefined;
124124
const cwd = fixtures ? fixtures.path : TESTS_PATH;
125+
const argsForTesting = ["--no-parallel"];
125126
const argsWithReplacements = args.map((arg) => arg.replaceAll("$CWD", cwd));
126-
const result = exec("node", [BIN_PATH, ...argsWithReplacements], { cwd, stdio: "pipe" });
127+
const result = exec("node", [BIN_PATH, ...argsForTesting, ...argsWithReplacements], { cwd, stdio: "pipe" });
127128

128129
if (options.input) {
129130
result.process.stdin.write(options.input);

0 commit comments

Comments
 (0)