Skip to content

test(testcases): refactor test data to use centralized mocks#4

Open
Vkamble61 wants to merge 1 commit into
yaswanthveer:mainfrom
Vkamble61:Feature/testcases
Open

test(testcases): refactor test data to use centralized mocks#4
Vkamble61 wants to merge 1 commit into
yaswanthveer:mainfrom
Vkamble61:Feature/testcases

Conversation

@Vkamble61

Copy link
Copy Markdown
Collaborator

This pull request refactors the integration test setup for the /api/data route by centralizing mock data into reusable variables. This improves maintainability and consistency of test data across tests.

Test data management improvements:

  • Replaced inline mock return values for getUser, getLatestAssessment, and getJournals with references to shared mock objects (mockUser, mockAssessment, mockJournal) imported from ../mocks/test-data.

@vercel

vercel Bot commented May 2, 2026

Copy link
Copy Markdown

@Vkamble61 is attempting to deploy a commit to the veer's projects Team on Vercel.

A member of the Team first needs to authorize it.

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