clapper / vitest.config.mts
jbilcke-hf's picture
jbilcke-hf HF staff
setup unit and e2e tests
24c6b45
raw
history blame
341 Bytes
import { defineConfig } from 'vitest/config'
import react from '@vitejs/plugin-react'
export default defineConfig({
plugins: [react()],
test: {
environment: 'jsdom',
exclude: [
'**/node_modules/**',
'**/.next/**',
'**/tests/**', // <- we ignore since those are Playwright tests, not Vitest tests
],
}
})