Added tests

This commit is contained in:
Hein
2025-10-15 10:36:18 +02:00
parent 9c11b609dc
commit f058336597
10 changed files with 913 additions and 8 deletions

View File

@@ -8,6 +8,10 @@
"build": "tsc -b && vite build",
"lint": "eslint ./src",
"typecheck": "tsc --noEmit",
"test": "vitest",
"test:run": "vitest run",
"test:coverage": "vitest run --coverage",
"test:ui": "vitest --ui",
"clean": "rm -rf node_modules && rm -rf dist ",
"preview": "vite preview",
"storybook": "storybook dev -p 6006",
@@ -57,6 +61,9 @@
"@changesets/cli": "^2.29.7",
"@eslint/js": "^9.35.0",
"@storybook/react-vite": "^9.1.7",
"@testing-library/jest-dom": "^6.9.1",
"@testing-library/react": "^16.3.0",
"@testing-library/user-event": "^14.6.1",
"@types/node": "^24.4.0",
"@types/react": "^19.1.13",
"@types/react-dom": "^19.1.9",
@@ -70,6 +77,7 @@
"eslint-plugin-storybook": "^9.1.7",
"global": "^4.4.0",
"globals": "^16.4.0",
"jsdom": "^27.0.0",
"prettier": "^3.6.2",
"prettier-eslint": "^16.4.2",
"react-dom": "^19.1.1",
@@ -78,7 +86,8 @@
"typescript-eslint": "^8.43.0",
"vite": "^7.1.5",
"vite-plugin-dts": "^4.5.4",
"vite-tsconfig-paths": "^5.1.4"
"vite-tsconfig-paths": "^5.1.4",
"vitest": "^3.2.4"
},
"peerDependencies": {
"@mantine/core": "^8.3.1",