aboutsummaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
authorMax Nanis2025-06-26 16:46:35 +0700
committerMax Nanis2025-06-26 16:46:35 +0700
commit6043bd09c33cc89e39b2ad17ecc5f33eda67f10b (patch)
tree3a8f18371829aeaef8639f85531196b4015e1de1 /package.json
parent80539188ef6814b4202d677d62b761bd5b670574 (diff)
downloadpanel-ui-6043bd09c33cc89e39b2ad17ecc5f33eda67f10b.tar.gz
panel-ui-6043bd09c33cc89e39b2ad17ecc5f33eda67f10b.zip
Basic jest tests working for building on Jenkins
Diffstat (limited to 'package.json')
-rw-r--r--package.json12
1 files changed, 10 insertions, 2 deletions
diff --git a/package.json b/package.json
index 8b704ab..dd0468f 100644
--- a/package.json
+++ b/package.json
@@ -7,7 +7,8 @@
"dev": "vite",
"build": "tsc -b && vite build",
"lint": "eslint .",
- "preview": "vite preview"
+ "preview": "vite preview",
+ "test": "jest"
},
"dependencies": {
"@emotion/react": "^11.14.0",
@@ -52,7 +53,6 @@
"date-fns": "^3.6.0",
"embla-carousel-react": "^8.6.0",
"input-otp": "^1.4.2",
- "jest": "^29.7.0",
"lucide-react": "^0.503.0",
"motion": "^12.12.1",
"next-themes": "^0.4.6",
@@ -75,6 +75,10 @@
"devDependencies": {
"@eslint/js": "^9.17.0",
"@tailwindcss/postcss": "^4.1.10",
+ "@testing-library/dom": "^10.4.0",
+ "@testing-library/jest-dom": "^6.6.3",
+ "@testing-library/react": "^16.3.0",
+ "@types/jest": "^30.0.0",
"@types/node": "^22.14.1",
"@types/react": "^18.3.20",
"@types/react-dom": "^18.3.6",
@@ -86,9 +90,13 @@
"eslint-plugin-react-hooks": "^5.2.0",
"eslint-plugin-react-refresh": "^0.4.20",
"globals": "^15.15.0",
+ "jest": "^29.7.0",
+ "jest-environment-jsdom": "^29.7.0",
"postcss": "^8.5.6",
"tailwindcss": "^4.1.10",
"terser": "^5.43.1",
+ "ts-jest": "^29.4.0",
+ "ts-node": "^10.9.2",
"typescript": "~5.6.2",
"typescript-eslint": "^8.31.0",
"vite": "^6.3.2",