Skip to content

fix: global dispatcher #32

fix: global dispatcher

fix: global dispatcher #32

Triggered via pull request July 22, 2025 13:48
Status Failure
Total duration 2m 52s
Artifacts

nodejs-3.x.yml

on: pull_request
Node.js  /  Setup
6s
Node.js / Setup
Matrix: Node.js / Test
Fit to window
Zoom out
Zoom in

Annotations

9 errors and 10 notices
Node.js / Test (ubuntu-latest, 22)
Process completed with exit code 1.
test/index.test.ts > index.test.ts > Mocking request > should mocking intercept work with readable: test/index.test.ts#L280
AssertionError: The input did not match the regular expression /mock response stream/. Input: '{"method":"GET","url":"/foo.js","href":"http://localhost:40245/foo.js","headers":{"host":"localhost:40245","connection":"keep-alive","user-agent":"node-urllib/VERSION Node.js/22.17.1 (Linux 6.11; x64)"},"requestBody":""}' - Expected: /mock response stream/ + Received: "{\"method\":\"GET\",\"url\":\"/foo.js\",\"href\":\"http://localhost:40245/foo.js\",\"headers\":{\"host\":\"localhost:40245\",\"connection\":\"keep-alive\",\"user-agent\":\"node-urllib/VERSION Node.js/22.17.1 (Linux 6.11; x64)\"},\"requestBody\":\"\"}" ❯ test/index.test.ts:280:14
test/index.test.ts > index.test.ts > Mocking request > should mocking intercept work: test/index.test.ts#L233
AssertionError: Expected values to be strictly equal: 200 !== 400 - Expected + Received - 400 + 200 ❯ test/index.test.ts:233:14
Node.js / Test (windows-latest, 22)
Process completed with exit code 1.
test/index.test.ts > index.test.ts > Mocking request > should mocking intercept work with readable: test/index.test.ts#L280
AssertionError: The input did not match the regular expression /mock response stream/. Input: '{"method":"GET","url":"/foo.js","href":"http://localhost:52458/foo.js","headers":{"host":"localhost:52458","connection":"keep-alive","user-agent":"node-urllib/VERSION Node.js/22.17.1 (Windows 10; x64)"},"requestBody":""}' - Expected: /mock response stream/ + Received: "{\"method\":\"GET\",\"url\":\"/foo.js\",\"href\":\"http://localhost:52458/foo.js\",\"headers\":{\"host\":\"localhost:52458\",\"connection\":\"keep-alive\",\"user-agent\":\"node-urllib/VERSION Node.js/22.17.1 (Windows 10; x64)\"},\"requestBody\":\"\"}" ❯ test/index.test.ts:280:14
test/index.test.ts > index.test.ts > Mocking request > should mocking intercept work: test/index.test.ts#L233
AssertionError: Expected values to be strictly equal: 200 !== 400 - Expected + Received - 400 + 200 ❯ test/index.test.ts:233:14
Node.js / Test (macos-latest, 22)
Process completed with exit code 1.
test/index.test.ts > index.test.ts > Mocking request > should mocking intercept work with readable: test/index.test.ts#L280
AssertionError: The input did not match the regular expression /mock response stream/. Input: '{"method":"GET","url":"/foo.js","href":"http://localhost:49199/foo.js","headers":{"host":"localhost:49199","connection":"keep-alive","user-agent":"node-urllib/VERSION Node.js/22.17.1 (OS X; arm64)"},"requestBody":""}' - Expected: /mock response stream/ + Received: "{\"method\":\"GET\",\"url\":\"/foo.js\",\"href\":\"http://localhost:49199/foo.js\",\"headers\":{\"host\":\"localhost:49199\",\"connection\":\"keep-alive\",\"user-agent\":\"node-urllib/VERSION Node.js/22.17.1 (OS X; arm64)\"},\"requestBody\":\"\"}" ❯ test/index.test.ts:280:14
test/index.test.ts > index.test.ts > Mocking request > should mocking intercept work: test/index.test.ts#L233
AssertionError: Expected values to be strictly equal: 200 !== 400 - Expected + Received - 400 + 200 ❯ test/index.test.ts:233:14
Node.js / Test (macos-latest, 20)
The macos-latest label will migrate to macOS 15 beginning August 4, 2025. For more information see https://github.com/actions/runner-images/issues/12520
Node.js / Test (macos-latest, 20)
The macos-latest label will migrate to macOS 15 beginning August 4, 2025. For more information see https://github.com/actions/runner-images/issues/12520
Node.js / Test (macos-latest, 22)
The macos-latest label will migrate to macOS 15 beginning August 4, 2025. For more information see https://github.com/actions/runner-images/issues/12520
Node.js / Test (macos-latest, 22)
The macos-latest label will migrate to macOS 15 beginning August 4, 2025. For more information see https://github.com/actions/runner-images/issues/12520
Node.js / Test (macos-latest, 18)
The macos-latest label will migrate to macOS 15 beginning August 4, 2025. For more information see https://github.com/actions/runner-images/issues/12520
Node.js / Test (macos-latest, 18)
The macos-latest label will migrate to macOS 15 beginning August 4, 2025. For more information see https://github.com/actions/runner-images/issues/12520
Node.js / Test (macos-latest, 14.19.3)
The macos-latest label will migrate to macOS 15 beginning August 4, 2025. For more information see https://github.com/actions/runner-images/issues/12520
Node.js / Test (macos-latest, 14.19.3)
The macos-latest label will migrate to macOS 15 beginning August 4, 2025. For more information see https://github.com/actions/runner-images/issues/12520
Node.js / Test (macos-latest, 14)
The macos-latest label will migrate to macOS 15 beginning August 4, 2025. For more information see https://github.com/actions/runner-images/issues/12520
Node.js / Test (macos-latest, 14)
The macos-latest label will migrate to macOS 15 beginning August 4, 2025. For more information see https://github.com/actions/runner-images/issues/12520