feat: support cross-process interception via setupRemoteServer
#2074
ci.yml
on: pull_request
build (18)
32s
build (20)
44s
test (unit) (18)
54s
test (node.js) (18)
36s
test (e2e) (18)
41s
test (browser)
3m 52s
test (react-native)
22s
test (node.js) (20)
51s
Annotations
10 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) (18)
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) (20)
Process completed with exit code 1.
|
test (browser)
The run was canceled by @github-actions[bot].
|
test (browser)
The operation was canceled.
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
playwright-report
|
65.9 KB |
|