Skip to content

Commit

Permalink
chore: fix confusing wording in "jest-support"
Browse files Browse the repository at this point in the history
  • Loading branch information
kettanaito committed Oct 30, 2024
1 parent 7268ead commit 6702d77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion decisions/jest-support.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

With the introduction of [Mock Service Worker 2.0](https://mswjs.io/blog/introducing-msw-2.0), the library has made a significant step forward in the effort of embracing and promoting web standards. Since that release, its contributors have reported multiple issues with Node.js simply because MSW exposed developers to using standard Node.js APIs.

Betting and advancing the web standards is one of the goals behind this project. One of such standards is ESM. It's the present and the future of JavaScript, and we are planning on switching to ESM-only in the years to come. For that transition to happen, we need to prioritize and, at times, make hard decisions.
Betting on the web standards is one of the goals behind this project. One of such standards is ESM. It's the present and the future of JavaScript, and we are planning on switching to ESM-only in the years to come. For that transition to happen, we need to prioritize and, at times, make hard decisions.

**MSW offers no official support for Jest.** It doesn't mean MSW cannot be used in Jest. We maintain usage examples of both [Jest](https://github.com/mswjs/examples/tree/main/examples/with-jest) and [Jest+JSDOM](https://github.com/mswjs/examples/tree/main/examples/with-jest-jsdom) to attest to that. Although it's necessary to mention that those examples require additional setup to tackle underlying Jest or JSDOM issues.

Expand Down

0 comments on commit 6702d77

Please sign in to comment.