Skip to content

B: Update docs and add tests - #13

Open
davidpomerenke wants to merge 1 commit into
mainfrom
claude/stoic-feynman-3xg7m8-b
Open

B: Update docs and add tests#13
davidpomerenke wants to merge 1 commit into
mainfrom
claude/stoic-feynman-3xg7m8-b

Conversation

@davidpomerenke

Copy link
Copy Markdown
Contributor

Summary\n\n- README.md completely rewritten to describe the actual app (survey workflow, Python pipeline, all API routes, admin whitelist, full migration order, file structure) — the previous README described the original boilerplate template.\n- docs/TODO.md restructured with clearer bug descriptions and a "Recently Fixed" section.\n- vitest.config.ts added — minimal vitest setup with @/ path alias.\n- src/tests/auth.test.ts — unit tests for verifySession, generateToken, and isAllowedDomain (no DB required; covers tampered signature, expired token, uniqueness).\n- src/tests/get-base-url.test.ts — unit tests for getBaseUrl() under various env and header configurations using mocked next/headers.\n- python/tests/test_metadata_cleaning.py — basic pytest tests for clean_symbol, normalize_text, extract_year_from_symbol; pure-function tests with no DB dependency.\n\n## Test plan\n\n- [ ] npx vitest run — TypeScript tests pass\n- [ ] uv run pytest python/tests/ — Python tests pass\n- [ ] pnpm typecheck — no new TypeScript errors\n- [ ] README renders correctly on GitHub\n\n🤖 Generated with Claude Code


Generated by Claude Code

@vercel

vercel Bot commented Jun 17, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
un80-sg-reports-survey Error Error Jun 17, 2026 6:17am

Request Review

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant