test(frontend): add Vitest unit-test harness with first brand helper

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
Ben Stull
2026-06-03 22:24:46 -07:00
parent 1b011ed483
commit 3a3104f4c6
6 changed files with 2585 additions and 6 deletions
+8 -2
View File
@@ -6,7 +6,9 @@
"scripts": {
"dev": "vite",
"build": "vite build",
"preview": "vite preview"
"preview": "vite preview",
"test": "vitest",
"test:run": "vitest run"
},
"dependencies": {
"@amplitude/unified": "^1.1.9",
@@ -27,9 +29,13 @@
"react-router-dom": "^7.2.0"
},
"devDependencies": {
"@testing-library/jest-dom": "^6.6.0",
"@testing-library/react": "^16.1.0",
"@types/react": "^19.2.14",
"@types/react-dom": "^19.2.3",
"@vitejs/plugin-react": "^6.0.1",
"vite": "^8.0.12"
"jsdom": "^25.0.0",
"vite": "^8.0.12",
"vitest": "^3.0.0"
}
}