forked from webdriverio/expect-webdriverio
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvitest.config.ts
36 lines (35 loc) · 898 Bytes
/
vitest.config.ts
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
35
36
/// <reference types="vitest" />
import { defineConfig } from 'vite'
export default defineConfig({
test: {
include: ['test/**/*.test.ts'],
/**
* not to ESM ported packages
*/
exclude: [
'dist', '.idea', '.git', '.cache', 'lib',
'**/node_modules/**'
],
testTimeout: 15 * 1000,
coverage: {
enabled: true,
exclude: [
'**/build/**',
'**/__fixtures__/**',
'**/*.test.ts',
'lib',
'test-types',
'.eslintrc.cjs',
'jasmine.d.ts',
'jest.d.ts',
'types'
],
thresholds: {
lines: 92,
functions: 87,
branches: 91,
statements: 92
}
}
}
})