Skip to content

Conversation

@GraemeF
Copy link
Contributor

@GraemeF GraemeF commented Jan 7, 2026

Ticket: PAE-799

Summary

  • Moved src/routes/v1/apply/test-fixtures.js to .vite/fixtures/server-with-mock-db.js
  • Updated imports in 3 test files that use the fixture

Context

The test fixture was incorrectly located in the production src/ folder. Test fixtures belong in .vite/fixtures/ alongside other shared fixtures like mongo.js and cdp-uploader.js.

The test-fixtures.js file was incorrectly located in the production
src/ folder, causing Knip to report it as "included" in production code.

Moved to .vite/fixtures/server-with-mock-db.js alongside other shared
test fixtures. Updated imports in the three test files that use it.
@GraemeF GraemeF marked this pull request as ready for review January 8, 2026 09:33
@GraemeF GraemeF enabled auto-merge (squash) January 8, 2026 09:34
@sonarqubecloud
Copy link

sonarqubecloud bot commented Jan 8, 2026

@GraemeF GraemeF merged commit 70fc786 into main Jan 8, 2026
6 checks passed
@GraemeF GraemeF deleted the PAE-799-move-test-fixture-to-vite-fixtures branch January 8, 2026 10:36
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.

3 participants