mirror of
https://github.com/jlengrand/open-wc.git
synced 2026-03-10 08:31:19 +00:00
28 lines
677 B
JavaScript
28 lines
677 B
JavaScript
// eslint-disable-next-line import/no-extraneous-dependencies
|
|
import { playwrightLauncher } from '@web/test-runner-playwright';
|
|
|
|
export default {
|
|
files: `packages/*/test-web/*.test.(js|html)`,
|
|
nodeResolve: true,
|
|
concurrency: 10,
|
|
browsers: [
|
|
playwrightLauncher({ product: 'firefox', concurrency: 1 }),
|
|
playwrightLauncher({ product: 'chromium' }),
|
|
playwrightLauncher({ product: 'webkit' }),
|
|
],
|
|
coverage: true,
|
|
coverageConfig: {
|
|
exclude: [
|
|
'packages/testing/import-wrappers/**/*'
|
|
],
|
|
report: true,
|
|
reportDir: 'coverage',
|
|
threshold: {
|
|
statements: 80,
|
|
branches: 60,
|
|
functions: 70,
|
|
lines: 80,
|
|
}
|
|
},
|
|
};
|