-
- Downloads
add: testing for client side with Jest
parent
9307ebf8
No related branches found
No related tags found
This diff is collapsed.
... | ... | @@ -7,7 +7,8 @@ |
"dev": "vite", | ||
"build": "tsc && vite build", | ||
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0", | ||
"preview": "vite preview" | ||
"preview": "vite preview", | ||
"test": "jest" | ||
}, | ||
"dependencies": { | ||
"@tanstack/react-query": "^5.17.12", | ||
... | ... | @@ -18,6 +19,8 @@ |
"react-dom": "^18.2.0" | ||
}, | ||
"devDependencies": { | ||
"@testing-library/react": "^14.1.2", | ||
"@types/jest": "^29.5.11", | ||
"@types/react": "^18.2.43", | ||
"@types/react-dom": "^18.2.17", | ||
"@typescript-eslint/eslint-plugin": "^6.14.0", | ||
... | ... | @@ -26,6 +29,8 @@ |
"eslint": "^8.55.0", | ||
"eslint-plugin-react-hooks": "^4.6.0", | ||
"eslint-plugin-react-refresh": "^0.4.5", | ||
"jest": "^29.7.0", | ||
"ts-jest": "^29.1.1", | ||
"typescript": "^5.2.2", | ||
"vite": "^5.0.8" | ||
} | ||
... | ... |
src/tests/app.test.tsx
0 → 100644
Please register or sign in to comment