Skip to content

Commit 745834a

Browse files
committed
Add test deps and Update README
1 parent 1fe656f commit 745834a

File tree

3 files changed

+2046
-41
lines changed

3 files changed

+2046
-41
lines changed

README.md

+3
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,9 @@ docker compose run --rm frontend pnpm install
3030
# Run development server inside docker container
3131
docker compose up
3232

33+
# Run test
34+
docker compose run --rm frontend pnpm tests
35+
3336
# Optionally, execute other commands if necessary
3437
docker compose run --rm frontend <command inside container>
3538
docker compose run --rm frontend pnpm --version

frontend/package.json

+3
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@
4040
"styled-components": "^6.1.1"
4141
},
4242
"devDependencies": {
43+
"@types/jest": "^29.5.12",
4344
"@types/react": "^18.2.41",
4445
"@types/react-calendar-heatmap": "^1.6.6",
4546
"@types/react-dom": "^18.2.15",
@@ -51,6 +52,8 @@
5152
"eslint": "^8.53.0",
5253
"eslint-plugin-react-hooks": "^4.6.0",
5354
"eslint-plugin-react-refresh": "^0.4.4",
55+
"jest": "^29.7.0",
56+
"ts-jest": "^29.1.4",
5457
"typescript": "^5.2.2",
5558
"vite": "^5.0.0",
5659
"vite-plugin-imp": "^2.4.0"

0 commit comments

Comments
 (0)