Add unit tests: auth store, API layer (tasks, habits, savings, profile), vitest config
All checks were successful
CI / ci (push) Successful in 33s
All checks were successful
CI / ci (push) Successful in 33s
This commit is contained in:
11
vitest.config.js
Normal file
11
vitest.config.js
Normal file
@@ -0,0 +1,11 @@
|
||||
import { defineConfig } from 'vitest/config'
|
||||
import react from '@vitejs/plugin-react'
|
||||
|
||||
export default defineConfig({
|
||||
plugins: [react()],
|
||||
test: {
|
||||
environment: 'jsdom',
|
||||
globals: true,
|
||||
setupFiles: './src/__tests__/setup.js',
|
||||
},
|
||||
})
|
||||
Reference in New Issue
Block a user