Skip to content

Commit

Permalink
add vitest config
Browse files Browse the repository at this point in the history
  • Loading branch information
tranhl committed Mar 24, 2024
1 parent 3d16345 commit 806cbd9
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions vitest.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
/// <reference types="vitest" />
import { defineConfig } from 'vite'

// eslint-disable-next-line import/no-default-export -- Required by Vitest.
export default defineConfig({
test: {
exclude: [
'**/node_modules/**',
'**/dist/**',
'**/cypress/**',
'**/.{idea,git,cache,output,temp}/**',
'**/{karma,rollup,webpack,vite,vitest,jest,ava,babel,nyc,cypress,tsup,build,eslint,prettier}.config.*',
],
},
})

0 comments on commit 806cbd9

Please sign in to comment.