fix: parseHeaders should take Record<string, ...> #13766
nodejs.yml
on: pull_request
Matrix: test-without-intl
Matrix: test
dependency-review
10s
Lint
35s
Fuzzing
3m 32s
Test TypeScript types
40s
automerge
0s
Annotations
60 errors and 15 notices
MockAgent - headers should be array of strings:
test/mock-agent.js#L2598
[Error [ERR_TEST_FAILURE]: Expected values to be strictly deep-equal:
+ actual - expected
[
'foo=bar',
+ Buffer(7) [Uint8Array] [
+ 98,
+ 97,
+ 114,
+ 61,
+ 98,
+ 97,
+ 122
+ ],
+ Buffer(7) [Uint8Array] [
+ 98,
+ 97,
+ 122,
+ 61,
+ 113,
+ 117,
+ 120
+ ]
- 'bar=baz',
- 'baz=qux'
]] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal:
+ actual - expected
[
'foo=bar',
+ Buffer(7) [Uint8Array] [
+ 98,
+ 97,
+ 114,
+ 61,
+ 98,
+ 97,
+ 122
+ ],
+ Buffer(7) [Uint8Array] [
+ 98,
+ 97,
+ 122,
+ 61,
+ 113,
+ 117,
+ 120
+ ]
- 'bar=baz',
- 'baz=qux'
]
at res.<computed> [as deepStrictEqual] (/home/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35)
at TestContext.<anonymous> (/home/runner/work/undici/undici/test/mock-agent.js:2598:5)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Test.run (node:internal/test_runner/test:640:9)
at async Test.processPendingSubtests (node:internal/test_runner/test:382:7) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: [ 'foo=bar', <Buffer 62 61 72 3d 62 61 7a>, <Buffer 62 61 7a 3d 71 75 78> ],
expected: [ 'foo=bar', 'bar=baz', 'baz=qux' ],
operator: 'deepStrictEqual'
}
}
|
Set-Cookie:
test/client.js#L1210
Error [ERR_TEST_FAILURE]: Expected values to be strictly deep-equal:
+ actual - expected
[
'a cookie',
+ Buffer(14) [Uint8Array] [
+ 97,
+ 110,
+ 111,
+ 116,
+ 104,
+ 101,
+ 114,
+ 32,
+ 99,
+ 111,
+ 111,
+ 107,
+ 105,
+ 101
+ ],
+ Buffer(12) [Uint8Array] [
+ 109,
+ 111,
+ 114,
+ 101,
+ 32,
+ 99,
+ 111,
+ 111,
+ 107,
+ 105,
+ 101,
+ 115
+ ]
- 'another cookie',
- 'more cookies'
]
at process.emit (node:events:518:28) {
code: 'ERR_TEST_FAILURE',
failureType: 'uncaughtException',
cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal:
+ actual - expected
[
'a cookie',
+ Buffer(14) [Uint8Array] [
+ 97,
+ 110,
+ 111,
+ 116,
+ 104,
+ 101,
+ 114,
+ 32,
+ 99,
+ 111,
+ 111,
+ 107,
+ 105,
+ 101
+ ],
+ Buffer(12) [Uint8Array] [
+ 109,
+ 111,
+ 114,
+ 101,
+ 32,
+ 99,
+ 111,
+ 111,
+ 107,
+ 105,
+ 101,
+ 115
+ ]
- 'another cookie',
- 'more cookies'
]
at res.<computed> [as deepStrictEqual] (/home/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35)
at /home/runner/work/undici/undici/test/client.js:1210:9
at RequestHandler.runInAsyncScope (node:async_hooks:206:9)
at RequestHandler.onHeaders (/home/runner/work/undici/undici/lib/api/api-request.js:140:14)
at Request.onHeaders (/home/runner/work/undici/undici/lib/core/request.js:243:29)
at Parser.onHeadersComplete (/home/runner/work/undici/undici/lib/dispatcher/client-h1.js:494:27)
at wasm_on_headers_complete (/home/runner/work/undici/undici/lib/dispatcher/client-h1.js:108:30)
at wasm://wasm/0002f80e:wasm-function[10]:0x474
at wasm://wasm/0002f80e:wasm-function[20]:0x67b2
at Parser.execute (/home/runner/work/undici/undici/lib/dispatcher/client-h1.js:249:22) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: [ 'a cookie', <Buffer 61 6e 6f 74 68 65 72 20 63 6f 6f 6b 69 65>, <Buffer 6d 6f 72 65 20 63 6f 6f 6b 69 65 73> ],
expected: [ 'a cookie', 'another cookie', 'more cookies' ],
operator: 'deepStrictEqual'
}
}
|
test/client.js:
test/client.js#L1
[Error [ERR_TEST_FAILURE]: test timed out after 30000ms] { code: 'ERR_TEST_FAILURE', failureType: 'testTimeoutFailure', cause: 'test timed out after 30000ms' }
|
test (20, ubuntu-latest) / Test with Node.js 20 on ubuntu-latest
Process completed with exit code 1.
|
MockAgent - headers should be array of strings:
test/mock-agent.js#L2598
[Error [ERR_TEST_FAILURE]: Expected values to be strictly deep-equal:
+ actual - expected
[
'foo=bar',
+ Buffer(7) [Uint8Array] [
+ 98,
+ 97,
+ 114,
+ 61,
+ 98,
+ 97,
+ 122
+ ],
+ Buffer(7) [Uint8Array] [
+ 98,
+ 97,
+ 122,
+ 61,
+ 113,
+ 117,
+ 120
+ ]
- 'bar=baz',
- 'baz=qux'
]] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal:
+ actual - expected
[
'foo=bar',
+ Buffer(7) [Uint8Array] [
+ 98,
+ 97,
+ 114,
+ 61,
+ 98,
+ 97,
+ 122
+ ],
+ Buffer(7) [Uint8Array] [
+ 98,
+ 97,
+ 122,
+ 61,
+ 113,
+ 117,
+ 120
+ ]
- 'bar=baz',
- 'baz=qux'
]
at res.<computed> [as deepStrictEqual] (/home/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35)
at TestContext.<anonymous> (/home/runner/work/undici/undici/test/mock-agent.js:2598:5)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Test.run (node:internal/test_runner/test:640:9)
at async Test.processPendingSubtests (node:internal/test_runner/test:382:7) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: [ 'foo=bar', <Buffer 62 61 72 3d 62 61 7a>, <Buffer 62 61 7a 3d 71 75 78> ],
expected: [ 'foo=bar', 'bar=baz', 'baz=qux' ],
operator: 'deepStrictEqual'
}
}
|
Set-Cookie:
test/client.js#L1210
Error [ERR_TEST_FAILURE]: Expected values to be strictly deep-equal:
+ actual - expected
[
'a cookie',
+ Buffer(14) [Uint8Array] [
+ 97,
+ 110,
+ 111,
+ 116,
+ 104,
+ 101,
+ 114,
+ 32,
+ 99,
+ 111,
+ 111,
+ 107,
+ 105,
+ 101
+ ],
+ Buffer(12) [Uint8Array] [
+ 109,
+ 111,
+ 114,
+ 101,
+ 32,
+ 99,
+ 111,
+ 111,
+ 107,
+ 105,
+ 101,
+ 115
+ ]
- 'another cookie',
- 'more cookies'
]
at process.emit (node:events:519:28) {
code: 'ERR_TEST_FAILURE',
failureType: 'uncaughtException',
cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal:
+ actual - expected
[
'a cookie',
+ Buffer(14) [Uint8Array] [
+ 97,
+ 110,
+ 111,
+ 116,
+ 104,
+ 101,
+ 114,
+ 32,
+ 99,
+ 111,
+ 111,
+ 107,
+ 105,
+ 101
+ ],
+ Buffer(12) [Uint8Array] [
+ 109,
+ 111,
+ 114,
+ 101,
+ 32,
+ 99,
+ 111,
+ 111,
+ 107,
+ 105,
+ 101,
+ 115
+ ]
- 'another cookie',
- 'more cookies'
]
at res.<computed> [as deepStrictEqual] (/home/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35)
at /home/runner/work/undici/undici/test/client.js:1210:9
at RequestHandler.runInAsyncScope (node:async_hooks:206:9)
at RequestHandler.onHeaders (/home/runner/work/undici/undici/lib/api/api-request.js:140:14)
at Request.onHeaders (/home/runner/work/undici/undici/lib/core/request.js:243:29)
at Parser.onHeadersComplete (/home/runner/work/undici/undici/lib/dispatcher/client-h1.js:494:27)
at wasm_on_headers_complete (/home/runner/work/undici/undici/lib/dispatcher/client-h1.js:108:30)
at wasm://wasm/0002f80e:wasm-function[10]:0x474
at wasm://wasm/0002f80e:wasm-function[20]:0x67b2
at Parser.execute (/home/runner/work/undici/undici/lib/dispatcher/client-h1.js:249:22) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: [ 'a cookie', <Buffer 61 6e 6f 74 68 65 72 20 63 6f 6f 6b 69 65>, <Buffer 6d 6f 72 65 20 63 6f 6f 6b 69 65 73> ],
expected: [ 'a cookie', 'another cookie', 'more cookies' ],
operator: 'deepStrictEqual'
}
}
|
test/client.js:
test/client.js#L1
[Error [ERR_TEST_FAILURE]: test timed out after 30000ms] { code: 'ERR_TEST_FAILURE', failureType: 'testTimeoutFailure', cause: 'test timed out after 30000ms' }
|
test (21, ubuntu-latest) / Test with Node.js 21 on ubuntu-latest
Process completed with exit code 1.
|
MockAgent - headers should be array of strings:
test/mock-agent.js#L2598
[Error [ERR_TEST_FAILURE]: Expected values to be strictly deep-equal:
+ actual - expected
[
'foo=bar',
+ Buffer(7) [Uint8Array] [
+ 98,
+ 97,
+ 114,
+ 61,
+ 98,
+ 97,
+ 122
+ ],
+ Buffer(7) [Uint8Array] [
+ 98,
+ 97,
+ 122,
+ 61,
+ 113,
+ 117,
+ 120
+ ]
- 'bar=baz',
- 'baz=qux'
]] {
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal:
+ actual - expected
[
'foo=bar',
+ Buffer(7) [Uint8Array] [
+ 98,
+ 97,
+ 114,
+ 61,
+ 98,
+ 97,
+ 122
+ ],
+ Buffer(7) [Uint8Array] [
+ 98,
+ 97,
+ 122,
+ 61,
+ 113,
+ 117,
+ 120
+ ]
- 'bar=baz',
- 'baz=qux'
]
at res.<computed> [as deepStrictEqual] (/home/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35)
at TestContext.<anonymous> (/home/runner/work/undici/undici/test/mock-agent.js:2598:5)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Test.run (node:internal/test_runner/test:632:9)
at async Test.processPendingSubtests (node:internal/test_runner/test:374:7) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: [ 'foo=bar', <Buffer 62 61 72 3d 62 61 7a>, <Buffer 62 61 7a 3d 71 75 78> ],
expected: [ 'foo=bar', 'bar=baz', 'baz=qux' ],
operator: 'deepStrictEqual'
},
code: 'ERR_TEST_FAILURE'
}
|
Set-Cookie:
test/client.js#L1210
Error [ERR_TEST_FAILURE]: Expected values to be strictly deep-equal:
+ actual - expected
[
'a cookie',
+ Buffer(14) [Uint8Array] [
+ 97,
+ 110,
+ 111,
+ 116,
+ 104,
+ 101,
+ 114,
+ 32,
+ 99,
+ 111,
+ 111,
+ 107,
+ 105,
+ 101
+ ],
+ Buffer(12) [Uint8Array] [
+ 109,
+ 111,
+ 114,
+ 101,
+ 32,
+ 99,
+ 111,
+ 111,
+ 107,
+ 105,
+ 101,
+ 115
+ ]
- 'another cookie',
- 'more cookies'
]
at process.emit (node:events:517:28) {
failureType: 'uncaughtException',
cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal:
+ actual - expected
[
'a cookie',
+ Buffer(14) [Uint8Array] [
+ 97,
+ 110,
+ 111,
+ 116,
+ 104,
+ 101,
+ 114,
+ 32,
+ 99,
+ 111,
+ 111,
+ 107,
+ 105,
+ 101
+ ],
+ Buffer(12) [Uint8Array] [
+ 109,
+ 111,
+ 114,
+ 101,
+ 32,
+ 99,
+ 111,
+ 111,
+ 107,
+ 105,
+ 101,
+ 115
+ ]
- 'another cookie',
- 'more cookies'
]
at res.<computed> [as deepStrictEqual] (/home/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35)
at /home/runner/work/undici/undici/test/client.js:1210:9
at RequestHandler.runInAsyncScope (node:async_hooks:203:9)
at RequestHandler.onHeaders (/home/runner/work/undici/undici/lib/api/api-request.js:140:14)
at Request.onHeaders (/home/runner/work/undici/undici/lib/core/request.js:243:29)
at Parser.onHeadersComplete (/home/runner/work/undici/undici/lib/dispatcher/client-h1.js:494:27)
at wasm_on_headers_complete (/home/runner/work/undici/undici/lib/dispatcher/client-h1.js:108:30)
at wasm://wasm/0002f80e:wasm-function[10]:0x474
at wasm://wasm/0002f80e:wasm-function[20]:0x67b2
at Parser.execute (/home/runner/work/undici/undici/lib/dispatcher/client-h1.js:249:22) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: [ 'a cookie', <Buffer 61 6e 6f 74 68 65 72 20 63 6f 6f 6b 69 65>, <Buffer 6d 6f 72 65 20 63 6f 6f 6b 69 65 73> ],
expected: [ 'a cookie', 'another cookie', 'more cookies' ],
operator: 'deepStrictEqual'
},
code: 'ERR_TEST_FAILURE'
}
|
test/client.js:
test/client.js#L1
[Error [ERR_TEST_FAILURE]: test timed out after 30000ms] { failureType: 'testTimeoutFailure', cause: 'test timed out after 30000ms', code: 'ERR_TEST_FAILURE' }
|
test (18, ubuntu-latest) / Test with Node.js 18 on ubuntu-latest
Process completed with exit code 1.
|
MockAgent - headers should be array of strings:
test/mock-agent.js#L2598
[Error [ERR_TEST_FAILURE]: Expected values to be strictly deep-equal:
+ actual - expected
[
'foo=bar',
+ Buffer(7) [Uint8Array] [
+ 98,
+ 97,
+ 114,
+ 61,
+ 98,
+ 97,
+ 122
+ ],
+ Buffer(7) [Uint8Array] [
+ 98,
+ 97,
+ 122,
+ 61,
+ 113,
+ 117,
+ 120
+ ]
- 'bar=baz',
- 'baz=qux'
]] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal:
+ actual - expected
[
'foo=bar',
+ Buffer(7) [Uint8Array] [
+ 98,
+ 97,
+ 114,
+ 61,
+ 98,
+ 97,
+ 122
+ ],
+ Buffer(7) [Uint8Array] [
+ 98,
+ 97,
+ 122,
+ 61,
+ 113,
+ 117,
+ 120
+ ]
- 'bar=baz',
- 'baz=qux'
]
at res.<computed> [as deepStrictEqual] (/home/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35)
at TestContext.<anonymous> (/home/runner/work/undici/undici/test/mock-agent.js:2598:5)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Test.run (node:internal/test_runner/test:748:9)
at async Test.processPendingSubtests (node:internal/test_runner/test:461:7) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: [ 'foo=bar', <Buffer 62 61 72 3d 62 61 7a>, <Buffer 62 61 7a 3d 71 75 78> ],
expected: [ 'foo=bar', 'bar=baz', 'baz=qux' ],
operator: 'deepStrictEqual'
}
}
|
Set-Cookie:
test/client.js#L1210
Error [ERR_TEST_FAILURE]: Expected values to be strictly deep-equal:
+ actual - expected
[
'a cookie',
+ Buffer(14) [Uint8Array] [
+ 97,
+ 110,
+ 111,
+ 116,
+ 104,
+ 101,
+ 114,
+ 32,
+ 99,
+ 111,
+ 111,
+ 107,
+ 105,
+ 101
+ ],
+ Buffer(12) [Uint8Array] [
+ 109,
+ 111,
+ 114,
+ 101,
+ 32,
+ 99,
+ 111,
+ 111,
+ 107,
+ 105,
+ 101,
+ 115
+ ]
- 'another cookie',
- 'more cookies'
]
at process.emit (node:events:520:28) {
code: 'ERR_TEST_FAILURE',
failureType: 'uncaughtException',
cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal:
+ actual - expected
[
'a cookie',
+ Buffer(14) [Uint8Array] [
+ 97,
+ 110,
+ 111,
+ 116,
+ 104,
+ 101,
+ 114,
+ 32,
+ 99,
+ 111,
+ 111,
+ 107,
+ 105,
+ 101
+ ],
+ Buffer(12) [Uint8Array] [
+ 109,
+ 111,
+ 114,
+ 101,
+ 32,
+ 99,
+ 111,
+ 111,
+ 107,
+ 105,
+ 101,
+ 115
+ ]
- 'another cookie',
- 'more cookies'
]
at res.<computed> [as deepStrictEqual] (/home/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35)
at /home/runner/work/undici/undici/test/client.js:1210:9
at RequestHandler.runInAsyncScope (node:async_hooks:206:9)
at RequestHandler.onHeaders (/home/runner/work/undici/undici/lib/api/api-request.js:140:14)
at Request.onHeaders (/home/runner/work/undici/undici/lib/core/request.js:243:29)
at Parser.onHeadersComplete (/home/runner/work/undici/undici/lib/dispatcher/client-h1.js:494:27)
at wasm_on_headers_complete (/home/runner/work/undici/undici/lib/dispatcher/client-h1.js:108:30)
at wasm://wasm/0002f80e:wasm-function[10]:0x474
at wasm://wasm/0002f80e:wasm-function[20]:0x67b2
at Parser.execute (/home/runner/work/undici/undici/lib/dispatcher/client-h1.js:249:22) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: [ 'a cookie', <Buffer 61 6e 6f 74 68 65 72 20 63 6f 6f 6b 69 65>, <Buffer 6d 6f 72 65 20 63 6f 6f 6b 69 65 73> ],
expected: [ 'a cookie', 'another cookie', 'more cookies' ],
operator: 'deepStrictEqual'
}
}
|
test/client.js:
test/client.js#L1
[Error [ERR_TEST_FAILURE]: test timed out after 30000ms] { code: 'ERR_TEST_FAILURE', failureType: 'testTimeoutFailure', cause: 'test timed out after 30000ms' }
|
test (22, ubuntu-latest) / Test with Node.js 22 on ubuntu-latest
Process completed with exit code 1.
|
MockAgent - headers should be array of strings:
test/mock-agent.js#L2598
[Error [ERR_TEST_FAILURE]: Expected values to be strictly deep-equal:
+ actual - expected
[
'foo=bar',
+ Buffer(7) [Uint8Array] [
+ 98,
+ 97,
+ 114,
+ 61,
+ 98,
+ 97,
+ 122
+ ],
+ Buffer(7) [Uint8Array] [
+ 98,
+ 97,
+ 122,
+ 61,
+ 113,
+ 117,
+ 120
+ ]
- 'bar=baz',
- 'baz=qux'
]] {
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal:
+ actual - expected
[
'foo=bar',
+ Buffer(7) [Uint8Array] [
+ 98,
+ 97,
+ 114,
+ 61,
+ 98,
+ 97,
+ 122
+ ],
+ Buffer(7) [Uint8Array] [
+ 98,
+ 97,
+ 122,
+ 61,
+ 113,
+ 117,
+ 120
+ ]
- 'bar=baz',
- 'baz=qux'
]
at res.<computed> [as deepStrictEqual] (/Users/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35)
at TestContext.<anonymous> (/Users/runner/work/undici/undici/test/mock-agent.js:2598:5)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Test.run (node:internal/test_runner/test:632:9)
at async Test.processPendingSubtests (node:internal/test_runner/test:374:7) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: [ 'foo=bar', <Buffer 62 61 72 3d 62 61 7a>, <Buffer 62 61 7a 3d 71 75 78> ],
expected: [ 'foo=bar', 'bar=baz', 'baz=qux' ],
operator: 'deepStrictEqual'
},
code: 'ERR_TEST_FAILURE'
}
|
Set-Cookie:
test/client.js#L1210
Error [ERR_TEST_FAILURE]: Expected values to be strictly deep-equal:
+ actual - expected
[
'a cookie',
+ Buffer(14) [Uint8Array] [
+ 97,
+ 110,
+ 111,
+ 116,
+ 104,
+ 101,
+ 114,
+ 32,
+ 99,
+ 111,
+ 111,
+ 107,
+ 105,
+ 101
+ ],
+ Buffer(12) [Uint8Array] [
+ 109,
+ 111,
+ 114,
+ 101,
+ 32,
+ 99,
+ 111,
+ 111,
+ 107,
+ 105,
+ 101,
+ 115
+ ]
- 'another cookie',
- 'more cookies'
]
at process.emit (node:events:517:28) {
failureType: 'uncaughtException',
cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal:
+ actual - expected
[
'a cookie',
+ Buffer(14) [Uint8Array] [
+ 97,
+ 110,
+ 111,
+ 116,
+ 104,
+ 101,
+ 114,
+ 32,
+ 99,
+ 111,
+ 111,
+ 107,
+ 105,
+ 101
+ ],
+ Buffer(12) [Uint8Array] [
+ 109,
+ 111,
+ 114,
+ 101,
+ 32,
+ 99,
+ 111,
+ 111,
+ 107,
+ 105,
+ 101,
+ 115
+ ]
- 'another cookie',
- 'more cookies'
]
at res.<computed> [as deepStrictEqual] (/Users/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35)
at /Users/runner/work/undici/undici/test/client.js:1210:9
at RequestHandler.runInAsyncScope (node:async_hooks:203:9)
at RequestHandler.onHeaders (/Users/runner/work/undici/undici/lib/api/api-request.js:140:14)
at Request.onHeaders (/Users/runner/work/undici/undici/lib/core/request.js:243:29)
at Parser.onHeadersComplete (/Users/runner/work/undici/undici/lib/dispatcher/client-h1.js:494:27)
at wasm_on_headers_complete (/Users/runner/work/undici/undici/lib/dispatcher/client-h1.js:108:30)
at wasm://wasm/0002f80e:wasm-function[10]:0x474
at wasm://wasm/0002f80e:wasm-function[20]:0x67b2
at Parser.execute (/Users/runner/work/undici/undici/lib/dispatcher/client-h1.js:249:22) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: [ 'a cookie', <Buffer 61 6e 6f 74 68 65 72 20 63 6f 6f 6b 69 65>, <Buffer 6d 6f 72 65 20 63 6f 6f 6b 69 65 73> ],
expected: [ 'a cookie', 'another cookie', 'more cookies' ],
operator: 'deepStrictEqual'
},
code: 'ERR_TEST_FAILURE'
}
|
test/client.js:
test/client.js#L1
[Error [ERR_TEST_FAILURE]: test timed out after 30000ms] { failureType: 'testTimeoutFailure', cause: 'test timed out after 30000ms', code: 'ERR_TEST_FAILURE' }
|
test (18, macos-latest) / Test with Node.js 18 on macos-latest
Process completed with exit code 1.
|
MockAgent - headers should be array of strings:
test/mock-agent.js#L2598
[Error [ERR_TEST_FAILURE]: Expected values to be strictly deep-equal:
+ actual - expected
[
'foo=bar',
+ Buffer(7) [Uint8Array] [
+ 98,
+ 97,
+ 114,
+ 61,
+ 98,
+ 97,
+ 122
+ ],
+ Buffer(7) [Uint8Array] [
+ 98,
+ 97,
+ 122,
+ 61,
+ 113,
+ 117,
+ 120
+ ]
- 'bar=baz',
- 'baz=qux'
]] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal:
+ actual - expected
[
'foo=bar',
+ Buffer(7) [Uint8Array] [
+ 98,
+ 97,
+ 114,
+ 61,
+ 98,
+ 97,
+ 122
+ ],
+ Buffer(7) [Uint8Array] [
+ 98,
+ 97,
+ 122,
+ 61,
+ 113,
+ 117,
+ 120
+ ]
- 'bar=baz',
- 'baz=qux'
]
at res.<computed> [as deepStrictEqual] (/Users/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35)
at TestContext.<anonymous> (/Users/runner/work/undici/undici/test/mock-agent.js:2598:5)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Test.run (node:internal/test_runner/test:640:9)
at async Test.processPendingSubtests (node:internal/test_runner/test:382:7) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: [ 'foo=bar', <Buffer 62 61 72 3d 62 61 7a>, <Buffer 62 61 7a 3d 71 75 78> ],
expected: [ 'foo=bar', 'bar=baz', 'baz=qux' ],
operator: 'deepStrictEqual'
}
}
|
Set-Cookie:
test/client.js#L1210
Error [ERR_TEST_FAILURE]: Expected values to be strictly deep-equal:
+ actual - expected
[
'a cookie',
+ Buffer(14) [Uint8Array] [
+ 97,
+ 110,
+ 111,
+ 116,
+ 104,
+ 101,
+ 114,
+ 32,
+ 99,
+ 111,
+ 111,
+ 107,
+ 105,
+ 101
+ ],
+ Buffer(12) [Uint8Array] [
+ 109,
+ 111,
+ 114,
+ 101,
+ 32,
+ 99,
+ 111,
+ 111,
+ 107,
+ 105,
+ 101,
+ 115
+ ]
- 'another cookie',
- 'more cookies'
]
at process.emit (node:events:519:28) {
code: 'ERR_TEST_FAILURE',
failureType: 'uncaughtException',
cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal:
+ actual - expected
[
'a cookie',
+ Buffer(14) [Uint8Array] [
+ 97,
+ 110,
+ 111,
+ 116,
+ 104,
+ 101,
+ 114,
+ 32,
+ 99,
+ 111,
+ 111,
+ 107,
+ 105,
+ 101
+ ],
+ Buffer(12) [Uint8Array] [
+ 109,
+ 111,
+ 114,
+ 101,
+ 32,
+ 99,
+ 111,
+ 111,
+ 107,
+ 105,
+ 101,
+ 115
+ ]
- 'another cookie',
- 'more cookies'
]
at res.<computed> [as deepStrictEqual] (/Users/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35)
at /Users/runner/work/undici/undici/test/client.js:1210:9
at RequestHandler.runInAsyncScope (node:async_hooks:206:9)
at RequestHandler.onHeaders (/Users/runner/work/undici/undici/lib/api/api-request.js:140:14)
at Request.onHeaders (/Users/runner/work/undici/undici/lib/core/request.js:243:29)
at Parser.onHeadersComplete (/Users/runner/work/undici/undici/lib/dispatcher/client-h1.js:494:27)
at wasm_on_headers_complete (/Users/runner/work/undici/undici/lib/dispatcher/client-h1.js:108:30)
at wasm://wasm/0002f80e:wasm-function[10]:0x474
at wasm://wasm/0002f80e:wasm-function[20]:0x67b2
at Parser.execute (/Users/runner/work/undici/undici/lib/dispatcher/client-h1.js:249:22) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: [ 'a cookie', <Buffer 61 6e 6f 74 68 65 72 20 63 6f 6f 6b 69 65>, <Buffer 6d 6f 72 65 20 63 6f 6f 6b 69 65 73> ],
expected: [ 'a cookie', 'another cookie', 'more cookies' ],
operator: 'deepStrictEqual'
}
}
|
test/client.js:
test/client.js#L1
[Error [ERR_TEST_FAILURE]: test timed out after 30000ms] { code: 'ERR_TEST_FAILURE', failureType: 'testTimeoutFailure', cause: 'test timed out after 30000ms' }
|
test (21, macos-latest) / Test with Node.js 21 on macos-latest
Process completed with exit code 1.
|
MockAgent - headers should be array of strings:
test/mock-agent.js#L2598
[Error [ERR_TEST_FAILURE]: Expected values to be strictly deep-equal:
+ actual - expected
[
'foo=bar',
+ Buffer(7) [Uint8Array] [
+ 98,
+ 97,
+ 114,
+ 61,
+ 98,
+ 97,
+ 122
+ ],
+ Buffer(7) [Uint8Array] [
+ 98,
+ 97,
+ 122,
+ 61,
+ 113,
+ 117,
+ 120
+ ]
- 'bar=baz',
- 'baz=qux'
]] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal:
+ actual - expected
[
'foo=bar',
+ Buffer(7) [Uint8Array] [
+ 98,
+ 97,
+ 114,
+ 61,
+ 98,
+ 97,
+ 122
+ ],
+ Buffer(7) [Uint8Array] [
+ 98,
+ 97,
+ 122,
+ 61,
+ 113,
+ 117,
+ 120
+ ]
- 'bar=baz',
- 'baz=qux'
]
at res.<computed> [as deepStrictEqual] (/Users/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35)
at TestContext.<anonymous> (/Users/runner/work/undici/undici/test/mock-agent.js:2598:5)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Test.run (node:internal/test_runner/test:748:9)
at async Test.processPendingSubtests (node:internal/test_runner/test:461:7) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: [ 'foo=bar', <Buffer 62 61 72 3d 62 61 7a>, <Buffer 62 61 7a 3d 71 75 78> ],
expected: [ 'foo=bar', 'bar=baz', 'baz=qux' ],
operator: 'deepStrictEqual'
}
}
|
Set-Cookie:
test/client.js#L1210
Error [ERR_TEST_FAILURE]: Expected values to be strictly deep-equal:
+ actual - expected
[
'a cookie',
+ Buffer(14) [Uint8Array] [
+ 97,
+ 110,
+ 111,
+ 116,
+ 104,
+ 101,
+ 114,
+ 32,
+ 99,
+ 111,
+ 111,
+ 107,
+ 105,
+ 101
+ ],
+ Buffer(12) [Uint8Array] [
+ 109,
+ 111,
+ 114,
+ 101,
+ 32,
+ 99,
+ 111,
+ 111,
+ 107,
+ 105,
+ 101,
+ 115
+ ]
- 'another cookie',
- 'more cookies'
]
at process.emit (node:events:520:28) {
code: 'ERR_TEST_FAILURE',
failureType: 'uncaughtException',
cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal:
+ actual - expected
[
'a cookie',
+ Buffer(14) [Uint8Array] [
+ 97,
+ 110,
+ 111,
+ 116,
+ 104,
+ 101,
+ 114,
+ 32,
+ 99,
+ 111,
+ 111,
+ 107,
+ 105,
+ 101
+ ],
+ Buffer(12) [Uint8Array] [
+ 109,
+ 111,
+ 114,
+ 101,
+ 32,
+ 99,
+ 111,
+ 111,
+ 107,
+ 105,
+ 101,
+ 115
+ ]
- 'another cookie',
- 'more cookies'
]
at res.<computed> [as deepStrictEqual] (/Users/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35)
at /Users/runner/work/undici/undici/test/client.js:1210:9
at RequestHandler.runInAsyncScope (node:async_hooks:206:9)
at RequestHandler.onHeaders (/Users/runner/work/undici/undici/lib/api/api-request.js:140:14)
at Request.onHeaders (/Users/runner/work/undici/undici/lib/core/request.js:243:29)
at Parser.onHeadersComplete (/Users/runner/work/undici/undici/lib/dispatcher/client-h1.js:494:27)
at wasm_on_headers_complete (/Users/runner/work/undici/undici/lib/dispatcher/client-h1.js:108:30)
at wasm://wasm/0002f80e:wasm-function[10]:0x474
at wasm://wasm/0002f80e:wasm-function[20]:0x67b2
at Parser.execute (/Users/runner/work/undici/undici/lib/dispatcher/client-h1.js:249:22) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: [ 'a cookie', <Buffer 61 6e 6f 74 68 65 72 20 63 6f 6f 6b 69 65>, <Buffer 6d 6f 72 65 20 63 6f 6f 6b 69 65 73> ],
expected: [ 'a cookie', 'another cookie', 'more cookies' ],
operator: 'deepStrictEqual'
}
}
|
test/client.js:
test/client.js#L1
[Error [ERR_TEST_FAILURE]: test timed out after 30000ms] { code: 'ERR_TEST_FAILURE', failureType: 'testTimeoutFailure', cause: 'test timed out after 30000ms' }
|
test (22, macos-latest) / Test with Node.js 22 on macos-latest
Process completed with exit code 1.
|
MockAgent - headers should be array of strings:
test/mock-agent.js#L2598
[Error [ERR_TEST_FAILURE]: Expected values to be strictly deep-equal:
+ actual - expected
[
'foo=bar',
+ Buffer(7) [Uint8Array] [
+ 98,
+ 97,
+ 114,
+ 61,
+ 98,
+ 97,
+ 122
+ ],
+ Buffer(7) [Uint8Array] [
+ 98,
+ 97,
+ 122,
+ 61,
+ 113,
+ 117,
+ 120
+ ]
- 'bar=baz',
- 'baz=qux'
]] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal:
+ actual - expected
[
'foo=bar',
+ Buffer(7) [Uint8Array] [
+ 98,
+ 97,
+ 114,
+ 61,
+ 98,
+ 97,
+ 122
+ ],
+ Buffer(7) [Uint8Array] [
+ 98,
+ 97,
+ 122,
+ 61,
+ 113,
+ 117,
+ 120
+ ]
- 'bar=baz',
- 'baz=qux'
]
at res.<computed> [as deepStrictEqual] (/Users/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35)
at TestContext.<anonymous> (/Users/runner/work/undici/undici/test/mock-agent.js:2598:5)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Test.run (node:internal/test_runner/test:640:9)
at async Test.processPendingSubtests (node:internal/test_runner/test:382:7) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: [ 'foo=bar', <Buffer 62 61 72 3d 62 61 7a>, <Buffer 62 61 7a 3d 71 75 78> ],
expected: [ 'foo=bar', 'bar=baz', 'baz=qux' ],
operator: 'deepStrictEqual'
}
}
|
Set-Cookie:
test/client.js#L1210
Error [ERR_TEST_FAILURE]: Expected values to be strictly deep-equal:
+ actual - expected
[
'a cookie',
+ Buffer(14) [Uint8Array] [
+ 97,
+ 110,
+ 111,
+ 116,
+ 104,
+ 101,
+ 114,
+ 32,
+ 99,
+ 111,
+ 111,
+ 107,
+ 105,
+ 101
+ ],
+ Buffer(12) [Uint8Array] [
+ 109,
+ 111,
+ 114,
+ 101,
+ 32,
+ 99,
+ 111,
+ 111,
+ 107,
+ 105,
+ 101,
+ 115
+ ]
- 'another cookie',
- 'more cookies'
]
at process.emit (node:events:518:28) {
code: 'ERR_TEST_FAILURE',
failureType: 'uncaughtException',
cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal:
+ actual - expected
[
'a cookie',
+ Buffer(14) [Uint8Array] [
+ 97,
+ 110,
+ 111,
+ 116,
+ 104,
+ 101,
+ 114,
+ 32,
+ 99,
+ 111,
+ 111,
+ 107,
+ 105,
+ 101
+ ],
+ Buffer(12) [Uint8Array] [
+ 109,
+ 111,
+ 114,
+ 101,
+ 32,
+ 99,
+ 111,
+ 111,
+ 107,
+ 105,
+ 101,
+ 115
+ ]
- 'another cookie',
- 'more cookies'
]
at res.<computed> [as deepStrictEqual] (/Users/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35)
at /Users/runner/work/undici/undici/test/client.js:1210:9
at RequestHandler.runInAsyncScope (node:async_hooks:206:9)
at RequestHandler.onHeaders (/Users/runner/work/undici/undici/lib/api/api-request.js:140:14)
at Request.onHeaders (/Users/runner/work/undici/undici/lib/core/request.js:243:29)
at Parser.onHeadersComplete (/Users/runner/work/undici/undici/lib/dispatcher/client-h1.js:494:27)
at wasm_on_headers_complete (/Users/runner/work/undici/undici/lib/dispatcher/client-h1.js:108:30)
at wasm://wasm/0002f80e:wasm-function[10]:0x474
at wasm://wasm/0002f80e:wasm-function[20]:0x67b2
at Parser.execute (/Users/runner/work/undici/undici/lib/dispatcher/client-h1.js:249:22) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: [ 'a cookie', <Buffer 61 6e 6f 74 68 65 72 20 63 6f 6f 6b 69 65>, <Buffer 6d 6f 72 65 20 63 6f 6f 6b 69 65 73> ],
expected: [ 'a cookie', 'another cookie', 'more cookies' ],
operator: 'deepStrictEqual'
}
}
|
test/client.js:
test/client.js#L1
[Error [ERR_TEST_FAILURE]: test timed out after 30000ms] { code: 'ERR_TEST_FAILURE', failureType: 'testTimeoutFailure', cause: 'test timed out after 30000ms' }
|
test (20, macos-latest) / Test with Node.js 20 on macos-latest
Process completed with exit code 1.
|
MockAgent - headers should be array of strings:
test\mock-agent.js#L2598
[Error [ERR_TEST_FAILURE]: Expected values to be strictly deep-equal:
+ actual - expected
[
'foo=bar',
+ Buffer(7) [Uint8Array] [
+ 98,
+ 97,
+ 114,
+ 61,
+ 98,
+ 97,
+ 122
+ ],
+ Buffer(7) [Uint8Array] [
+ 98,
+ 97,
+ 122,
+ 61,
+ 113,
+ 117,
+ 120
+ ]
- 'bar=baz',
- 'baz=qux'
]] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal:
+ actual - expected
[
'foo=bar',
+ Buffer(7) [Uint8Array] [
+ 98,
+ 97,
+ 114,
+ 61,
+ 98,
+ 97,
+ 122
+ ],
+ Buffer(7) [Uint8Array] [
+ 98,
+ 97,
+ 122,
+ 61,
+ 113,
+ 117,
+ 120
+ ]
- 'bar=baz',
- 'baz=qux'
]
at res.<computed> [as deepStrictEqual] (D:\a\undici\undici\node_modules\@matteo.collina\tspl\tspl.js:52:35)
at TestContext.<anonymous> (D:\a\undici\undici\test\mock-agent.js:2598:5)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Test.run (node:internal/test_runner/test:748:9)
at async Test.processPendingSubtests (node:internal/test_runner/test:461:7) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: [ 'foo=bar', <Buffer 62 61 72 3d 62 61 7a>, <Buffer 62 61 7a 3d 71 75 78> ],
expected: [ 'foo=bar', 'bar=baz', 'baz=qux' ],
operator: 'deepStrictEqual'
}
}
|
Set-Cookie:
test\client.js#L1210
Error [ERR_TEST_FAILURE]: Expected values to be strictly deep-equal:
+ actual - expected
[
'a cookie',
+ Buffer(14) [Uint8Array] [
+ 97,
+ 110,
+ 111,
+ 116,
+ 104,
+ 101,
+ 114,
+ 32,
+ 99,
+ 111,
+ 111,
+ 107,
+ 105,
+ 101
+ ],
+ Buffer(12) [Uint8Array] [
+ 109,
+ 111,
+ 114,
+ 101,
+ 32,
+ 99,
+ 111,
+ 111,
+ 107,
+ 105,
+ 101,
+ 115
+ ]
- 'another cookie',
- 'more cookies'
]
at process.emit (node:events:520:28) {
code: 'ERR_TEST_FAILURE',
failureType: 'uncaughtException',
cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal:
+ actual - expected
[
'a cookie',
+ Buffer(14) [Uint8Array] [
+ 97,
+ 110,
+ 111,
+ 116,
+ 104,
+ 101,
+ 114,
+ 32,
+ 99,
+ 111,
+ 111,
+ 107,
+ 105,
+ 101
+ ],
+ Buffer(12) [Uint8Array] [
+ 109,
+ 111,
+ 114,
+ 101,
+ 32,
+ 99,
+ 111,
+ 111,
+ 107,
+ 105,
+ 101,
+ 115
+ ]
- 'another cookie',
- 'more cookies'
]
at res.<computed> [as deepStrictEqual] (D:\a\undici\undici\node_modules\@matteo.collina\tspl\tspl.js:52:35)
at D:\a\undici\undici\test\client.js:1210:9
at RequestHandler.runInAsyncScope (node:async_hooks:206:9)
at RequestHandler.onHeaders (D:\a\undici\undici\lib\api\api-request.js:140:14)
at Request.onHeaders (D:\a\undici\undici\lib\core\request.js:243:29)
at Parser.onHeadersComplete (D:\a\undici\undici\lib\dispatcher\client-h1.js:494:27)
at wasm_on_headers_complete (D:\a\undici\undici\lib\dispatcher\client-h1.js:108:30)
at wasm://wasm/0002f80e:wasm-function[10]:0x474
at wasm://wasm/0002f80e:wasm-function[20]:0x67b2
at Parser.execute (D:\a\undici\undici\lib\dispatcher\client-h1.js:249:22) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: [ 'a cookie', <Buffer 61 6e 6f 74 68 65 72 20 63 6f 6f 6b 69 65>, <Buffer 6d 6f 72 65 20 63 6f 6f 6b 69 65 73> ],
expected: [ 'a cookie', 'another cookie', 'more cookies' ],
operator: 'deepStrictEqual'
}
}
|
test\client.js:
test\client.js#L1
[Error [ERR_TEST_FAILURE]: test timed out after 30000ms] { code: 'ERR_TEST_FAILURE', failureType: 'testTimeoutFailure', cause: 'test timed out after 30000ms' }
|
test (22, windows-latest) / Test with Node.js 22 on windows-latest
Process completed with exit code 1.
|
MockAgent - headers should be array of strings:
test\mock-agent.js#L2598
[Error [ERR_TEST_FAILURE]: Expected values to be strictly deep-equal:
+ actual - expected
[
'foo=bar',
+ Buffer(7) [Uint8Array] [
+ 98,
+ 97,
+ 114,
+ 61,
+ 98,
+ 97,
+ 122
+ ],
+ Buffer(7) [Uint8Array] [
+ 98,
+ 97,
+ 122,
+ 61,
+ 113,
+ 117,
+ 120
+ ]
- 'bar=baz',
- 'baz=qux'
]] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal:
+ actual - expected
[
'foo=bar',
+ Buffer(7) [Uint8Array] [
+ 98,
+ 97,
+ 114,
+ 61,
+ 98,
+ 97,
+ 122
+ ],
+ Buffer(7) [Uint8Array] [
+ 98,
+ 97,
+ 122,
+ 61,
+ 113,
+ 117,
+ 120
+ ]
- 'bar=baz',
- 'baz=qux'
]
at res.<computed> [as deepStrictEqual] (D:\a\undici\undici\node_modules\@matteo.collina\tspl\tspl.js:52:35)
at TestContext.<anonymous> (D:\a\undici\undici\test\mock-agent.js:2598:5)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Test.run (node:internal/test_runner/test:640:9)
at async Test.processPendingSubtests (node:internal/test_runner/test:382:7) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: [ 'foo=bar', <Buffer 62 61 72 3d 62 61 7a>, <Buffer 62 61 7a 3d 71 75 78> ],
expected: [ 'foo=bar', 'bar=baz', 'baz=qux' ],
operator: 'deepStrictEqual'
}
}
|
Set-Cookie:
test\client.js#L1210
Error [ERR_TEST_FAILURE]: Expected values to be strictly deep-equal:
+ actual - expected
[
'a cookie',
+ Buffer(14) [Uint8Array] [
+ 97,
+ 110,
+ 111,
+ 116,
+ 104,
+ 101,
+ 114,
+ 32,
+ 99,
+ 111,
+ 111,
+ 107,
+ 105,
+ 101
+ ],
+ Buffer(12) [Uint8Array] [
+ 109,
+ 111,
+ 114,
+ 101,
+ 32,
+ 99,
+ 111,
+ 111,
+ 107,
+ 105,
+ 101,
+ 115
+ ]
- 'another cookie',
- 'more cookies'
]
at process.emit (node:events:519:28) {
code: 'ERR_TEST_FAILURE',
failureType: 'uncaughtException',
cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal:
+ actual - expected
[
'a cookie',
+ Buffer(14) [Uint8Array] [
+ 97,
+ 110,
+ 111,
+ 116,
+ 104,
+ 101,
+ 114,
+ 32,
+ 99,
+ 111,
+ 111,
+ 107,
+ 105,
+ 101
+ ],
+ Buffer(12) [Uint8Array] [
+ 109,
+ 111,
+ 114,
+ 101,
+ 32,
+ 99,
+ 111,
+ 111,
+ 107,
+ 105,
+ 101,
+ 115
+ ]
- 'another cookie',
- 'more cookies'
]
at res.<computed> [as deepStrictEqual] (D:\a\undici\undici\node_modules\@matteo.collina\tspl\tspl.js:52:35)
at D:\a\undici\undici\test\client.js:1210:9
at RequestHandler.runInAsyncScope (node:async_hooks:206:9)
at RequestHandler.onHeaders (D:\a\undici\undici\lib\api\api-request.js:140:14)
at Request.onHeaders (D:\a\undici\undici\lib\core\request.js:243:29)
at Parser.onHeadersComplete (D:\a\undici\undici\lib\dispatcher\client-h1.js:494:27)
at wasm_on_headers_complete (D:\a\undici\undici\lib\dispatcher\client-h1.js:108:30)
at wasm://wasm/0002f80e:wasm-function[10]:0x474
at wasm://wasm/0002f80e:wasm-function[20]:0x67b2
at Parser.execute (D:\a\undici\undici\lib\dispatcher\client-h1.js:249:22) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: [ 'a cookie', <Buffer 61 6e 6f 74 68 65 72 20 63 6f 6f 6b 69 65>, <Buffer 6d 6f 72 65 20 63 6f 6f 6b 69 65 73> ],
expected: [ 'a cookie', 'another cookie', 'more cookies' ],
operator: 'deepStrictEqual'
}
}
|
test\client.js:
test\client.js#L1
[Error [ERR_TEST_FAILURE]: test timed out after 30000ms] { code: 'ERR_TEST_FAILURE', failureType: 'testTimeoutFailure', cause: 'test timed out after 30000ms' }
|
test (21, windows-latest) / Test with Node.js 21 on windows-latest
Process completed with exit code 1.
|
MockAgent - headers should be array of strings:
test\mock-agent.js#L2598
[Error [ERR_TEST_FAILURE]: Expected values to be strictly deep-equal:
+ actual - expected
[
'foo=bar',
+ Buffer(7) [Uint8Array] [
+ 98,
+ 97,
+ 114,
+ 61,
+ 98,
+ 97,
+ 122
+ ],
+ Buffer(7) [Uint8Array] [
+ 98,
+ 97,
+ 122,
+ 61,
+ 113,
+ 117,
+ 120
+ ]
- 'bar=baz',
- 'baz=qux'
]] {
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal:
+ actual - expected
[
'foo=bar',
+ Buffer(7) [Uint8Array] [
+ 98,
+ 97,
+ 114,
+ 61,
+ 98,
+ 97,
+ 122
+ ],
+ Buffer(7) [Uint8Array] [
+ 98,
+ 97,
+ 122,
+ 61,
+ 113,
+ 117,
+ 120
+ ]
- 'bar=baz',
- 'baz=qux'
]
at res.<computed> [as deepStrictEqual] (D:\a\undici\undici\node_modules\@matteo.collina\tspl\tspl.js:52:35)
at TestContext.<anonymous> (D:\a\undici\undici\test\mock-agent.js:2598:5)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Test.run (node:internal/test_runner/test:632:9)
at async Test.processPendingSubtests (node:internal/test_runner/test:374:7) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: [ 'foo=bar', <Buffer 62 61 72 3d 62 61 7a>, <Buffer 62 61 7a 3d 71 75 78> ],
expected: [ 'foo=bar', 'bar=baz', 'baz=qux' ],
operator: 'deepStrictEqual'
},
code: 'ERR_TEST_FAILURE'
}
|
Set-Cookie:
test\client.js#L1210
Error [ERR_TEST_FAILURE]: Expected values to be strictly deep-equal:
+ actual - expected
[
'a cookie',
+ Buffer(14) [Uint8Array] [
+ 97,
+ 110,
+ 111,
+ 116,
+ 104,
+ 101,
+ 114,
+ 32,
+ 99,
+ 111,
+ 111,
+ 107,
+ 105,
+ 101
+ ],
+ Buffer(12) [Uint8Array] [
+ 109,
+ 111,
+ 114,
+ 101,
+ 32,
+ 99,
+ 111,
+ 111,
+ 107,
+ 105,
+ 101,
+ 115
+ ]
- 'another cookie',
- 'more cookies'
]
at process.emit (node:events:517:28) {
failureType: 'uncaughtException',
cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal:
+ actual - expected
[
'a cookie',
+ Buffer(14) [Uint8Array] [
+ 97,
+ 110,
+ 111,
+ 116,
+ 104,
+ 101,
+ 114,
+ 32,
+ 99,
+ 111,
+ 111,
+ 107,
+ 105,
+ 101
+ ],
+ Buffer(12) [Uint8Array] [
+ 109,
+ 111,
+ 114,
+ 101,
+ 32,
+ 99,
+ 111,
+ 111,
+ 107,
+ 105,
+ 101,
+ 115
+ ]
- 'another cookie',
- 'more cookies'
]
at res.<computed> [as deepStrictEqual] (D:\a\undici\undici\node_modules\@matteo.collina\tspl\tspl.js:52:35)
at D:\a\undici\undici\test\client.js:1210:9
at RequestHandler.runInAsyncScope (node:async_hooks:203:9)
at RequestHandler.onHeaders (D:\a\undici\undici\lib\api\api-request.js:140:14)
at Request.onHeaders (D:\a\undici\undici\lib\core\request.js:243:29)
at Parser.onHeadersComplete (D:\a\undici\undici\lib\dispatcher\client-h1.js:494:27)
at wasm_on_headers_complete (D:\a\undici\undici\lib\dispatcher\client-h1.js:108:30)
at wasm://wasm/0002f80e:wasm-function[10]:0x474
at wasm://wasm/0002f80e:wasm-function[20]:0x67b2
at Parser.execute (D:\a\undici\undici\lib\dispatcher\client-h1.js:249:22) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: [ 'a cookie', <Buffer 61 6e 6f 74 68 65 72 20 63 6f 6f 6b 69 65>, <Buffer 6d 6f 72 65 20 63 6f 6f 6b 69 65 73> ],
expected: [ 'a cookie', 'another cookie', 'more cookies' ],
operator: 'deepStrictEqual'
},
code: 'ERR_TEST_FAILURE'
}
|
test\client.js:
test\client.js#L1
[Error [ERR_TEST_FAILURE]: test timed out after 30000ms] { failureType: 'testTimeoutFailure', cause: 'test timed out after 30000ms', code: 'ERR_TEST_FAILURE' }
|
test (18, windows-latest) / Test with Node.js 18 on windows-latest
Process completed with exit code 1.
|
MockAgent - headers should be array of strings:
test/mock-agent.js#L2598
[Error [ERR_TEST_FAILURE]: Expected values to be strictly deep-equal:
+ actual - expected
[
'foo=bar',
+ Buffer(7) [Uint8Array] [
+ 98,
+ 97,
+ 114,
+ 61,
+ 98,
+ 97,
+ 122
+ ],
+ Buffer(7) [Uint8Array] [
+ 98,
+ 97,
+ 122,
+ 61,
+ 113,
+ 117,
+ 120
+ ]
- 'bar=baz',
- 'baz=qux'
]] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal:
+ actual - expected
[
'foo=bar',
+ Buffer(7) [Uint8Array] [
+ 98,
+ 97,
+ 114,
+ 61,
+ 98,
+ 97,
+ 122
+ ],
+ Buffer(7) [Uint8Array] [
+ 98,
+ 97,
+ 122,
+ 61,
+ 113,
+ 117,
+ 120
+ ]
- 'bar=baz',
- 'baz=qux'
]
at res.<computed> [as deepStrictEqual] (/home/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35)
at TestContext.<anonymous> (/home/runner/work/undici/undici/test/mock-agent.js:2598:5)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Test.run (node:internal/test_runner/test:640:9)
at async Test.processPendingSubtests (node:internal/test_runner/test:382:7) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: [ 'foo=bar', <Buffer 62 61 72 3d 62 61 7a>, <Buffer 62 61 7a 3d 71 75 78> ],
expected: [ 'foo=bar', 'bar=baz', 'baz=qux' ],
operator: 'deepStrictEqual'
}
}
|
Set-Cookie:
test/client.js#L1210
Error [ERR_TEST_FAILURE]: Expected values to be strictly deep-equal:
+ actual - expected
[
'a cookie',
+ Buffer(14) [Uint8Array] [
+ 97,
+ 110,
+ 111,
+ 116,
+ 104,
+ 101,
+ 114,
+ 32,
+ 99,
+ 111,
+ 111,
+ 107,
+ 105,
+ 101
+ ],
+ Buffer(12) [Uint8Array] [
+ 109,
+ 111,
+ 114,
+ 101,
+ 32,
+ 99,
+ 111,
+ 111,
+ 107,
+ 105,
+ 101,
+ 115
+ ]
- 'another cookie',
- 'more cookies'
]
at process.emit (node:events:519:28) {
code: 'ERR_TEST_FAILURE',
failureType: 'uncaughtException',
cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal:
+ actual - expected
[
'a cookie',
+ Buffer(14) [Uint8Array] [
+ 97,
+ 110,
+ 111,
+ 116,
+ 104,
+ 101,
+ 114,
+ 32,
+ 99,
+ 111,
+ 111,
+ 107,
+ 105,
+ 101
+ ],
+ Buffer(12) [Uint8Array] [
+ 109,
+ 111,
+ 114,
+ 101,
+ 32,
+ 99,
+ 111,
+ 111,
+ 107,
+ 105,
+ 101,
+ 115
+ ]
- 'another cookie',
- 'more cookies'
]
at res.<computed> [as deepStrictEqual] (/home/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35)
at /home/runner/work/undici/undici/test/client.js:1210:9
at RequestHandler.runInAsyncScope (node:async_hooks:206:9)
at RequestHandler.onHeaders (/home/runner/work/undici/undici/lib/api/api-request.js:140:14)
at Request.onHeaders (/home/runner/work/undici/undici/lib/core/request.js:243:29)
at Parser.onHeadersComplete (/home/runner/work/undici/undici/lib/dispatcher/client-h1.js:494:27)
at wasm_on_headers_complete (/home/runner/work/undici/undici/lib/dispatcher/client-h1.js:108:30)
at wasm://wasm/0002f80e:wasm-function[10]:0x474
at wasm://wasm/0002f80e:wasm-function[20]:0x67b2
at Parser.execute (/home/runner/work/undici/undici/lib/dispatcher/client-h1.js:249:22) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: [ 'a cookie', <Buffer 61 6e 6f 74 68 65 72 20 63 6f 6f 6b 69 65>, <Buffer 6d 6f 72 65 20 63 6f 6f 6b 69 65 73> ],
expected: [ 'a cookie', 'another cookie', 'more cookies' ],
operator: 'deepStrictEqual'
}
}
|
test/client.js:
test/client.js#L1
[Error [ERR_TEST_FAILURE]: test timed out after 30000ms] { code: 'ERR_TEST_FAILURE', failureType: 'testTimeoutFailure', cause: 'test timed out after 30000ms' }
|
Test with Node.js 21 compiled --without-intl
Process completed with exit code 1.
|
MockAgent - headers should be array of strings:
test/mock-agent.js#L2598
[Error [ERR_TEST_FAILURE]: Expected values to be strictly deep-equal:
+ actual - expected
[
'foo=bar',
+ Buffer(7) [Uint8Array] [
+ 98,
+ 97,
+ 114,
+ 61,
+ 98,
+ 97,
+ 122
+ ],
+ Buffer(7) [Uint8Array] [
+ 98,
+ 97,
+ 122,
+ 61,
+ 113,
+ 117,
+ 120
+ ]
- 'bar=baz',
- 'baz=qux'
]] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal:
+ actual - expected
[
'foo=bar',
+ Buffer(7) [Uint8Array] [
+ 98,
+ 97,
+ 114,
+ 61,
+ 98,
+ 97,
+ 122
+ ],
+ Buffer(7) [Uint8Array] [
+ 98,
+ 97,
+ 122,
+ 61,
+ 113,
+ 117,
+ 120
+ ]
- 'bar=baz',
- 'baz=qux'
]
at res.<computed> [as deepStrictEqual] (/home/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35)
at TestContext.<anonymous> (/home/runner/work/undici/undici/test/mock-agent.js:2598:5)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Test.run (node:internal/test_runner/test:748:9)
at async Test.processPendingSubtests (node:internal/test_runner/test:461:7) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: [ 'foo=bar', <Buffer 62 61 72 3d 62 61 7a>, <Buffer 62 61 7a 3d 71 75 78> ],
expected: [ 'foo=bar', 'bar=baz', 'baz=qux' ],
operator: 'deepStrictEqual'
}
}
|
Set-Cookie:
test/client.js#L1210
Error [ERR_TEST_FAILURE]: Expected values to be strictly deep-equal:
+ actual - expected
[
'a cookie',
+ Buffer(14) [Uint8Array] [
+ 97,
+ 110,
+ 111,
+ 116,
+ 104,
+ 101,
+ 114,
+ 32,
+ 99,
+ 111,
+ 111,
+ 107,
+ 105,
+ 101
+ ],
+ Buffer(12) [Uint8Array] [
+ 109,
+ 111,
+ 114,
+ 101,
+ 32,
+ 99,
+ 111,
+ 111,
+ 107,
+ 105,
+ 101,
+ 115
+ ]
- 'another cookie',
- 'more cookies'
]
at process.emit (node:events:520:28) {
code: 'ERR_TEST_FAILURE',
failureType: 'uncaughtException',
cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal:
+ actual - expected
[
'a cookie',
+ Buffer(14) [Uint8Array] [
+ 97,
+ 110,
+ 111,
+ 116,
+ 104,
+ 101,
+ 114,
+ 32,
+ 99,
+ 111,
+ 111,
+ 107,
+ 105,
+ 101
+ ],
+ Buffer(12) [Uint8Array] [
+ 109,
+ 111,
+ 114,
+ 101,
+ 32,
+ 99,
+ 111,
+ 111,
+ 107,
+ 105,
+ 101,
+ 115
+ ]
- 'another cookie',
- 'more cookies'
]
at res.<computed> [as deepStrictEqual] (/home/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35)
at /home/runner/work/undici/undici/test/client.js:1210:9
at RequestHandler.runInAsyncScope (node:async_hooks:206:9)
at RequestHandler.onHeaders (/home/runner/work/undici/undici/lib/api/api-request.js:140:14)
at Request.onHeaders (/home/runner/work/undici/undici/lib/core/request.js:243:29)
at Parser.onHeadersComplete (/home/runner/work/undici/undici/lib/dispatcher/client-h1.js:494:27)
at wasm_on_headers_complete (/home/runner/work/undici/undici/lib/dispatcher/client-h1.js:108:30)
at wasm://wasm/0002f80e:wasm-function[10]:0x474
at wasm://wasm/0002f80e:wasm-function[20]:0x67b2
at Parser.execute (/home/runner/work/undici/undici/lib/dispatcher/client-h1.js:249:22) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: [ 'a cookie', <Buffer 61 6e 6f 74 68 65 72 20 63 6f 6f 6b 69 65>, <Buffer 6d 6f 72 65 20 63 6f 6f 6b 69 65 73> ],
expected: [ 'a cookie', 'another cookie', 'more cookies' ],
operator: 'deepStrictEqual'
}
}
|
test/client.js:
test/client.js#L1
[Error [ERR_TEST_FAILURE]: test timed out after 30000ms] { code: 'ERR_TEST_FAILURE', failureType: 'testTimeoutFailure', cause: 'test timed out after 30000ms' }
|
Test with Node.js 22 compiled --without-intl
Process completed with exit code 1.
|
MockAgent - headers should be array of strings:
test/mock-agent.js#L2598
[Error [ERR_TEST_FAILURE]: Expected values to be strictly deep-equal:
+ actual - expected
[
'foo=bar',
+ Buffer(7) [Uint8Array] [
+ 98,
+ 97,
+ 114,
+ 61,
+ 98,
+ 97,
+ 122
+ ],
+ Buffer(7) [Uint8Array] [
+ 98,
+ 97,
+ 122,
+ 61,
+ 113,
+ 117,
+ 120
+ ]
- 'bar=baz',
- 'baz=qux'
]] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal:
+ actual - expected
[
'foo=bar',
+ Buffer(7) [Uint8Array] [
+ 98,
+ 97,
+ 114,
+ 61,
+ 98,
+ 97,
+ 122
+ ],
+ Buffer(7) [Uint8Array] [
+ 98,
+ 97,
+ 122,
+ 61,
+ 113,
+ 117,
+ 120
+ ]
- 'bar=baz',
- 'baz=qux'
]
at res.<computed> [as deepStrictEqual] (/home/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35)
at TestContext.<anonymous> (/home/runner/work/undici/undici/test/mock-agent.js:2598:5)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Test.run (node:internal/test_runner/test:657:9)
at async Test.processPendingSubtests (node:internal/test_runner/test:389:7) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: [ 'foo=bar', <Buffer 62 61 72 3d 62 61 7a>, <Buffer 62 61 7a 3d 71 75 78> ],
expected: [ 'foo=bar', 'bar=baz', 'baz=qux' ],
operator: 'deepStrictEqual'
}
}
|
Set-Cookie:
test/client.js#L1210
Error [ERR_TEST_FAILURE]: Expected values to be strictly deep-equal:
+ actual - expected
[
'a cookie',
+ Buffer(14) [Uint8Array] [
+ 97,
+ 110,
+ 111,
+ 116,
+ 104,
+ 101,
+ 114,
+ 32,
+ 99,
+ 111,
+ 111,
+ 107,
+ 105,
+ 101
+ ],
+ Buffer(12) [Uint8Array] [
+ 109,
+ 111,
+ 114,
+ 101,
+ 32,
+ 99,
+ 111,
+ 111,
+ 107,
+ 105,
+ 101,
+ 115
+ ]
- 'another cookie',
- 'more cookies'
]
at process.emit (node:events:519:28) {
code: 'ERR_TEST_FAILURE',
failureType: 'uncaughtException',
cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal:
+ actual - expected
[
'a cookie',
+ Buffer(14) [Uint8Array] [
+ 97,
+ 110,
+ 111,
+ 116,
+ 104,
+ 101,
+ 114,
+ 32,
+ 99,
+ 111,
+ 111,
+ 107,
+ 105,
+ 101
+ ],
+ Buffer(12) [Uint8Array] [
+ 109,
+ 111,
+ 114,
+ 101,
+ 32,
+ 99,
+ 111,
+ 111,
+ 107,
+ 105,
+ 101,
+ 115
+ ]
- 'another cookie',
- 'more cookies'
]
at res.<computed> [as deepStrictEqual] (/home/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35)
at /home/runner/work/undici/undici/test/client.js:1210:9
at RequestHandler.runInAsyncScope (node:async_hooks:206:9)
at RequestHandler.onHeaders (/home/runner/work/undici/undici/lib/api/api-request.js:140:14)
at Request.onHeaders (/home/runner/work/undici/undici/lib/core/request.js:243:29)
at Parser.onHeadersComplete (/home/runner/work/undici/undici/lib/dispatcher/client-h1.js:494:27)
at wasm_on_headers_complete (/home/runner/work/undici/undici/lib/dispatcher/client-h1.js:108:30)
at wasm://wasm/0002f80e:wasm-function[10]:0x474
at wasm://wasm/0002f80e:wasm-function[20]:0x67b2
at Parser.execute (/home/runner/work/undici/undici/lib/dispatcher/client-h1.js:249:22) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: [ 'a cookie', <Buffer 61 6e 6f 74 68 65 72 20 63 6f 6f 6b 69 65>, <Buffer 6d 6f 72 65 20 63 6f 6f 6b 69 65 73> ],
expected: [ 'a cookie', 'another cookie', 'more cookies' ],
operator: 'deepStrictEqual'
}
}
|
test/client.js:
test/client.js#L1
[Error [ERR_TEST_FAILURE]: test timed out after 30000ms] { code: 'ERR_TEST_FAILURE', failureType: 'testTimeoutFailure', cause: 'test timed out after 30000ms' }
|
Test with Node.js 20 compiled --without-intl
Process completed with exit code 1.
|
MockAgent - headers should be array of strings:
test\mock-agent.js#L2598
[Error [ERR_TEST_FAILURE]: Expected values to be strictly deep-equal:
+ actual - expected
[
'foo=bar',
+ Buffer(7) [Uint8Array] [
+ 98,
+ 97,
+ 114,
+ 61,
+ 98,
+ 97,
+ 122
+ ],
+ Buffer(7) [Uint8Array] [
+ 98,
+ 97,
+ 122,
+ 61,
+ 113,
+ 117,
+ 120
+ ]
- 'bar=baz',
- 'baz=qux'
]] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal:
+ actual - expected
[
'foo=bar',
+ Buffer(7) [Uint8Array] [
+ 98,
+ 97,
+ 114,
+ 61,
+ 98,
+ 97,
+ 122
+ ],
+ Buffer(7) [Uint8Array] [
+ 98,
+ 97,
+ 122,
+ 61,
+ 113,
+ 117,
+ 120
+ ]
- 'bar=baz',
- 'baz=qux'
]
at res.<computed> [as deepStrictEqual] (D:\a\undici\undici\node_modules\@matteo.collina\tspl\tspl.js:52:35)
at TestContext.<anonymous> (D:\a\undici\undici\test\mock-agent.js:2598:5)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Test.run (node:internal/test_runner/test:640:9)
at async Test.processPendingSubtests (node:internal/test_runner/test:382:7) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: [ 'foo=bar', <Buffer 62 61 72 3d 62 61 7a>, <Buffer 62 61 7a 3d 71 75 78> ],
expected: [ 'foo=bar', 'bar=baz', 'baz=qux' ],
operator: 'deepStrictEqual'
}
}
|
Set-Cookie:
test\client.js#L1210
Error [ERR_TEST_FAILURE]: Expected values to be strictly deep-equal:
+ actual - expected
[
'a cookie',
+ Buffer(14) [Uint8Array] [
+ 97,
+ 110,
+ 111,
+ 116,
+ 104,
+ 101,
+ 114,
+ 32,
+ 99,
+ 111,
+ 111,
+ 107,
+ 105,
+ 101
+ ],
+ Buffer(12) [Uint8Array] [
+ 109,
+ 111,
+ 114,
+ 101,
+ 32,
+ 99,
+ 111,
+ 111,
+ 107,
+ 105,
+ 101,
+ 115
+ ]
- 'another cookie',
- 'more cookies'
]
at process.emit (node:events:518:28) {
code: 'ERR_TEST_FAILURE',
failureType: 'uncaughtException',
cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal:
+ actual - expected
[
'a cookie',
+ Buffer(14) [Uint8Array] [
+ 97,
+ 110,
+ 111,
+ 116,
+ 104,
+ 101,
+ 114,
+ 32,
+ 99,
+ 111,
+ 111,
+ 107,
+ 105,
+ 101
+ ],
+ Buffer(12) [Uint8Array] [
+ 109,
+ 111,
+ 114,
+ 101,
+ 32,
+ 99,
+ 111,
+ 111,
+ 107,
+ 105,
+ 101,
+ 115
+ ]
- 'another cookie',
- 'more cookies'
]
at res.<computed> [as deepStrictEqual] (D:\a\undici\undici\node_modules\@matteo.collina\tspl\tspl.js:52:35)
at D:\a\undici\undici\test\client.js:1210:9
at RequestHandler.runInAsyncScope (node:async_hooks:206:9)
at RequestHandler.onHeaders (D:\a\undici\undici\lib\api\api-request.js:140:14)
at Request.onHeaders (D:\a\undici\undici\lib\core\request.js:243:29)
at Parser.onHeadersComplete (D:\a\undici\undici\lib\dispatcher\client-h1.js:494:27)
at wasm_on_headers_complete (D:\a\undici\undici\lib\dispatcher\client-h1.js:108:30)
at wasm://wasm/0002f80e:wasm-function[10]:0x474
at wasm://wasm/0002f80e:wasm-function[20]:0x67b2
at Parser.execute (D:\a\undici\undici\lib\dispatcher\client-h1.js:249:22) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: [ 'a cookie', <Buffer 61 6e 6f 74 68 65 72 20 63 6f 6f 6b 69 65>, <Buffer 6d 6f 72 65 20 63 6f 6f 6b 69 65 73> ],
expected: [ 'a cookie', 'another cookie', 'more cookies' ],
operator: 'deepStrictEqual'
}
}
|
test\client.js:
test\client.js#L1
[Error [ERR_TEST_FAILURE]: test timed out after 30000ms] { code: 'ERR_TEST_FAILURE', failureType: 'testTimeoutFailure', cause: 'test timed out after 30000ms' }
|
test (20, windows-latest) / Test with Node.js 20 on windows-latest
Process completed with exit code 1.
|
test (20, ubuntu-latest) / Test with Node.js 20 on ubuntu-latest
Total Tests: 958
Suites 📂: 76
Passed ✅: 951
Failed ❌: 2
Canceled 🚫: 1
Skipped ⏭️: 4
Todo 📝: 0
Duration 🕐: 49577.237ms
|
test (21, ubuntu-latest) / Test with Node.js 21 on ubuntu-latest
Total Tests: 958
Suites 📂: 76
Passed ✅: 951
Failed ❌: 2
Canceled 🚫: 1
Skipped ⏭️: 4
Todo 📝: 0
Duration 🕐: 49032.344ms
|
test (18, ubuntu-latest) / Test with Node.js 18 on ubuntu-latest
Total Tests: 958
Suites 📂: 76
Passed ✅: 951
Failed ❌: 2
Canceled 🚫: 1
Skipped ⏭️: 4
Todo 📝: 0
Duration 🕐: 50020.937ms
|
test (22, ubuntu-latest) / Test with Node.js 22 on ubuntu-latest
Total Tests: 958
Suites 📂: 76
Passed ✅: 950
Failed ❌: 2
Canceled 🚫: 1
Skipped ⏭️: 5
Todo 📝: 0
Duration 🕐: 51445.394ms
|
test (18, macos-latest) / Test with Node.js 18 on macos-latest
Total Tests: 958
Suites 📂: 76
Passed ✅: 951
Failed ❌: 2
Canceled 🚫: 1
Skipped ⏭️: 4
Todo 📝: 0
Duration 🕐: 56451.286ms
|
test (21, macos-latest) / Test with Node.js 21 on macos-latest
Total Tests: 958
Suites 📂: 76
Passed ✅: 951
Failed ❌: 2
Canceled 🚫: 1
Skipped ⏭️: 4
Todo 📝: 0
Duration 🕐: 55733.173ms
|
test (22, macos-latest) / Test with Node.js 22 on macos-latest
Total Tests: 958
Suites 📂: 76
Passed ✅: 950
Failed ❌: 2
Canceled 🚫: 1
Skipped ⏭️: 5
Todo 📝: 0
Duration 🕐: 57566.026ms
|
test (20, macos-latest) / Test with Node.js 20 on macos-latest
Total Tests: 958
Suites 📂: 76
Passed ✅: 951
Failed ❌: 2
Canceled 🚫: 1
Skipped ⏭️: 4
Todo 📝: 0
Duration 🕐: 59971.611ms
|
test (22, windows-latest) / Test with Node.js 22 on windows-latest
Total Tests: 958
Suites 📂: 76
Passed ✅: 950
Failed ❌: 2
Canceled 🚫: 1
Skipped ⏭️: 5
Todo 📝: 0
Duration 🕐: 52138.663ms
|
test (21, windows-latest) / Test with Node.js 21 on windows-latest
Total Tests: 958
Suites 📂: 76
Passed ✅: 951
Failed ❌: 2
Canceled 🚫: 1
Skipped ⏭️: 4
Todo 📝: 0
Duration 🕐: 52370.766ms
|
test (18, windows-latest) / Test with Node.js 18 on windows-latest
Total Tests: 958
Suites 📂: 76
Passed ✅: 951
Failed ❌: 2
Canceled 🚫: 1
Skipped ⏭️: 4
Todo 📝: 0
Duration 🕐: 54421.835ms
|
Test with Node.js 21 compiled --without-intl
Total Tests: 958
Suites 📂: 76
Passed ✅: 951
Failed ❌: 2
Canceled 🚫: 1
Skipped ⏭️: 4
Todo 📝: 0
Duration 🕐: 49187.108ms
|
Test with Node.js 22 compiled --without-intl
Total Tests: 958
Suites 📂: 76
Passed ✅: 950
Failed ❌: 2
Canceled 🚫: 1
Skipped ⏭️: 5
Todo 📝: 0
Duration 🕐: 49515.182ms
|
Test with Node.js 20 compiled --without-intl
Total Tests: 958
Suites 📂: 76
Passed ✅: 950
Failed ❌: 2
Canceled 🚫: 1
Skipped ⏭️: 5
Todo 📝: 0
Duration 🕐: 50557.759ms
|
test (20, windows-latest) / Test with Node.js 20 on windows-latest
Total Tests: 958
Suites 📂: 76
Passed ✅: 951
Failed ❌: 2
Canceled 🚫: 1
Skipped ⏭️: 4
Todo 📝: 0
Duration 🕐: 57017.730ms
|