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

TECH: Mock Service Worker (MSW) v2 #997

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

sir-alex
Copy link

@sir-alex sir-alex commented Dec 7, 2024

Affected Components

  • CLI
  • Create CLI
  • Test
  • Docs
  • Examples
  • Other

New Dependency Submission

"devDependencies": {
   ...
   "msw": "2.6.8",
   ...
}

Basic implementation MSW https://mswjs.io/ for advanced server response mocking.
The current API mocking using Jest's standard mocking functionality can be challenging due to the complexity of the Axios setup. Incorporating advanced server response mocking with MSW will simplify the process and make it more effective for both unit and integration tests.

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