Skip to content

Commit 4c212a8

Browse files
committed
remove playwright from vitest
1 parent 837241a commit 4c212a8

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

vite.config.js

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,18 @@ export default defineConfig({
1818
__GIT_SHA__: JSON.stringify(execSync('git rev-parse HEAD').toString()),
1919
__GIT_TAG__: JSON.stringify(execSync('git describe --tags --exact-match 2>/dev/null || true').toString()),
2020
},
21+
test: {
22+
exclude: ['**/playwright/**', '**/node_modules/**', '**/dist/**'],
23+
coverage: {
24+
provider: 'v8',
25+
reporter: ['text', 'json', 'html'],
26+
exclude: [
27+
'**/playwright/**',
28+
'**/node_modules/**',
29+
'**/dist/**',
30+
'**/*.test.*',
31+
'**/*.spec.*'
32+
]
33+
}
34+
},
2135
});

0 commit comments

Comments
 (0)