Skip to content

TECH: Mock Service Worker (MSW) v2#997

Open
sir-alex wants to merge 1 commit intocheckly:mainfrom
sir-alex:tech/msw
Open

TECH: Mock Service Worker (MSW) v2#997
sir-alex wants to merge 1 commit intocheckly:mainfrom
sir-alex:tech/msw

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