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

IS-2683: Use msw in tests #1469

Merged
merged 1 commit into from
Sep 30, 2024
Merged

IS-2683: Use msw in tests #1469

merged 1 commit into from
Sep 30, 2024

Conversation

andersrognstad
Copy link
Contributor

Setup global mockServer for tests with msw.setupServer() in test setup file. Mock APis in tests using mockServer.use(...handler...) instead of nock and axios-mock-adapter

@andersrognstad andersrognstad merged commit 2750ffa into master Sep 30, 2024
3 checks passed
@andersrognstad andersrognstad deleted the tests-msw branch September 30, 2024 12:41
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