mirror of
https://github.com/IT4Change/boilerplate-frontend.git
synced 2025-12-13 07:35:53 +00:00
adjust vitest.config
This commit is contained in:
parent
3137e770fe
commit
8db7686c19
@ -1,4 +1,4 @@
|
|||||||
import { defineConfig, mergeConfig } from 'vitest/config'
|
import { defineConfig, mergeConfig, configDefaults } from 'vitest/config'
|
||||||
|
|
||||||
import viteConfig from './vite.config'
|
import viteConfig from './vite.config'
|
||||||
|
|
||||||
@ -12,10 +12,16 @@ export default mergeConfig(
|
|||||||
coverage: {
|
coverage: {
|
||||||
all: true,
|
all: true,
|
||||||
include: ['src/**/*.{js,jsx,ts,tsx,vue}'],
|
include: ['src/**/*.{js,jsx,ts,tsx,vue}'],
|
||||||
lines: 1,
|
exclude: [
|
||||||
functions: 0,
|
...configDefaults.exclude,
|
||||||
branches: 4,
|
// storybook
|
||||||
statements: 1,
|
'**/*{.,-}stories.?(c|m)[jt]s?(x)',
|
||||||
|
'src/stories/**/*',
|
||||||
|
],
|
||||||
|
lines: 14,
|
||||||
|
functions: 20,
|
||||||
|
branches: 40,
|
||||||
|
statements: 14,
|
||||||
// 100: true,
|
// 100: true,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user