You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`npm run dev`| Start dev server with mocks (port 3000) |
8
+
|`npm test`| Run Vitest unit tests |
9
+
|`npm run test:e2e:run`| Run Playwright e2e tests |
10
+
|`npm run lint`| ESLint |
11
+
|`npm run typecheck`| TypeScript type checking |
12
+
|`npm run validate`| Run all checks (tests, lint, typecheck, e2e) |
13
+
14
+
## Development Mode
15
+
16
+
Dev server runs with `MOCKS=true` which enables MSW mock server. No external services (Twilio, Stripe) needed for local development.
17
+
18
+
## Mock Services
19
+
20
+
When testing SMS flows, mock verification codes are stored in `/workspace/tests/fixtures/texts/`. Read the most recent JSON file to find verification codes.
21
+
22
+
## Database
23
+
24
+
SQLite database at `./prisma/sqlite.db`. Use `npx prisma studio` to browse data.
25
+
26
+
## Testing
27
+
28
+
- Unit tests: Vitest with browser testing via Playwright
0 commit comments