Add tests

This commit is contained in:
zachd
2025-11-10 00:36:51 +01:00
parent ef6a167431
commit 2b40c2cc88
4 changed files with 1922 additions and 111 deletions

View File

@@ -7,16 +7,21 @@
"build": "vite build",
"preview": "vite preview",
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch"
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",
"test": "vitest run",
"test:watch": "vitest",
"test:ui": "vitest --ui"
},
"devDependencies": {
"@sveltejs/adapter-auto": "^3.0.0",
"@sveltejs/kit": "^2.0.0",
"@sveltejs/vite-plugin-svelte": "^4.0.0",
"@vitest/ui": "^4.0.8",
"svelte": "^5.0.0",
"svelte-check": "^4.0.0",
"typescript": "^5.0.0",
"vite": "^5.0.3"
"vite": "^5.0.3",
"vitest": "^4.0.8"
},
"dependencies": {
"date-holidays": "^3.23.12",