Open
Description
Please Add Code Coverage Option Flag In PlaywrightConfig.ts similar to we have in VTest unitesting framework
Example
import { defineConfig } from 'vitest/config'
export default defineConfig({
test: {
globals: true,
environment: 'jsdom',
coverage: {
provider: 'v8', // or 'istanbul'
reporter: ['text', 'json', 'html'],
reportsDirectory: './coverage',
include: ['src/'],
exclude: ['src//*.d.ts', 'src//*.{test,spec}.{ts,tsx}'],**
thresholds: {
lines: 80,
functions: 80,
branches: 70,
statements: 80,
},
},
},
})
Metadata
Metadata
Assignees
Labels
No labels