Skip to content

Commit

Permalink
chore: fix coverage test fail
Browse files Browse the repository at this point in the history
  • Loading branch information
zcf0508 committed Apr 29, 2024
1 parent 22ca90f commit c4bf159
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions vitest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,13 @@ import { defineConfig } from 'vitest/config';

export default defineConfig({
test: {
include: ['test/**/*.{test,spec}.{js,mjs,cjs,ts,mts,cts,jsx,tsx}'],
alias: {
'@': path.resolve(__dirname, './src'),
},
globals: true,
coverage: {
include: ['src/**/*.{js,mjs,cjs,ts,mts,cts,jsx,tsx}'],
provider: 'istanbul',
reporter: ['text'],
},
Expand Down

0 comments on commit c4bf159

Please sign in to comment.