File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -37,6 +37,34 @@ pnpm dev:backend # Backend API on :3000
3737pnpm dev:mobile # React Native app
3838```
3939
40+ ### Running Tests
41+
42+ This project uses ` pnpm ` to run tests across different parts of the codebase.
43+
44+ #### Run all tests
45+ To execute all available tests:
46+ ``` bash
47+ pnpm -r test
48+ ```
49+
50+ #### apps/backend
51+ The backend uses Vitest:
52+ ``` bash
53+ pnpm --filter @devcard/backend test
54+ pnpm --filter @devcard/backend test:watch
55+ ```
56+ #### apps/mobile
57+ The mobile app uses Jest:
58+ ``` bash
59+ pnpm --filter @devcard/mobile test
60+ ```
61+ #### apps/web
62+ Currently, the web app does not define a test script.
63+
64+ #### packages/shared
65+ The shared package does not include test scripts. It only provides linting and type checking.
66+
67+
4068## Project Structure
4169
4270```
You can’t perform that action at this time.
0 commit comments