chore: initial commit
This commit is contained in:
commit
03f03f7ad2
39 files changed
+7292
No files matched your search
@@ -0,0 +1,28 @@
|
||||
import react from '@vitejs/plugin-react'
|
||||
import { defineConfig } from 'vitest/config'
|
||||
|
||||
export default defineConfig({
|
||||
plugins: [react()],
|
||||
resolve: {
|
||||
tsconfigPaths: true,
|
||||
},
|
||||
test: {
|
||||
globals: true,
|
||||
environment: 'jsdom',
|
||||
setupFiles: ['./src/test/setup.ts'],
|
||||
include: ['src/**/*.test.{ts,tsx}'],
|
||||
coverage: {
|
||||
provider: 'v8',
|
||||
reporter: ['text', 'html', 'lcov'],
|
||||
include: ['src/**/*.{ts,tsx}'],
|
||||
exclude: [
|
||||
'src/**/*.test.{ts,tsx}',
|
||||
'src/app/layout.tsx',
|
||||
'src/app/manifest.ts',
|
||||
'src/app/sw.ts',
|
||||
'src/app/serwist/**',
|
||||
'src/test/**',
|
||||
],
|
||||
},
|
||||
},
|
||||
})
|
||||
Reference in new issue
Block a user