feat: support cross-process interception via setupRemoteServer
#2075
ci.yml
on: pull_request
build (18)
54s
build (20)
39s
test (unit) (18)
59s
test (node.js) (18)
38s
test (e2e) (18)
45s
test (browser)
6m 9s
test (react-native)
19s
test (node.js) (20)
43s
Annotations
8 errors
test/node/msw-api/setup-remote-server/life-cycle-event-forwarding.node.test.ts > emits correct events for the request handled in the test process:
test/node/msw-api/setup-remote-server/life-cycle-event-forwarding.node.test.ts#L92
Error: Cannot find module '../use.app.js'
Require stack:
- /Users/runner/work/msw/msw/test/node/msw-api/setup-remote-server/life-cycle-event-forwarding.node.test.ts
❯ test/node/msw-api/setup-remote-server/life-cycle-event-forwarding.node.test.ts:92:54
❯ src/node/SetupServerApi.ts:273:36
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 'MODULE_NOT_FOUND', requireStack: [ '/Users/runner/work/msw/msw/test/node/msw-api/setup-remote-server/life-cycle-event-forwarding.node.test.ts' ] }
|
test/node/msw-api/setup-remote-server/life-cycle-event-forwarding.node.test.ts > emits correct events for the request handled in the remote process:
test/node/msw-api/setup-remote-server/life-cycle-event-forwarding.node.test.ts#L120
Error: Cannot find module '../use.app.js'
Require stack:
- /Users/runner/work/msw/msw/test/node/msw-api/setup-remote-server/life-cycle-event-forwarding.node.test.ts
❯ test/node/msw-api/setup-remote-server/life-cycle-event-forwarding.node.test.ts:120:54
❯ src/node/SetupServerApi.ts:273:36
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 'MODULE_NOT_FOUND', requireStack: [ '/Users/runner/work/msw/msw/test/node/msw-api/setup-remote-server/life-cycle-event-forwarding.node.test.ts' ] }
|
test/node/msw-api/setup-remote-server/life-cycle-event-forwarding.node.test.ts > emits correct events for the request unhandled by either parties:
test/node/msw-api/setup-remote-server/life-cycle-event-forwarding.node.test.ts#L146
Error: Cannot find module '../use.app.js'
Require stack:
- /Users/runner/work/msw/msw/test/node/msw-api/setup-remote-server/life-cycle-event-forwarding.node.test.ts
❯ test/node/msw-api/setup-remote-server/life-cycle-event-forwarding.node.test.ts:146:54
❯ src/node/SetupServerApi.ts:273:36
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 'MODULE_NOT_FOUND', requireStack: [ '/Users/runner/work/msw/msw/test/node/msw-api/setup-remote-server/life-cycle-event-forwarding.node.test.ts' ] }
|
test (node.js) (20)
Process completed with exit code 1.
|
test/node/msw-api/setup-remote-server/life-cycle-event-forwarding.node.test.ts > emits correct events for the request handled in the test process:
test/node/msw-api/setup-remote-server/life-cycle-event-forwarding.node.test.ts#L92
Error: Cannot find module '../use.app.js'
Require stack:
- /Users/runner/work/msw/msw/test/node/msw-api/setup-remote-server/life-cycle-event-forwarding.node.test.ts
❯ test/node/msw-api/setup-remote-server/life-cycle-event-forwarding.node.test.ts:92:54
❯ src/node/SetupServerApi.ts:273:36
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 'MODULE_NOT_FOUND', requireStack: [ '/Users/runner/work/msw/msw/test/node/msw-api/setup-remote-server/life-cycle-event-forwarding.node.test.ts' ] }
|
test/node/msw-api/setup-remote-server/life-cycle-event-forwarding.node.test.ts > emits correct events for the request handled in the remote process:
test/node/msw-api/setup-remote-server/life-cycle-event-forwarding.node.test.ts#L120
Error: Cannot find module '../use.app.js'
Require stack:
- /Users/runner/work/msw/msw/test/node/msw-api/setup-remote-server/life-cycle-event-forwarding.node.test.ts
❯ test/node/msw-api/setup-remote-server/life-cycle-event-forwarding.node.test.ts:120:54
❯ src/node/SetupServerApi.ts:273:36
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 'MODULE_NOT_FOUND', requireStack: [ '/Users/runner/work/msw/msw/test/node/msw-api/setup-remote-server/life-cycle-event-forwarding.node.test.ts' ] }
|
test/node/msw-api/setup-remote-server/life-cycle-event-forwarding.node.test.ts > emits correct events for the request unhandled by either parties:
test/node/msw-api/setup-remote-server/life-cycle-event-forwarding.node.test.ts#L146
Error: Cannot find module '../use.app.js'
Require stack:
- /Users/runner/work/msw/msw/test/node/msw-api/setup-remote-server/life-cycle-event-forwarding.node.test.ts
❯ test/node/msw-api/setup-remote-server/life-cycle-event-forwarding.node.test.ts:146:54
❯ src/node/SetupServerApi.ts:273:36
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 'MODULE_NOT_FOUND', requireStack: [ '/Users/runner/work/msw/msw/test/node/msw-api/setup-remote-server/life-cycle-event-forwarding.node.test.ts' ] }
|
test (node.js) (18)
Process completed with exit code 1.
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
playwright-report
|
52.3 KB |
|