feat: implement BodyReadable.bytes
#14112
Annotations
5 errors and 1 notice
test/readable.js#L83
[Error [ERR_TEST_FAILURE]: Expected values to be strictly deep-equal:
+ actual - expected
ArrayBuffer {
+ [Uint8Contents]: <>,
+ byteLength: 0
- [Uint8Contents]: <68 65 6c 6c 6f 20 77 6f 72 6c 64>,
- byteLength: 11
}] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal:
+ actual - expected
ArrayBuffer {
+ [Uint8Contents]: <>,
+ byteLength: 0
- [Uint8Contents]: <68 65 6c 6c 6f 20 77 6f 72 6c 64>,
- byteLength: 11
}
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/readable.js:83:7)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Test.run (node:internal/test_runner/test:765:9)
at async Suite.processPendingSubtests (node:internal/test_runner/test:492:7) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: ArrayBuffer { [Uint8Contents]: <>, byteLength: 0 },
expected: ArrayBuffer { [Uint8Contents]: <68 65 6c 6c 6f 20 77 6f 72 6c 64>, byteLength: 11 },
operator: 'deepStrictEqual'
}
}
|
test/client-request.js#L651
Error [ERR_TEST_FAILURE]: Expected values to be strictly deep-equal:
+ actual - expected
+ Buffer(12) [Uint8Array] [
+ 123,
+ 34,
+ 97,
+ 115,
+ 100,
+ 34,
+ 58,
+ 116,
+ 114,
+ 117,
+ 101,
+ 125
+ ]
- Buffer(0) [Uint8Array] []
at process.emit (node:events:519:28) {
code: 'ERR_TEST_FAILURE',
failureType: 'unhandledRejection',
cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal:
+ actual - expected
+ Buffer(12) [Uint8Array] [
+ 123,
+ 34,
+ 97,
+ 115,
+ 100,
+ 34,
+ 58,
+ 116,
+ 114,
+ 117,
+ 101,
+ 125
+ ]
- Buffer(0) [Uint8Array] []
at res.<computed> [as deepStrictEqual] (/Users/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35)
at Server.<anonymous> (/Users/runner/work/undici/undici/test/client-request.js:651:7)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: <Buffer 7b 22 61 73 64 22 3a 74 72 75 65 7d>,
expected: <Buffer >,
operator: 'deepStrictEqual'
}
}
|
test/client-request.js#L677
Error [ERR_TEST_FAILURE]: Expected values to be strictly deep-equal:
+ actual - expected
+ Buffer(12) [Uint8Array] [
+ 123,
+ 34,
+ 97,
+ 115,
+ 100,
+ 34,
+ 58,
+ 116,
+ 114,
+ 117,
+ 101,
+ 125
+ ]
- Uint8Array(0) []
at process.emit (node:events:519:28) {
code: 'ERR_TEST_FAILURE',
failureType: 'unhandledRejection',
cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal:
+ actual - expected
+ Buffer(12) [Uint8Array] [
+ 123,
+ 34,
+ 97,
+ 115,
+ 100,
+ 34,
+ 58,
+ 116,
+ 114,
+ 117,
+ 101,
+ 125
+ ]
- Uint8Array(0) []
at res.<computed> [as deepStrictEqual] (/Users/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35)
at Server.<anonymous> (/Users/runner/work/undici/undici/test/client-request.js:677:7)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: <Buffer 7b 22 61 73 64 22 3a 74 72 75 65 7d>,
expected: Uint8Array(0) [],
operator: 'deepStrictEqual'
}
}
|
test/client-request.js#L1
[Error [ERR_TEST_FAILURE]: test timed out after 30000ms] { code: 'ERR_TEST_FAILURE', failureType: 'testTimeoutFailure', cause: 'test timed out after 30000ms' }
|
|
|
This job failed
Loading