Skip to content

Commit a895410

Browse files
committed
build: run tests in parallel
1 parent 63c17d9 commit a895410

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

web-test-runner.config.mjs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
import { esbuildPlugin } from '@web/dev-server-esbuild';
22
import { playwrightLauncher } from '@web/test-runner-playwright';
33

4+
/** @type {import('@web/test-runner').TestRunnerConfig} */
45
export default {
56
nodeResolve: true,
67
files: 'packages/**/*.test.ts',
78
plugins: [esbuildPlugin({ ts: true, target: 'auto-always' })],
9+
concurrentBrowsers: process.env.CI ? 3 : undefined,
810
browsers: [
911
playwrightLauncher({ product: 'chromium' }),
1012
playwrightLauncher({ product: 'firefox' }),

0 commit comments

Comments
 (0)