Chore/unit test (#538)

* chore: add unit test

* chore: add github action for unit test
This commit is contained in:
zuomeng wang
2022-11-29 18:15:43 +00:00
committed by GitHub
parent 5eb7830c13
commit f10237d207
7 changed files with 1915 additions and 78 deletions

View File

@@ -8,15 +8,20 @@
"export": "pnpm --filter @pathfinder/app export",
"start": "pnpm --filter @pathfinder/app start",
"lint": "pnpm --filter @pathfinder/app lint",
"test:e2e": "playwright test"
"test:e2e": "playwright test",
"test:unit": "jest"
},
"devDependencies": {
"@jest/globals": "^29.3.1",
"@playwright/test": "^1.28.1",
"@types/node": "18.7.18",
"eslint": "8.22.0",
"eslint-config-next": "12.3.1",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-prettier": "^4.2.1",
"prettier": "^2.7.1"
"jest": "^29.3.1",
"prettier": "^2.7.1",
"ts-jest": "^29.0.3",
"typescript": "^4.9.3"
}
}