Skip to content

Commit

Permalink
chore: move jsdom AbortSignal test to regressions
Browse files Browse the repository at this point in the history
  • Loading branch information
kettanaito committed Oct 20, 2023
1 parent a2535e6 commit 823bd05
Showing 1 changed file with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
/**
* @jest-environment node
* @jest-environment jsdom
*
* @note In JSDOM, the "AbortSignal" class is polyfilled instead of
* using the Node.js global. Because of that, its instances won't
* pass the instance check of "require('event').setMaxListeners"
* (that's based on the internal Node.js symbol), resulting in
* an exception.
* @see https://github.com/mswjs/msw/pull/1779
*/
import { graphql, http, HttpResponse } from 'msw'
import { setupServer } from 'msw/node'
Expand Down

0 comments on commit 823bd05

Please sign in to comment.