Skip to content

Commit

Permalink
chore: only include specific test cases
Browse files Browse the repository at this point in the history
  • Loading branch information
JounQin committed Dec 14, 2023
1 parent 21ee166 commit daaacaf
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions vitest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,7 @@ import { defineConfig } from 'vitest/config'

export default defineConfig({
plugins: [
// TODO: report the TypeScript issue
(
autoImport as unknown as typeof import('unplugin-auto-import/vite')['default']
)({
autoImport({
imports: 'vitest',
}),
],
Expand All @@ -17,5 +14,6 @@ export default defineConfig({
reporter: ['lcov', 'json', 'text'],
},
environment: 'jsdom',
include: ['test/*.{test,spec}.?(c|m)[jt]s?(x)'],
},
})

0 comments on commit daaacaf

Please sign in to comment.