Skip to content

Commit 4e9b2a5

Browse files
refactor(tests): re-add concurrency
1 parent 390fad4 commit 4e9b2a5

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

.github/workflows/main.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,6 @@ jobs:
192192
run: npm install
193193

194194
- name: Test
195-
# run: npm run test:${{matrix.build-type}} -- --maxWorkers 4 --minWorkers 2 --maxConcurrency 2
196195
run: npm run test:${{matrix.build-type}}
197196

198197
test-example:

test/bindings.js

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

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

test/builtins.js

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

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

0 commit comments

Comments
 (0)