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'
|
||||
|
||||
@ -12,10 +12,16 @@ export default mergeConfig(
|
||||
coverage: {
|
||||
all: true,
|
||||
include: ['src/**/*.{js,jsx,ts,tsx,vue}'],
|
||||
lines: 1,
|
||||
functions: 0,
|
||||
branches: 4,
|
||||
statements: 1,
|
||||
exclude: [
|
||||
...configDefaults.exclude,
|
||||
// storybook
|
||||
'**/*{.,-}stories.?(c|m)[jt]s?(x)',
|
||||
'src/stories/**/*',
|
||||
],
|
||||
lines: 14,
|
||||
functions: 20,
|
||||
branches: 40,
|
||||
statements: 14,
|
||||
// 100: true,
|
||||
},
|
||||
},
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user