feat(frontend): Add vitest and test for form diff

This commit is contained in:
2025-12-30 17:24:57 +01:00
parent 551c2b8922
commit 12787d41b5
5 changed files with 1615 additions and 66 deletions

View File

@@ -12,7 +12,8 @@
"type-check": "nuxi typecheck",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"check": "pnpm run lint && pnpm run type-check && pnpm run format",
"test": "vitest run",
"check": "pnpm run lint && pnpm run type-check && pnpm run format && pnpm run test",
"api:generate": "openapi-generator-cli generate -i ../api/legalconsenthub.yml -g typescript-fetch -o .api-client"
},
"dependencies": {
@@ -33,10 +34,14 @@
},
"devDependencies": {
"@nuxt/eslint": "1.1.0",
"@nuxt/test-utils": "^3.21.0",
"@openapitools/openapi-generator-cli": "2.16.3",
"@vue/test-utils": "^2.4.6",
"eslint": "9.20.1",
"happy-dom": "^20.0.11",
"prettier": "3.5.1",
"typescript": "5.7.3",
"vitest": "^4.0.16",
"vue-tsc": "2.2.2"
},
"volta": {