81 Commits
Author SHA1 Message Date
Artem Zakharchenko bbafd21dae test(finalize): use expect.poll vs waitFor 2026-07-07 21:29:32 +02:00
Artem ZakharchenkoandGitHub f97f3bc4ca feat(sse): invoke finalize on response stream end (#2741) 2026-07-07 21:23:58 +02:00
Artem ZakharchenkoandGitHub f8cc0fe585 chore: pin github actions to commit sha, update pnpm (#2761) 2026-07-07 13:17:26 +02:00
Artem ZakharchenkoandGitHub 614d581281 chore: remove miniflare dependency and tests (#2744) 2026-05-12 14:31:45 +02:00
Artem ZakharchenkoandGitHub 8c7851bae2 fix: add finalize API for handler cleanup (#2738) 2026-05-07 13:55:39 +02:00
Artem ZakharchenkoandGitHub 2d1b524ac0 feat: support ws.onUpgrade for handling connection upgrades (#2732) 2026-04-29 16:07:45 +02:00
Artem ZakharchenkoandGitHub 76f877de45 fix: reset generator state on .resetHandlers()/.restoreHandlers() (#2725) 2026-04-22 12:02:56 +02:00
a16bdbb1a7 fix: use verbatimModuleSyntax consistently in exports (#2702)
Co-authored-by: Artem Zakharchenko <[email protected]>
2026-04-16 17:50:30 +02:00
Artem ZakharchenkoandGitHub f125c652af fix: update dependencies (#2719) 2026-04-16 17:33:17 +02:00
3045e84a06 feat: use the network source architecture (defineNetwork) (#2650)
Co-authored-by: Felmon Fekadu <[email protected]>
Co-authored-by: Felmon Fekadu <[email protected]>
2026-04-06 14:29:03 +02:00
8d9482ccf7 fix(GraphQL): support application/graphql-response+json response content-type (#2513)
Co-authored-by: Artem Zakharchenko <[email protected]>
2026-03-17 12:03:25 +01:00
dbf5d7a27d fix(node): avoid open handles for infinite delays (#2669)
Co-authored-by: Felmon Fekadu <[email protected]>
Co-authored-by: Artem Zakharchenko <[email protected]>
2026-03-15 16:02:24 +01:00
053e9a9234 test: add axios timeout regression tests (#2662)
Co-authored-by: Artem Zakharchenko <[email protected]>
2026-02-11 17:36:09 +01:00
Artem ZakharchenkoandGitHub e4be8add99 fix(ws): support relative urls in ws.link (#2661) 2026-02-06 15:48:32 +01:00
Artem ZakharchenkoandGitHub a8fc21632c test(ws): add unhandled exceptions test (#2656) 2026-02-02 12:06:37 +01:00
Artem ZakharchenkoandGitHub f8866c181c fix(graphql): support TypedDocumentString as request predicate (#2646) 2025-12-27 19:43:16 +01:00
Artem ZakharchenkoandGitHub 03adcad4d3 fix(graphql): remove redundant DocumentNode union (#2645) 2025-12-27 16:32:26 +01:00
1809bf7a13 feat: support server-sent events (SSE) (#2299)
Co-authored-by: Mateusz BurzyÅ„ski <[email protected]>
2025-11-05 13:45:06 +01:00
Artem ZakharchenkoandGitHub 797d916238 fix: use cookie directly via a shim (#2606) 2025-10-08 16:48:41 +02:00
Artem Zakharchenko 7514030949 test: fix body-stream test rough performance equal 2025-09-20 13:42:31 +02:00
Noritaka KobayashiandGitHub f4af59a3d2 refactor: remove unused import & imported multiple times (#2576) 2025-08-31 12:21:31 +02:00
0231570475 chore: fix typos (#2574)
Co-authored-by: Artem Zakharchenko <[email protected]>
2025-08-30 22:33:51 +02:00
Artem ZakharchenkoandGitHub 35504f51bc fix(HttpResponse): infer provided body type for HttpResponse.arrayBuffer (#2575) 2025-08-30 22:32:34 +02:00
5996eca1b7 feat: custom request predicate function (#2541)
Co-authored-by: Artem Zakharchenko <[email protected]>
2025-08-30 11:48:08 +02:00
Artem ZakharchenkoandGitHub 3f26970e0f fix: update @mswjs/interceptors to support WebSocket server protocol (#2528) 2025-06-07 12:04:58 +02:00
Artem ZakharchenkoandGitHub 2a31055440 feat(WebSocketHandler): add run method (#2527) 2025-06-06 18:08:08 +02:00
Artem ZakharchenkoandGitHub cbbb126876 feat: send request reference within the RESPONSE event (#2510) 2025-06-02 20:57:21 +02:00
Artem ZakharchenkoandGitHub a316f92caf fix: update links to the documentation (#2519) 2025-05-31 13:35:45 +02:00
Artem ZakharchenkoandGitHub 385e99337d fix: update @mswjs/interceptors to 0.38.7 (#2508) 2025-05-27 18:21:10 +02:00
37d96f55ab feat: migrate to ESM internally, remain CJS-first (#2490)
Co-authored-by: Mateusz BurzyÅ„ski <[email protected]>
2025-05-08 19:05:47 +02:00
b678b44033 feat(SetupServerApi): allow using custom interceptors (#2464)
Co-authored-by: Artem Zakharchenko <[email protected]>
2025-05-08 18:56:29 +02:00
Artem ZakharchenkoandGitHub 5299495f83 fix: do not treat static asset requests as unhandled by default (#2440) 2025-02-24 14:23:45 +01:00
Artem ZakharchenkoandGitHub 78ce686355 chore: pack/build before all e2e tests (#2395) 2024-12-15 18:39:09 +01:00
Artem ZakharchenkoandGitHub fe4c44cff9 chore: split build into standalone jobs (#2386) 2024-12-15 11:29:46 +01:00
Artem ZakharchenkoandGitHub 2450528274 fix(setupServer): reapply interception after calling server.listen() after server.close() (#2383) 2024-12-06 13:57:14 +01:00
Artem ZakharchenkoandGitHub 40516279c6 chore: update to vitest@2 (#2379) 2024-12-05 08:28:15 +01:00
Artem ZakharchenkoandGitHub 34c3e2b68b fix: prevent infinite loop when bypassing sendBeacon() requests (#2353) 2024-11-10 22:07:07 +01:00
Artem ZakharchenkoandGitHub 44f5b7209c fix: update @bundled-es-modules/cookie to 2.0.1 (#2312) 2024-11-07 13:24:15 +01:00
49493abb27 feat: support mocking WebSocket APIs (#2011)
Co-authored-by: Daniëlle Huisman <[email protected]>
2024-10-29 12:16:24 +01:00
55802090b4 fix(cli): support windows paths in the init command (#2260)
Co-authored-by: Artem Zakharchenko <[email protected]>
2024-09-04 11:18:06 +02:00
3d16733b00 feat: add HttpResponse.html() static method (#2140)
Co-authored-by: Artem Zakharchenko <[email protected]>
2024-08-28 18:35:21 +02:00
fc7b67e080 feat: print request body in onUnhandledRequest message (#2227)
Co-authored-by: Artem Zakharchenko <[email protected]>
2024-08-28 18:19:47 +02:00
Artem ZakharchenkoandGitHub e5f3d7af2f fix(HttpResponse): skip setting "Content-Length" if it is already set (#2228) 2024-08-01 14:25:46 +02:00
Artem ZakharchenkoandGitHub 2d78e62690 fix: implement cookie persistence using tough-cookie (#2206) 2024-07-23 15:54:46 +02:00
82fc654a4a fix: support async generators as response resolvers (#2108)
Co-authored-by: Jake Bailey <[email protected]>
2024-07-23 15:31:54 +02:00
Kai SpencerandGitHub 48f4944952 chore: update vitest configuration to ESM (#2189) 2024-07-02 16:08:33 +02:00
f48f58f241 fix: preserve trailing optional path parameters (#2169)
Co-authored-by: Kai Spencer <[email protected]>
2024-06-01 11:16:09 +02:00
Artem ZakharchenkoandGitHub 636dd50101 test: add .use() replacement regression tests (#2145) 2024-05-08 17:15:46 +02:00
Artem ZakharchenkoandGitHub aef4856b8d feat: treat unhandled exceptions in handlers as 500 error responses (#2135) 2024-05-08 15:34:54 +02:00
07d0e63413 chore: use vitest for type testing (#2033)
Co-authored-by: Artem Zakharchenko <[email protected]>
2024-03-21 12:39:43 +01:00