Skip to content

fix: global dispatcher #19

fix: global dispatcher

fix: global dispatcher #19

Triggered via pull request July 22, 2025 04:17
Status Failure
Total duration 2m 40s
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

34 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:34183/foo.js","headers":{"host":"localhost:34183","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:34183/foo.js\",\"headers\":{\"host\":\"localhost:34183\",\"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 (ubuntu-latest, 18)
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:33659/foo.js","headers":{"host":"localhost:33659","connection":"keep-alive","user-agent":"node-urllib/VERSION Node.js/18.20.8 (Linux 6.11; x64)"},"requestBody":""}' - Expected: /mock response stream/ + Received: "{\"method\":\"GET\",\"url\":\"/foo.js\",\"href\":\"http://localhost:33659/foo.js\",\"headers\":{\"host\":\"localhost:33659\",\"connection\":\"keep-alive\",\"user-agent\":\"node-urllib/VERSION Node.js/18.20.8 (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 (ubuntu-latest, 20)
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:45157/foo.js","headers":{"host":"localhost:45157","connection":"keep-alive","user-agent":"node-urllib/VERSION Node.js/20.19.4 (Linux 6.11; x64)"},"requestBody":""}' - Expected: /mock response stream/ + Received: "{\"method\":\"GET\",\"url\":\"/foo.js\",\"href\":\"http://localhost:45157/foo.js\",\"headers\":{\"host\":\"localhost:45157\",\"connection\":\"keep-alive\",\"user-agent\":\"node-urllib/VERSION Node.js/20.19.4 (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 (ubuntu-latest, 14.19.3)
Process completed with exit code 1.
Node.js / Test (ubuntu-latest, 14)
Process completed with exit code 1.
Node.js / Test (macos-latest, 22)
Process completed with exit code 1.
test/keep-alive-header.test.ts > keep-alive-header.test.ts > should handle Keep-Alive header and not throw reset error on 1s keepalive agent: test/keep-alive-header.test.ts#L38
AssertionError: Expected values to be strictly equal: 0 !== 1 - Expected + Received - 1 + 0 ❯ test/keep-alive-header.test.ts:38:20
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)
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/20.19.4 (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/20.19.4 (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, 18)
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:49197/foo.js","headers":{"host":"localhost:49197","connection":"keep-alive","user-agent":"node-urllib/VERSION Node.js/18.20.8 (OS X; arm64)"},"requestBody":""}' - Expected: /mock response stream/ + Received: "{\"method\":\"GET\",\"url\":\"/foo.js\",\"href\":\"http://localhost:49197/foo.js\",\"headers\":{\"host\":\"localhost:49197\",\"connection\":\"keep-alive\",\"user-agent\":\"node-urllib/VERSION Node.js/18.20.8 (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 (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:58249/foo.js","headers":{"host":"localhost:58249","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:58249/foo.js\",\"headers\":{\"host\":\"localhost:58249\",\"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 (windows-latest, 20)
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:51489/foo.js","headers":{"host":"localhost:51489","connection":"keep-alive","user-agent":"node-urllib/VERSION Node.js/20.19.4 (Windows 10; x64)"},"requestBody":""}' - Expected: /mock response stream/ + Received: "{\"method\":\"GET\",\"url\":\"/foo.js\",\"href\":\"http://localhost:51489/foo.js\",\"headers\":{\"host\":\"localhost:51489\",\"connection\":\"keep-alive\",\"user-agent\":\"node-urllib/VERSION Node.js/20.19.4 (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 (windows-latest, 18)
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:63319/foo.js","headers":{"host":"localhost:63319","connection":"keep-alive","user-agent":"node-urllib/VERSION Node.js/18.20.8 (Windows 10; x64)"},"requestBody":""}' - Expected: /mock response stream/ + Received: "{\"method\":\"GET\",\"url\":\"/foo.js\",\"href\":\"http://localhost:63319/foo.js\",\"headers\":{\"host\":\"localhost:63319\",\"connection\":\"keep-alive\",\"user-agent\":\"node-urllib/VERSION Node.js/18.20.8 (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, 14.19.3)
Process completed with exit code 1.
Node.js / Test (macos-latest, 14)
Process completed with exit code 1.
Node.js / Test (windows-latest, 14)
Process completed with exit code 1.
Node.js / Test (windows-latest, 14.19.3)
Process completed with exit code 1.
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, 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, 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