feat: support cross-process interception via setupRemoteServer
#2085
Annotations
2 errors
Node.js tests:
test/node/msw-api/setup-remote-server/life-cycle-event-forwarding.node.test.ts#L48
AssertionError: expected [ …(4) ] to deeply equal [ …(4) ]
- Expected
+ Received
Array [
Array [
"[request:start] GET https://example.com/resource ecb30cc9e5f3",
],
Array [
- "[request:match] GET https://example.com/resource ecb30cc9e5f3",
+ "[request:end] GET https://example.com/resource ecb30cc9e5f3",
],
Array [
- "[request:end] GET https://example.com/resource ecb30cc9e5f3",
+ "[request:match] GET https://example.com/resource ecb30cc9e5f3",
],
Array [
"[response:mocked] GET https://example.com/resource ecb30cc9e5f3 200 {\"mocked\":true}",
],
]
❯ test/node/msw-api/setup-remote-server/life-cycle-event-forwarding.node.test.ts:48:35
|
Node.js tests
Process completed with exit code 1.
|
Loading