Skip to content

B9: Run backend tests with Vitest and add PR CI - #1

Merged
Filionus merged 3 commits into
mainfrom
feat/b9-test-ci
Nov 26, 2026
Merged

Filionus merged 3 commits into
mainfrom
feat/b9-test-ci

Conversation

@ChargingCrystal

Copy link
Copy Markdown
Owner

Summary

  • Use Vitest as the single npm test runner. The Vitest dev dependency runs both PGlite integration tests and TypeScript unit tests.
  • Apply all numbered migrations in order in PGlite. Cover gallery RLS, partner location reads, and the dashboard's next upcoming planned meeting.
  • Extract distance and midpoint math and cover identical points, antipodal points, and the date line. Route-level tests pin the existing response contract.
  • Run the clean install, tests, and production build on pull requests. Ignore local Claude settings.

Verification

  • Baseline had 1 passing test. Red commit 622f97c produced 4 expected failures.
  • npm ci, npm test (10 passed), and npm run build passed locally.

Frontend impact is limited to shared test tooling. The HTTP API contract is unchanged.

@Filionus
Filionus merged commit b1c4e1c into main Nov 26, 2026
1 check passed
@Filionus
Filionus deleted the feat/b9-test-ci branch November 26, 2026 09:46
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.

2 participants