Skip to content

fix: resolve failing tests and type errors - #290

Open
stooit wants to merge 1 commit into
mainfrom
quantcode/e2e-tier2-923-1794285405
Open

stooit wants to merge 1 commit into
mainfrom
quantcode/e2e-tier2-923-1794285405

Conversation

@stooit

@stooit stooit commented Nov 10, 2026

Copy link
Copy Markdown
Contributor

Fixes: auth middleware method case (post->POST), missing badRequest import in users route, shared User.userName->username, implemented paginate, tsconfig types: ["bun-types"] (already installed).

Verification: bun test 22 pass / 0 fail; tsc --noEmit clean. No test files modified, no new deps.

Assumptions/follow-ups: auth policy is GET+POST public, mutations need a token (per existing comment). paginate doesn't validate size<=0 / page<1; no tests cover those and nothing outside the tests calls it. Stale BUG comments remain. auth.ts falls back to the token test-token when API_TOKEN is unset, which is worth hardening.

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