forked from webdriverio/webdriverio
-
Notifications
You must be signed in to change notification settings - Fork 0
/
vitest.config.mts
34 lines (33 loc) · 943 Bytes
/
vitest.config.mts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
import { defineConfig } from 'vite'
export default defineConfig({
test: {
include: ['packages/**/*.test.ts'],
/**
* not to ESM ported packages
*/
exclude: [
'dist', '.idea', '.git', '.cache',
'**/node_modules/**',
'packages/eslint-plugin-wdio/**/*'
],
coverage: {
enabled: true,
exclude: [
'**/build/**',
'**/cjs/*.js',
'**/*.test.ts',
// we are using e2e tests for ensuring the functionality works
// check out the ./e2e folder
'packages/devtools/src/commands',
'packages/devtools/src/scripts'
],
lines: 93,
functions: 89,
branches: 93,
statements: 93
},
globalSetup: [
'scripts/test/globalSetup.ts'
]
}
})