Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve frontend test mocks #2827

Draft
wants to merge 10 commits into
base: development
Choose a base branch
from

Conversation

anderson-oki
Copy link
Collaborator

@anderson-oki anderson-oki commented Jan 17, 2025

Description

Several tests are trying to hit the API on the frontend for unit or integration tests but the api never runs and several errors are being swallowed and overlooked.

Adding https://mswjs.io/ to properly handle all requests and force failure for future development.

@anderson-oki anderson-oki changed the title feat: add mws setup Improve test mocks Jan 17, 2025
@anderson-oki anderson-oki self-assigned this Jan 17, 2025
@anderson-oki anderson-oki changed the title Improve test mocks Improve frontent test mocks Jan 17, 2025
@anderson-oki anderson-oki changed the title Improve frontent test mocks Improve frontend test mocks Jan 17, 2025
@anderson-oki anderson-oki force-pushed the feature/improve-test-mocks branch 2 times, most recently from 66e8b9a to 6e33a9e Compare January 24, 2025 04:32
@anderson-oki anderson-oki force-pushed the feature/improve-test-mocks branch from 9bcedf6 to c28330c Compare January 27, 2025 00:31
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