Add unit tests: auth store, API layer (tasks, habits, savings, profile), vitest config
All checks were successful
CI / ci (push) Successful in 33s

This commit is contained in:
Cosmo
2026-03-01 02:33:04 +00:00
parent fd2b4fdff7
commit c9047177ee
6 changed files with 2170 additions and 15 deletions

11
vitest.config.js Normal file
View 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',
},
})