feat(MED-161): add jest for service tests
This commit is contained in:
@@ -16,6 +16,10 @@
|
||||
"start": "next start",
|
||||
"start:test": "NODE_ENV=test next start",
|
||||
"typecheck": "tsc --noEmit",
|
||||
"test": "jest",
|
||||
"test:watch": "jest --watch",
|
||||
"test:coverage": "jest --coverage",
|
||||
"test:ci": "jest --ci --coverage --watchAll=false",
|
||||
"supabase": "supabase",
|
||||
"supabase:start": "supabase status || supabase start",
|
||||
"supabase:stop": "supabase stop",
|
||||
@@ -88,6 +92,7 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@hookform/resolvers": "^5.0.1",
|
||||
"@jest/globals": "^30.1.2",
|
||||
"@kit/eslint-config": "workspace:*",
|
||||
"@kit/prettier-config": "workspace:*",
|
||||
"@kit/tsconfig": "workspace:*",
|
||||
@@ -95,6 +100,7 @@
|
||||
"@medusajs/ui-preset": "latest",
|
||||
"@next/bundle-analyzer": "15.3.2",
|
||||
"@tailwindcss/postcss": "^4.1.10",
|
||||
"@types/jest": "^30.0.0",
|
||||
"@types/jsonwebtoken": "9.0.10",
|
||||
"@types/lodash": "^4.17.17",
|
||||
"@types/node": "^22.15.32",
|
||||
@@ -103,11 +109,14 @@
|
||||
"babel-plugin-react-compiler": "19.1.0-rc.2",
|
||||
"cssnano": "^7.0.7",
|
||||
"dotenv": "^16.5.0",
|
||||
"jest": "^30.1.3",
|
||||
"jest-environment-node": "^30.1.2",
|
||||
"pino-pretty": "13.0.0",
|
||||
"prettier": "^3.5.3",
|
||||
"supabase": "^2.30.4",
|
||||
"tailwindcss": "4.1.7",
|
||||
"tailwindcss-animate": "^1.0.7",
|
||||
"ts-jest": "^29.4.2",
|
||||
"typescript": "^5.8.3",
|
||||
"yup": "^1.6.1"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user