Skip to content

Commit 3589002

Browse files
refactor(tests): remove concurrency
This commit removes concurrency to hopefully improve the pass rate for weval tests
1 parent 11f3683 commit 3589002

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

test/bindings.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ suite('Bindings', async () => {
1717
const bindingsCases = await readdir(new URL('./cases', import.meta.url));
1818

1919
for (const name of bindingsCases) {
20-
test.concurrent(name, async () => {
20+
test(name, async () => {
2121
const source = await readFile(
2222
new URL(`./cases/${name}/source.js`, import.meta.url),
2323
'utf8',

test/builtins.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ suite('Builtins', async () => {
1919

2020
for (const filename of builtins) {
2121
const name = filename.slice(0, -3);
22-
test.concurrent(name, async () => {
22+
test(name, async () => {
2323
const {
2424
source,
2525
test: runTest,

test/vitest.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { availableParallelism } from 'node:os';
22

33
import { defineConfig } from 'vitest/config';
44

5-
const DEFAULT_TIMEOUT_MS = process.env.CI ? 240_000 : 120_000;
5+
const DEFAULT_TIMEOUT_MS = 120_000;
66

77
const REPORTERS = process.env.GITHUB_ACTIONS
88
? ['verbose', 'github-actions']

0 commit comments

Comments
 (0)