DocFast session 92: test infra fixed, 42/42 passing
This commit is contained in:
parent
de1e1ed33e
commit
3df074517c
1 changed files with 11 additions and 1 deletions
|
|
@ -18,7 +18,17 @@
|
||||||
4. Key recovery? ✅ Works
|
4. Key recovery? ✅ Works
|
||||||
5. Website features work? ✅ All pages 200, all links valid
|
5. Website features work? ✅ All pages 200, all links valid
|
||||||
- **Budget:** €181.71 remaining, Revenue: €9
|
- **Budget:** €181.71 remaining, Revenue: €9
|
||||||
- **Pending:** Test infra fix in progress, prod tag for v0.5.1, SDK tokens, GSC verification
|
- **Pending:** Prod tag for v0.5.1, SDK tokens, GSC verification
|
||||||
|
- **UPDATE 07:07 UTC:** Test infra sub-agent completed ✅
|
||||||
|
- Commit b95994c pushed to main
|
||||||
|
- `src/index.ts`: `start()` gated by `NODE_ENV !== 'test'`
|
||||||
|
- `src/__tests__/setup.ts`: Mocks DB, keys, browser, verification, email, usage
|
||||||
|
- `vitest.config.ts`: Points to setup file
|
||||||
|
- `.forgejo/workflows/deploy.yml`: Added Node.js + `npm ci` + `npm test` before Docker build
|
||||||
|
- New tests: signup 410, recovery validation, CORS headers, error format, rate limit headers, demo validation
|
||||||
|
- **42 tests, all passing in 1.8s** (up from 3 working out of 27)
|
||||||
|
- Verified locally: all green, no DB/Chrome needed
|
||||||
|
- CI will now block deploys if tests fail
|
||||||
|
|
||||||
## Session 1 — 2026-02-14 12:16 UTC
|
## Session 1 — 2026-02-14 12:16 UTC
|
||||||
- Phase 0: Business Model Discovery
|
- Phase 0: Business Model Discovery
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue