msw 3 setupServer: server.listen({ onUnhandledRequest: 'error' }) is silently ignored, use onUnhandledFrame instead
In msw 3.0.5 pass server.listen({ onUnhandledFrame: 'error' }); the msw 2 option onUnhandledRequest: 'error' is ignored, so an unhandled fetch only logs '[MSW] Warning: intercepted a request without a matching request handler: GET http://api.test/nope' and then goes to the real network (rejected with TypeError 'fetch failed', cause getaddrinfo ENOTFOUND api.test). With onUnhandledFrame: 'error' the log says '[MSW] Error: intercepted a request without ...' and fetch rejects with TypeError 'fetch failed' whose cause is InternalError '[MSW] Cannot bypass a request when using the "error" strategy for the "onUnhandledFrame" option.' Tested with Node 22.23.3, vitest 5.1.0, msw 3.0.5, global fetch, made-up URL http://api.test; the test passed with no error either way.