You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In environments like miniflare, Request.type is defined as a getter that throws.
We should write some tests to ensure that interceptors can work in miniflare (jest/vitest environment miniflare should support us here) and update to check something else or ignore this check entirely if the property access throws an error (like miniflare's does)
interceptors/src/interceptors/fetch/index.ts
Line 106 in 3258f5c
In environments like miniflare,
Request.type
is defined as a getter that throws.We should write some tests to ensure that interceptors can work in miniflare (jest/vitest environment miniflare should support us here) and update to check something else or ignore this check entirely if the property access throws an error (like miniflare's does)
related to mswjs/msw#1834
The text was updated successfully, but these errors were encountered: