Skip to content

fix(setupServer): reapply interception after calling server.listen() after server.close() #2032

fix(setupServer): reapply interception after calling server.listen() after server.close()

fix(setupServer): reapply interception after calling server.listen() after server.close() #2032

Triggered via pull request December 6, 2024 12:07
Status Failure
Total duration 6m 36s
Artifacts 1

ci.yml

on: pull_request
Matrix: build
test (unit)
45s
test (unit)
test (browser)
5m 6s
test (browser)
test (react-native)
23s
test (react-native)
Matrix: test (node.js)
Fit to window
Zoom out
Zoom in

Annotations

4 errors
test/node/regressions/2370-listen-after-close.test.ts > intercepts a request once `server.listen()` is called after `server.close()`: test/node/regressions/2370-listen-after-close.test.ts#L58
AssertionError: expected 'original' to be 'mocked' // Object.is equality Expected: "mocked" Received: "original" ❯ test/node/regressions/2370-listen-after-close.test.ts:58:5
test (node.js) (18)
Process completed with exit code 1.
test/node/regressions/2370-listen-after-close.test.ts > intercepts a request once `server.listen()` is called after `server.close()`: test/node/regressions/2370-listen-after-close.test.ts#L58
AssertionError: expected 'original' to be 'mocked' // Object.is equality Expected: "mocked" Received: "original" ❯ test/node/regressions/2370-listen-after-close.test.ts:58:5
test (node.js) (20)
Process completed with exit code 1.

Artifacts

Produced during runtime
Name Size
playwright-report
52.4 KB