mirror of
https://github.com/samsonjs/vibetunnel.git
synced 2026-03-29 10:05:53 +00:00
26 lines
No EOL
540 B
JavaScript
26 lines
No EOL
540 B
JavaScript
import { playwrightLauncher } from '@web/test-runner-playwright';
|
|
|
|
export default {
|
|
files: 'src/**/*.test.ts',
|
|
nodeResolve: true,
|
|
browsers: [
|
|
playwrightLauncher({ product: 'chromium' }),
|
|
playwrightLauncher({ product: 'webkit' }),
|
|
],
|
|
coverageConfig: {
|
|
include: ['src/**/*.ts'],
|
|
exclude: ['src/**/*.test.ts', 'src/**/*.d.ts'],
|
|
threshold: {
|
|
statements: 80,
|
|
branches: 70,
|
|
functions: 80,
|
|
lines: 80
|
|
}
|
|
},
|
|
testFramework: {
|
|
config: {
|
|
ui: 'bdd',
|
|
timeout: 5000
|
|
}
|
|
}
|
|
}; |