Closed fhennig closed 3 weeks ago
resolves #3043
Bump to latest MSW version. Switch from jsdom to happy-dom.
jsdom
happy-dom
We encountered a problem with the tests. An MSW maintainer helpfully investigated, and suggested to switch to happy-dom for the tests (https://github.com/mswjs/msw/issues/2273#issuecomment-2351508014) . I am doing this in this PR, and the tests work.
happy-dom is also faster than jsdom and we managed to get rid of a few workarounds that were needed with jsdom!
oops, sorry for merging main and not rebasing
I removed jsdom and also 2 workarounds are not needed anymore, and I noticed that happy-dom is way faster at test execution! 🥳
resolves #3043
Summary
Bump to latest MSW version. Switch from
jsdom
tohappy-dom
.We encountered a problem with the tests. An MSW maintainer helpfully investigated, and suggested to switch to
happy-dom
for the tests (https://github.com/mswjs/msw/issues/2273#issuecomment-2351508014) . I am doing this in this PR, and the tests work.happy-dom
is also faster thanjsdom
and we managed to get rid of a few workarounds that were needed withjsdom
!Screenshot
PR Checklist