Add unit tests for API client, stores, and utils

This commit is contained in:
2026-01-28 17:49:21 +00:00
parent ad1b316d4f
commit ff70948a54
9 changed files with 896 additions and 4 deletions

View File

@@ -1,3 +1,4 @@
/// <reference types="vitest" />
import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'
import tailwindcss from '@tailwindcss/vite'
@@ -20,4 +21,9 @@ export default defineConfig({
},
},
},
test: {
globals: true,
environment: 'jsdom',
setupFiles: ['./src/test/setup.ts'],
},
})