test: vitest fürs frontend

- Clip-Store: Versionsschutz, Sortierung, Reset, 409 als ClipConflictError
- Sync-Store: Verbindungsaufbau, Ereignisse, Backoff, 4401, Watchdog, stop
- Formatierung: Geräteerkennung aus dem User-Agent, Datumsformat

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
dbildhauerandClaude Opus 5.5 committed 2026-10-25 11:42:18 +01:00
1 parent 4c5d910f54
commit 998e86c84f
6 files changed
+1099 -1

No files matched your search

+5
View File
@@ -1,3 +1,4 @@
/// <reference types="vitest/config" />
import { fileURLToPath, URL } from 'node:url'
import vue from '@vitejs/plugin-vue'
@@ -8,6 +9,10 @@ export default defineConfig({
resolve: {
alias: { '@': fileURLToPath(new URL('./src', import.meta.url)) },
},
test: {
environment: 'jsdom',
include: ['src/**/*.test.ts'],
},
server: {
// Dev server forwards API calls to a locally running backend
proxy: { '/api': 'http://localhost:8000' },