test: add vitest and svelte testing library (resolves #13)
Commit / ci (push) Has been cancelled
PullRequest / publish (pull_request) Failing after 1m56s

This commit is contained in:
2026-04-03 13:26:59 +02:00
parent 2e16cf9d51
commit b3087aa9d4
5 changed files with 827 additions and 1 deletions
+7 -1
View File
@@ -10,6 +10,8 @@
"prepare": "husky",
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",
"test": "vitest run",
"test:watch": "vitest",
"format": "prettier --write .",
"lint": "prettier --check . && eslint .",
"db:start": "docker compose up",
@@ -28,6 +30,8 @@
"@sveltejs/kit": "^2.49.0",
"@sveltejs/vite-plugin-svelte": "^6.2.1",
"@tailwindcss/vite": "^4.1.17",
"@testing-library/jest-dom": "^6.9.1",
"@testing-library/svelte": "^5.3.1",
"@tiptap/core": "3.7.2",
"@types/node": "^20.19.25",
"drizzle-kit": "^0.31.7",
@@ -39,6 +43,7 @@
"flowbite-svelte-icons": "^3.0.0",
"globals": "^16.5.0",
"husky": "^9.1.7",
"jsdom": "^29.0.1",
"lowlight": "^3.3.0",
"prettier": "^3.6.2",
"prettier-plugin-svelte": "^3.4.0",
@@ -47,7 +52,8 @@
"tailwindcss": "^4.1.17",
"typescript": "^5.9.3",
"typescript-eslint": "^8.47.0",
"vite": "^7.2.4"
"vite": "^7.2.4",
"vitest": "^4.1.2"
},
"dependencies": {
"@auth/drizzle-adapter": "^1.11.1",