Skip to content

Commit

Permalink
fix test coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
yannbf committed Aug 29, 2024
1 parent a514938 commit c88ea0d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions vitest.config.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/// <reference types="vitest" />
import { defineConfig } from 'vitest/config'
import { defineConfig, coverageConfigDefaults } from 'vitest/config'
import { mergeConfig } from 'vite'
import { storybookTest } from '@storybook/experimental-addon-vitest/plugin'

Expand Down Expand Up @@ -34,7 +34,7 @@ export default mergeConfig(
coverage: {
provider: 'istanbul',
reporter: ['text', 'html'],
exclude: ['node_modules/', 'storybook.setup.ts', 'src/**/*.stories.*', '.storybook'],
exclude: [...coverageConfigDefaults.exclude, 'storybook.setup.ts', 'src/**/*.stories.*', '.storybook'],
},
},
})
Expand Down

0 comments on commit c88ea0d

Please sign in to comment.