chore!: drop interceptors #14150
nodejs.yml
on: pull_request
Matrix: test-without-intl
Matrix: test
dependency-review
9s
Lint
28s
Fuzzing
3m 25s
Test TypeScript types
31s
automerge
0s
Annotations
152 errors and 15 notices
Lint:
lib/api/api-request.js#L8
'RedirectHandler' is assigned a value but never used
|
Lint
Process completed with exit code 1.
|
should always have a history with the final URL even if no redirections were followed:
test/redirect-request.js#L33
[Error [ERR_TEST_FAILURE]: Cannot read properties of undefined (reading 'history')] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: TypeError [Error]: Cannot read properties of undefined (reading 'history')
at TestContext.<anonymous> (/home/runner/work/undici/undici/test/redirect-request.js:33:63)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Test.run (node:internal/test_runner/test:765:9)
at async Test.processPendingSubtests (node:internal/test_runner/test:492:7)
}
|
should follow redirection after a HTTP 300:
test/redirect-request.js#L67
[Error [ERR_TEST_FAILURE]: Cannot read properties of undefined (reading 'history')] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: TypeError [Error]: Cannot read properties of undefined (reading 'history')
at TestContext.<anonymous> (/home/runner/work/undici/undici/test/redirect-request.js:67:63)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Test.run (node:internal/test_runner/test:765:9)
at async Test.processPendingSubtests (node:internal/test_runner/test:492:7)
}
|
should follow redirection after a HTTP 300 default:
test/redirect-request.js#L93
[Error [ERR_TEST_FAILURE]: Cannot read properties of undefined (reading 'history')] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: TypeError [Error]: Cannot read properties of undefined (reading 'history')
at TestContext.<anonymous> (/home/runner/work/undici/undici/test/redirect-request.js:93:63)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Test.run (node:internal/test_runner/test:765:9)
at async Test.processPendingSubtests (node:internal/test_runner/test:492:7)
}
|
should follow redirection after a HTTP 301:
test/redirect-request.js#L124
[Error [ERR_TEST_FAILURE]: Expected values to be strictly equal:
301 !== 200
] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
301 !== 200
at res.<computed> [as strictEqual] (/home/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35)
at TestContext.<anonymous> (/home/runner/work/undici/undici/test/redirect-request.js:124:7)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Test.run (node:internal/test_runner/test:765:9)
at async Test.processPendingSubtests (node:internal/test_runner/test:492:7) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: 301,
expected: 200,
operator: 'strictEqual'
}
}
|
should follow redirection after a HTTP 302:
test/redirect-request.js#L141
[Error [ERR_TEST_FAILURE]: Expected values to be strictly equal:
302 !== 200
] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
302 !== 200
at res.<computed> [as strictEqual] (/home/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35)
at TestContext.<anonymous> (/home/runner/work/undici/undici/test/redirect-request.js:141:7)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Test.run (node:internal/test_runner/test:765:9)
at async Test.processPendingSubtests (node:internal/test_runner/test:492:7) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: 302,
expected: 200,
operator: 'strictEqual'
}
}
|
should follow redirection after a HTTP 303 changing method to GET:
test/redirect-request.js#L159
[Error [ERR_TEST_FAILURE]: Expected values to be strictly equal:
303 !== 200
] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
303 !== 200
at res.<computed> [as strictEqual] (/home/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35)
at TestContext.<anonymous> (/home/runner/work/undici/undici/test/redirect-request.js:159:7)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Test.run (node:internal/test_runner/test:765:9)
at async Test.processPendingSubtests (node:internal/test_runner/test:492:7) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: 303,
expected: 200,
operator: 'strictEqual'
}
}
|
should remove Host and request body related headers when following HTTP 303 (array):
test/redirect-request.js#L194
[Error [ERR_TEST_FAILURE]: Expected values to be strictly equal:
303 !== 200
] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
303 !== 200
at res.<computed> [as strictEqual] (/home/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35)
at TestContext.<anonymous> (/home/runner/work/undici/undici/test/redirect-request.js:194:7)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Test.run (node:internal/test_runner/test:765:9)
at async Test.processPendingSubtests (node:internal/test_runner/test:492:7) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: 303,
expected: 200,
operator: 'strictEqual'
}
}
|
should remove Host and request body related headers when following HTTP 303 (object):
test/redirect-request.js#L222
[Error [ERR_TEST_FAILURE]: Expected values to be strictly equal:
303 !== 200
] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
303 !== 200
at res.<computed> [as strictEqual] (/home/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35)
at TestContext.<anonymous> (/home/runner/work/undici/undici/test/redirect-request.js:222:7)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Test.run (node:internal/test_runner/test:765:9)
at async Test.processPendingSubtests (node:internal/test_runner/test:492:7) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: 303,
expected: 200,
operator: 'strictEqual'
}
}
|
should follow redirection after a HTTP 307:
test/redirect-request.js#L241
[Error [ERR_TEST_FAILURE]: Expected values to be strictly equal:
307 !== 200
] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
307 !== 200
at res.<computed> [as strictEqual] (/home/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35)
at TestContext.<anonymous> (/home/runner/work/undici/undici/test/redirect-request.js:241:7)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Test.run (node:internal/test_runner/test:765:9)
at async Test.processPendingSubtests (node:internal/test_runner/test:492:7) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: 307,
expected: 200,
operator: 'strictEqual'
}
}
|
should follow redirection after a HTTP 308:
test/redirect-request.js#L260
[Error [ERR_TEST_FAILURE]: Expected values to be strictly equal:
308 !== 200
] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
308 !== 200
at res.<computed> [as strictEqual] (/home/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35)
at TestContext.<anonymous> (/home/runner/work/undici/undici/test/redirect-request.js:260:7)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Test.run (node:internal/test_runner/test:765:9)
at async Test.processPendingSubtests (node:internal/test_runner/test:492:7) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: 308,
expected: 200,
operator: 'strictEqual'
}
}
|
should always have a history with the final URL even if no redirections were followed:
test/redirect-request.js#L33
[Error [ERR_TEST_FAILURE]: Cannot read properties of undefined (reading 'history')] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: TypeError [Error]: Cannot read properties of undefined (reading 'history')
at TestContext.<anonymous> (/home/runner/work/undici/undici/test/redirect-request.js:33:63)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Test.run (node:internal/test_runner/test:640:9)
at async startSubtest (node:internal/test_runner/harness:218:3)
}
|
should follow redirection after a HTTP 300:
test/redirect-request.js#L67
[Error [ERR_TEST_FAILURE]: Cannot read properties of undefined (reading 'history')] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: TypeError [Error]: Cannot read properties of undefined (reading 'history')
at TestContext.<anonymous> (/home/runner/work/undici/undici/test/redirect-request.js:67:63)
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)
}
|
should follow redirection after a HTTP 300 default:
test/redirect-request.js#L93
[Error [ERR_TEST_FAILURE]: Cannot read properties of undefined (reading 'history')] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: TypeError [Error]: Cannot read properties of undefined (reading 'history')
at TestContext.<anonymous> (/home/runner/work/undici/undici/test/redirect-request.js:93:63)
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)
}
|
should follow redirection after a HTTP 301:
test/redirect-request.js#L124
[Error [ERR_TEST_FAILURE]: Expected values to be strictly equal:
301 !== 200
] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
301 !== 200
at res.<computed> [as strictEqual] (/home/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35)
at TestContext.<anonymous> (/home/runner/work/undici/undici/test/redirect-request.js:124:7)
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: 301,
expected: 200,
operator: 'strictEqual'
}
}
|
should follow redirection after a HTTP 302:
test/redirect-request.js#L141
[Error [ERR_TEST_FAILURE]: Expected values to be strictly equal:
302 !== 200
] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
302 !== 200
at res.<computed> [as strictEqual] (/home/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35)
at TestContext.<anonymous> (/home/runner/work/undici/undici/test/redirect-request.js:141:7)
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: 302,
expected: 200,
operator: 'strictEqual'
}
}
|
should follow redirection after a HTTP 303 changing method to GET:
test/redirect-request.js#L159
[Error [ERR_TEST_FAILURE]: Expected values to be strictly equal:
303 !== 200
] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
303 !== 200
at res.<computed> [as strictEqual] (/home/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35)
at TestContext.<anonymous> (/home/runner/work/undici/undici/test/redirect-request.js:159:7)
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: 303,
expected: 200,
operator: 'strictEqual'
}
}
|
should remove Host and request body related headers when following HTTP 303 (array):
test/redirect-request.js#L194
[Error [ERR_TEST_FAILURE]: Expected values to be strictly equal:
303 !== 200
] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
303 !== 200
at res.<computed> [as strictEqual] (/home/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35)
at TestContext.<anonymous> (/home/runner/work/undici/undici/test/redirect-request.js:194:7)
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: 303,
expected: 200,
operator: 'strictEqual'
}
}
|
should remove Host and request body related headers when following HTTP 303 (object):
test/redirect-request.js#L222
[Error [ERR_TEST_FAILURE]: Expected values to be strictly equal:
303 !== 200
] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
303 !== 200
at res.<computed> [as strictEqual] (/home/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35)
at TestContext.<anonymous> (/home/runner/work/undici/undici/test/redirect-request.js:222:7)
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: 303,
expected: 200,
operator: 'strictEqual'
}
}
|
should follow redirection after a HTTP 307:
test/redirect-request.js#L241
[Error [ERR_TEST_FAILURE]: Expected values to be strictly equal:
307 !== 200
] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
307 !== 200
at res.<computed> [as strictEqual] (/home/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35)
at TestContext.<anonymous> (/home/runner/work/undici/undici/test/redirect-request.js:241:7)
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: 307,
expected: 200,
operator: 'strictEqual'
}
}
|
should follow redirection after a HTTP 308:
test/redirect-request.js#L260
[Error [ERR_TEST_FAILURE]: Expected values to be strictly equal:
308 !== 200
] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
308 !== 200
at res.<computed> [as strictEqual] (/home/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35)
at TestContext.<anonymous> (/home/runner/work/undici/undici/test/redirect-request.js:260:7)
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: 308,
expected: 200,
operator: 'strictEqual'
}
}
|
should always have a history with the final URL even if no redirections were followed:
test/redirect-request.js#L33
[Error [ERR_TEST_FAILURE]: Cannot read properties of undefined (reading 'history')] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: TypeError [Error]: Cannot read properties of undefined (reading 'history')
at TestContext.<anonymous> (/home/runner/work/undici/undici/test/redirect-request.js:33:63)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Test.run (node:internal/test_runner/test:857:9)
at async Test.processPendingSubtests (node:internal/test_runner/test:565:7)
}
|
should follow redirection after a HTTP 300:
test/redirect-request.js#L67
[Error [ERR_TEST_FAILURE]: Cannot read properties of undefined (reading 'history')] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: TypeError [Error]: Cannot read properties of undefined (reading 'history')
at TestContext.<anonymous> (/home/runner/work/undici/undici/test/redirect-request.js:67:63)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Test.run (node:internal/test_runner/test:857:9)
at async Test.processPendingSubtests (node:internal/test_runner/test:565:7)
}
|
should follow redirection after a HTTP 300 default:
test/redirect-request.js#L93
[Error [ERR_TEST_FAILURE]: Cannot read properties of undefined (reading 'history')] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: TypeError [Error]: Cannot read properties of undefined (reading 'history')
at TestContext.<anonymous> (/home/runner/work/undici/undici/test/redirect-request.js:93:63)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Test.run (node:internal/test_runner/test:857:9)
at async Test.processPendingSubtests (node:internal/test_runner/test:565:7)
}
|
should follow redirection after a HTTP 301:
test/redirect-request.js#L124
[Error [ERR_TEST_FAILURE]: Expected values to be strictly equal:
301 !== 200
] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
301 !== 200
at res.<computed> [as strictEqual] (/home/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35)
at TestContext.<anonymous> (/home/runner/work/undici/undici/test/redirect-request.js:124:7)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Test.run (node:internal/test_runner/test:857:9)
at async Test.processPendingSubtests (node:internal/test_runner/test:565:7) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: 301,
expected: 200,
operator: 'strictEqual'
}
}
|
should follow redirection after a HTTP 302:
test/redirect-request.js#L141
[Error [ERR_TEST_FAILURE]: Expected values to be strictly equal:
302 !== 200
] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
302 !== 200
at res.<computed> [as strictEqual] (/home/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35)
at TestContext.<anonymous> (/home/runner/work/undici/undici/test/redirect-request.js:141:7)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Test.run (node:internal/test_runner/test:857:9)
at async Test.processPendingSubtests (node:internal/test_runner/test:565:7) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: 302,
expected: 200,
operator: 'strictEqual'
}
}
|
should follow redirection after a HTTP 303 changing method to GET:
test/redirect-request.js#L159
[Error [ERR_TEST_FAILURE]: Expected values to be strictly equal:
303 !== 200
] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
303 !== 200
at res.<computed> [as strictEqual] (/home/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35)
at TestContext.<anonymous> (/home/runner/work/undici/undici/test/redirect-request.js:159:7)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Test.run (node:internal/test_runner/test:857:9)
at async Test.processPendingSubtests (node:internal/test_runner/test:565:7) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: 303,
expected: 200,
operator: 'strictEqual'
}
}
|
should remove Host and request body related headers when following HTTP 303 (array):
test/redirect-request.js#L194
[Error [ERR_TEST_FAILURE]: Expected values to be strictly equal:
303 !== 200
] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
303 !== 200
at res.<computed> [as strictEqual] (/home/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35)
at TestContext.<anonymous> (/home/runner/work/undici/undici/test/redirect-request.js:194:7)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Test.run (node:internal/test_runner/test:857:9)
at async Test.processPendingSubtests (node:internal/test_runner/test:565:7) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: 303,
expected: 200,
operator: 'strictEqual'
}
}
|
should remove Host and request body related headers when following HTTP 303 (object):
test/redirect-request.js#L222
[Error [ERR_TEST_FAILURE]: Expected values to be strictly equal:
303 !== 200
] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
303 !== 200
at res.<computed> [as strictEqual] (/home/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35)
at TestContext.<anonymous> (/home/runner/work/undici/undici/test/redirect-request.js:222:7)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Test.run (node:internal/test_runner/test:857:9)
at async Test.processPendingSubtests (node:internal/test_runner/test:565:7) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: 303,
expected: 200,
operator: 'strictEqual'
}
}
|
should follow redirection after a HTTP 307:
test/redirect-request.js#L241
[Error [ERR_TEST_FAILURE]: Expected values to be strictly equal:
307 !== 200
] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
307 !== 200
at res.<computed> [as strictEqual] (/home/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35)
at TestContext.<anonymous> (/home/runner/work/undici/undici/test/redirect-request.js:241:7)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Test.run (node:internal/test_runner/test:857:9)
at async Test.processPendingSubtests (node:internal/test_runner/test:565:7) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: 307,
expected: 200,
operator: 'strictEqual'
}
}
|
should follow redirection after a HTTP 308:
test/redirect-request.js#L260
[Error [ERR_TEST_FAILURE]: Expected values to be strictly equal:
308 !== 200
] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
308 !== 200
at res.<computed> [as strictEqual] (/home/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35)
at TestContext.<anonymous> (/home/runner/work/undici/undici/test/redirect-request.js:260:7)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Test.run (node:internal/test_runner/test:857:9)
at async Test.processPendingSubtests (node:internal/test_runner/test:565:7) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: 308,
expected: 200,
operator: 'strictEqual'
}
}
|
should always have a history with the final URL even if no redirections were followed:
test/redirect-request.js#L33
[Error [ERR_TEST_FAILURE]: Cannot read properties of undefined (reading 'history')] {
failureType: 'testCodeFailure',
cause: TypeError [Error]: Cannot read properties of undefined (reading 'history')
at TestContext.<anonymous> (/home/runner/work/undici/undici/test/redirect-request.js:33:63)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Test.run (node:internal/test_runner/test:632:9)
at async startSubtest (node:internal/test_runner/harness:214:3),
code: 'ERR_TEST_FAILURE'
}
|
should follow redirection after a HTTP 300:
test/redirect-request.js#L67
[Error [ERR_TEST_FAILURE]: Cannot read properties of undefined (reading 'history')] {
failureType: 'testCodeFailure',
cause: TypeError [Error]: Cannot read properties of undefined (reading 'history')
at TestContext.<anonymous> (/home/runner/work/undici/undici/test/redirect-request.js:67:63)
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),
code: 'ERR_TEST_FAILURE'
}
|
should follow redirection after a HTTP 300 default:
test/redirect-request.js#L93
[Error [ERR_TEST_FAILURE]: Cannot read properties of undefined (reading 'history')] {
failureType: 'testCodeFailure',
cause: TypeError [Error]: Cannot read properties of undefined (reading 'history')
at TestContext.<anonymous> (/home/runner/work/undici/undici/test/redirect-request.js:93:63)
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),
code: 'ERR_TEST_FAILURE'
}
|
should follow redirection after a HTTP 301:
test/redirect-request.js#L124
[Error [ERR_TEST_FAILURE]: Expected values to be strictly equal:
301 !== 200
] {
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
301 !== 200
at res.<computed> [as strictEqual] (/home/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35)
at TestContext.<anonymous> (/home/runner/work/undici/undici/test/redirect-request.js:124:7)
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: 301,
expected: 200,
operator: 'strictEqual'
},
code: 'ERR_TEST_FAILURE'
}
|
should follow redirection after a HTTP 302:
test/redirect-request.js#L141
[Error [ERR_TEST_FAILURE]: Expected values to be strictly equal:
302 !== 200
] {
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
302 !== 200
at res.<computed> [as strictEqual] (/home/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35)
at TestContext.<anonymous> (/home/runner/work/undici/undici/test/redirect-request.js:141:7)
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: 302,
expected: 200,
operator: 'strictEqual'
},
code: 'ERR_TEST_FAILURE'
}
|
should follow redirection after a HTTP 303 changing method to GET:
test/redirect-request.js#L159
[Error [ERR_TEST_FAILURE]: Expected values to be strictly equal:
303 !== 200
] {
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
303 !== 200
at res.<computed> [as strictEqual] (/home/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35)
at TestContext.<anonymous> (/home/runner/work/undici/undici/test/redirect-request.js:159:7)
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: 303,
expected: 200,
operator: 'strictEqual'
},
code: 'ERR_TEST_FAILURE'
}
|
should remove Host and request body related headers when following HTTP 303 (array):
test/redirect-request.js#L194
[Error [ERR_TEST_FAILURE]: Expected values to be strictly equal:
303 !== 200
] {
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
303 !== 200
at res.<computed> [as strictEqual] (/home/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35)
at TestContext.<anonymous> (/home/runner/work/undici/undici/test/redirect-request.js:194:7)
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: 303,
expected: 200,
operator: 'strictEqual'
},
code: 'ERR_TEST_FAILURE'
}
|
should remove Host and request body related headers when following HTTP 303 (object):
test/redirect-request.js#L222
[Error [ERR_TEST_FAILURE]: Expected values to be strictly equal:
303 !== 200
] {
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
303 !== 200
at res.<computed> [as strictEqual] (/home/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35)
at TestContext.<anonymous> (/home/runner/work/undici/undici/test/redirect-request.js:222:7)
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: 303,
expected: 200,
operator: 'strictEqual'
},
code: 'ERR_TEST_FAILURE'
}
|
should follow redirection after a HTTP 307:
test/redirect-request.js#L241
[Error [ERR_TEST_FAILURE]: Expected values to be strictly equal:
307 !== 200
] {
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
307 !== 200
at res.<computed> [as strictEqual] (/home/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35)
at TestContext.<anonymous> (/home/runner/work/undici/undici/test/redirect-request.js:241:7)
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: 307,
expected: 200,
operator: 'strictEqual'
},
code: 'ERR_TEST_FAILURE'
}
|
should follow redirection after a HTTP 308:
test/redirect-request.js#L260
[Error [ERR_TEST_FAILURE]: Expected values to be strictly equal:
308 !== 200
] {
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
308 !== 200
at res.<computed> [as strictEqual] (/home/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35)
at TestContext.<anonymous> (/home/runner/work/undici/undici/test/redirect-request.js:260:7)
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: 308,
expected: 200,
operator: 'strictEqual'
},
code: 'ERR_TEST_FAILURE'
}
|
should always have a history with the final URL even if no redirections were followed:
test/redirect-request.js#L33
[Error [ERR_TEST_FAILURE]: Cannot read properties of undefined (reading 'history')] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: TypeError [Error]: Cannot read properties of undefined (reading 'history')
at TestContext.<anonymous> (/Users/runner/work/undici/undici/test/redirect-request.js:33:63)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Test.run (node:internal/test_runner/test:765:9)
at async Test.processPendingSubtests (node:internal/test_runner/test:492:7)
}
|
should follow redirection after a HTTP 300:
test/redirect-request.js#L67
[Error [ERR_TEST_FAILURE]: Cannot read properties of undefined (reading 'history')] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: TypeError [Error]: Cannot read properties of undefined (reading 'history')
at TestContext.<anonymous> (/Users/runner/work/undici/undici/test/redirect-request.js:67:63)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Test.run (node:internal/test_runner/test:765:9)
at async Test.processPendingSubtests (node:internal/test_runner/test:492:7)
}
|
should follow redirection after a HTTP 300 default:
test/redirect-request.js#L93
[Error [ERR_TEST_FAILURE]: Cannot read properties of undefined (reading 'history')] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: TypeError [Error]: Cannot read properties of undefined (reading 'history')
at TestContext.<anonymous> (/Users/runner/work/undici/undici/test/redirect-request.js:93:63)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Test.run (node:internal/test_runner/test:765:9)
at async Test.processPendingSubtests (node:internal/test_runner/test:492:7)
}
|
should follow redirection after a HTTP 301:
test/redirect-request.js#L124
[Error [ERR_TEST_FAILURE]: Expected values to be strictly equal:
301 !== 200
] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
301 !== 200
at res.<computed> [as strictEqual] (/Users/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35)
at TestContext.<anonymous> (/Users/runner/work/undici/undici/test/redirect-request.js:124:7)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Test.run (node:internal/test_runner/test:765:9)
at async Test.processPendingSubtests (node:internal/test_runner/test:492:7) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: 301,
expected: 200,
operator: 'strictEqual'
}
}
|
should follow redirection after a HTTP 302:
test/redirect-request.js#L141
[Error [ERR_TEST_FAILURE]: Expected values to be strictly equal:
302 !== 200
] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
302 !== 200
at res.<computed> [as strictEqual] (/Users/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35)
at TestContext.<anonymous> (/Users/runner/work/undici/undici/test/redirect-request.js:141:7)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Test.run (node:internal/test_runner/test:765:9)
at async Test.processPendingSubtests (node:internal/test_runner/test:492:7) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: 302,
expected: 200,
operator: 'strictEqual'
}
}
|
should follow redirection after a HTTP 303 changing method to GET:
test/redirect-request.js#L159
[Error [ERR_TEST_FAILURE]: Expected values to be strictly equal:
303 !== 200
] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
303 !== 200
at res.<computed> [as strictEqual] (/Users/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35)
at TestContext.<anonymous> (/Users/runner/work/undici/undici/test/redirect-request.js:159:7)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Test.run (node:internal/test_runner/test:765:9)
at async Test.processPendingSubtests (node:internal/test_runner/test:492:7) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: 303,
expected: 200,
operator: 'strictEqual'
}
}
|
should remove Host and request body related headers when following HTTP 303 (array):
test/redirect-request.js#L194
[Error [ERR_TEST_FAILURE]: Expected values to be strictly equal:
303 !== 200
] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
303 !== 200
at res.<computed> [as strictEqual] (/Users/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35)
at TestContext.<anonymous> (/Users/runner/work/undici/undici/test/redirect-request.js:194:7)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Test.run (node:internal/test_runner/test:765:9)
at async Test.processPendingSubtests (node:internal/test_runner/test:492:7) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: 303,
expected: 200,
operator: 'strictEqual'
}
}
|
should remove Host and request body related headers when following HTTP 303 (object):
test/redirect-request.js#L222
[Error [ERR_TEST_FAILURE]: Expected values to be strictly equal:
303 !== 200
] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
303 !== 200
at res.<computed> [as strictEqual] (/Users/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35)
at TestContext.<anonymous> (/Users/runner/work/undici/undici/test/redirect-request.js:222:7)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Test.run (node:internal/test_runner/test:765:9)
at async Test.processPendingSubtests (node:internal/test_runner/test:492:7) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: 303,
expected: 200,
operator: 'strictEqual'
}
}
|
should follow redirection after a HTTP 307:
test/redirect-request.js#L241
[Error [ERR_TEST_FAILURE]: Expected values to be strictly equal:
307 !== 200
] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
307 !== 200
at res.<computed> [as strictEqual] (/Users/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35)
at TestContext.<anonymous> (/Users/runner/work/undici/undici/test/redirect-request.js:241:7)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Test.run (node:internal/test_runner/test:765:9)
at async Test.processPendingSubtests (node:internal/test_runner/test:492:7) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: 307,
expected: 200,
operator: 'strictEqual'
}
}
|
should follow redirection after a HTTP 308:
test/redirect-request.js#L260
[Error [ERR_TEST_FAILURE]: Expected values to be strictly equal:
308 !== 200
] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
308 !== 200
at res.<computed> [as strictEqual] (/Users/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35)
at TestContext.<anonymous> (/Users/runner/work/undici/undici/test/redirect-request.js:260:7)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Test.run (node:internal/test_runner/test:765:9)
at async Test.processPendingSubtests (node:internal/test_runner/test:492:7) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: 308,
expected: 200,
operator: 'strictEqual'
}
}
|
should always have a history with the final URL even if no redirections were followed:
test\redirect-request.js#L33
[Error [ERR_TEST_FAILURE]: Cannot read properties of undefined (reading 'history')] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: TypeError [Error]: Cannot read properties of undefined (reading 'history')
at TestContext.<anonymous> (D:\a\undici\undici\test\redirect-request.js:33:63)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Test.run (node:internal/test_runner/test:640:9)
at async startSubtest (node:internal/test_runner/harness:218:3)
}
|
should follow redirection after a HTTP 300:
test\redirect-request.js#L67
[Error [ERR_TEST_FAILURE]: Cannot read properties of undefined (reading 'history')] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: TypeError [Error]: Cannot read properties of undefined (reading 'history')
at TestContext.<anonymous> (D:\a\undici\undici\test\redirect-request.js:67:63)
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)
}
|
should follow redirection after a HTTP 300 default:
test\redirect-request.js#L93
[Error [ERR_TEST_FAILURE]: Cannot read properties of undefined (reading 'history')] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: TypeError [Error]: Cannot read properties of undefined (reading 'history')
at TestContext.<anonymous> (D:\a\undici\undici\test\redirect-request.js:93:63)
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)
}
|
should follow redirection after a HTTP 301:
test\redirect-request.js#L124
[Error [ERR_TEST_FAILURE]: Expected values to be strictly equal:
301 !== 200
] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
301 !== 200
at res.<computed> [as strictEqual] (D:\a\undici\undici\node_modules\@matteo.collina\tspl\tspl.js:52:35)
at TestContext.<anonymous> (D:\a\undici\undici\test\redirect-request.js:124:7)
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: 301,
expected: 200,
operator: 'strictEqual'
}
}
|
should follow redirection after a HTTP 302:
test\redirect-request.js#L141
[Error [ERR_TEST_FAILURE]: Expected values to be strictly equal:
302 !== 200
] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
302 !== 200
at res.<computed> [as strictEqual] (D:\a\undici\undici\node_modules\@matteo.collina\tspl\tspl.js:52:35)
at TestContext.<anonymous> (D:\a\undici\undici\test\redirect-request.js:141:7)
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: 302,
expected: 200,
operator: 'strictEqual'
}
}
|
should follow redirection after a HTTP 303 changing method to GET:
test\redirect-request.js#L159
[Error [ERR_TEST_FAILURE]: Expected values to be strictly equal:
303 !== 200
] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
303 !== 200
at res.<computed> [as strictEqual] (D:\a\undici\undici\node_modules\@matteo.collina\tspl\tspl.js:52:35)
at TestContext.<anonymous> (D:\a\undici\undici\test\redirect-request.js:159:7)
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: 303,
expected: 200,
operator: 'strictEqual'
}
}
|
should remove Host and request body related headers when following HTTP 303 (array):
test\redirect-request.js#L194
[Error [ERR_TEST_FAILURE]: Expected values to be strictly equal:
303 !== 200
] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
303 !== 200
at res.<computed> [as strictEqual] (D:\a\undici\undici\node_modules\@matteo.collina\tspl\tspl.js:52:35)
at TestContext.<anonymous> (D:\a\undici\undici\test\redirect-request.js:194:7)
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: 303,
expected: 200,
operator: 'strictEqual'
}
}
|
should remove Host and request body related headers when following HTTP 303 (object):
test\redirect-request.js#L222
[Error [ERR_TEST_FAILURE]: Expected values to be strictly equal:
303 !== 200
] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
303 !== 200
at res.<computed> [as strictEqual] (D:\a\undici\undici\node_modules\@matteo.collina\tspl\tspl.js:52:35)
at TestContext.<anonymous> (D:\a\undici\undici\test\redirect-request.js:222:7)
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: 303,
expected: 200,
operator: 'strictEqual'
}
}
|
should follow redirection after a HTTP 307:
test\redirect-request.js#L241
[Error [ERR_TEST_FAILURE]: Expected values to be strictly equal:
307 !== 200
] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
307 !== 200
at res.<computed> [as strictEqual] (D:\a\undici\undici\node_modules\@matteo.collina\tspl\tspl.js:52:35)
at TestContext.<anonymous> (D:\a\undici\undici\test\redirect-request.js:241:7)
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: 307,
expected: 200,
operator: 'strictEqual'
}
}
|
should follow redirection after a HTTP 308:
test\redirect-request.js#L260
[Error [ERR_TEST_FAILURE]: Expected values to be strictly equal:
308 !== 200
] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
308 !== 200
at res.<computed> [as strictEqual] (D:\a\undici\undici\node_modules\@matteo.collina\tspl\tspl.js:52:35)
at TestContext.<anonymous> (D:\a\undici\undici\test\redirect-request.js:260:7)
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: 308,
expected: 200,
operator: 'strictEqual'
}
}
|
should always have a history with the final URL even if no redirections were followed:
test/redirect-request.js#L33
[Error [ERR_TEST_FAILURE]: Cannot read properties of undefined (reading 'history')] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: TypeError [Error]: Cannot read properties of undefined (reading 'history')
at TestContext.<anonymous> (/Users/runner/work/undici/undici/test/redirect-request.js:33:63)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Test.run (node:internal/test_runner/test:857:9)
at async Test.processPendingSubtests (node:internal/test_runner/test:565:7)
}
|
should follow redirection after a HTTP 300:
test/redirect-request.js#L67
[Error [ERR_TEST_FAILURE]: Cannot read properties of undefined (reading 'history')] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: TypeError [Error]: Cannot read properties of undefined (reading 'history')
at TestContext.<anonymous> (/Users/runner/work/undici/undici/test/redirect-request.js:67:63)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Test.run (node:internal/test_runner/test:857:9)
at async Test.processPendingSubtests (node:internal/test_runner/test:565:7)
}
|
should follow redirection after a HTTP 300 default:
test/redirect-request.js#L93
[Error [ERR_TEST_FAILURE]: Cannot read properties of undefined (reading 'history')] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: TypeError [Error]: Cannot read properties of undefined (reading 'history')
at TestContext.<anonymous> (/Users/runner/work/undici/undici/test/redirect-request.js:93:63)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Test.run (node:internal/test_runner/test:857:9)
at async Test.processPendingSubtests (node:internal/test_runner/test:565:7)
}
|
should follow redirection after a HTTP 301:
test/redirect-request.js#L124
[Error [ERR_TEST_FAILURE]: Expected values to be strictly equal:
301 !== 200
] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
301 !== 200
at res.<computed> [as strictEqual] (/Users/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35)
at TestContext.<anonymous> (/Users/runner/work/undici/undici/test/redirect-request.js:124:7)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Test.run (node:internal/test_runner/test:857:9)
at async Test.processPendingSubtests (node:internal/test_runner/test:565:7) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: 301,
expected: 200,
operator: 'strictEqual'
}
}
|
should follow redirection after a HTTP 302:
test/redirect-request.js#L141
[Error [ERR_TEST_FAILURE]: Expected values to be strictly equal:
302 !== 200
] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
302 !== 200
at res.<computed> [as strictEqual] (/Users/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35)
at TestContext.<anonymous> (/Users/runner/work/undici/undici/test/redirect-request.js:141:7)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Test.run (node:internal/test_runner/test:857:9)
at async Test.processPendingSubtests (node:internal/test_runner/test:565:7) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: 302,
expected: 200,
operator: 'strictEqual'
}
}
|
should follow redirection after a HTTP 303 changing method to GET:
test/redirect-request.js#L159
[Error [ERR_TEST_FAILURE]: Expected values to be strictly equal:
303 !== 200
] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
303 !== 200
at res.<computed> [as strictEqual] (/Users/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35)
at TestContext.<anonymous> (/Users/runner/work/undici/undici/test/redirect-request.js:159:7)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Test.run (node:internal/test_runner/test:857:9)
at async Test.processPendingSubtests (node:internal/test_runner/test:565:7) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: 303,
expected: 200,
operator: 'strictEqual'
}
}
|
should remove Host and request body related headers when following HTTP 303 (array):
test/redirect-request.js#L194
[Error [ERR_TEST_FAILURE]: Expected values to be strictly equal:
303 !== 200
] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
303 !== 200
at res.<computed> [as strictEqual] (/Users/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35)
at TestContext.<anonymous> (/Users/runner/work/undici/undici/test/redirect-request.js:194:7)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Test.run (node:internal/test_runner/test:857:9)
at async Test.processPendingSubtests (node:internal/test_runner/test:565:7) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: 303,
expected: 200,
operator: 'strictEqual'
}
}
|
should remove Host and request body related headers when following HTTP 303 (object):
test/redirect-request.js#L222
[Error [ERR_TEST_FAILURE]: Expected values to be strictly equal:
303 !== 200
] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
303 !== 200
at res.<computed> [as strictEqual] (/Users/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35)
at TestContext.<anonymous> (/Users/runner/work/undici/undici/test/redirect-request.js:222:7)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Test.run (node:internal/test_runner/test:857:9)
at async Test.processPendingSubtests (node:internal/test_runner/test:565:7) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: 303,
expected: 200,
operator: 'strictEqual'
}
}
|
should follow redirection after a HTTP 307:
test/redirect-request.js#L241
[Error [ERR_TEST_FAILURE]: Expected values to be strictly equal:
307 !== 200
] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
307 !== 200
at res.<computed> [as strictEqual] (/Users/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35)
at TestContext.<anonymous> (/Users/runner/work/undici/undici/test/redirect-request.js:241:7)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Test.run (node:internal/test_runner/test:857:9)
at async Test.processPendingSubtests (node:internal/test_runner/test:565:7) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: 307,
expected: 200,
operator: 'strictEqual'
}
}
|
should follow redirection after a HTTP 308:
test/redirect-request.js#L260
[Error [ERR_TEST_FAILURE]: Expected values to be strictly equal:
308 !== 200
] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
308 !== 200
at res.<computed> [as strictEqual] (/Users/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35)
at TestContext.<anonymous> (/Users/runner/work/undici/undici/test/redirect-request.js:260:7)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Test.run (node:internal/test_runner/test:857:9)
at async Test.processPendingSubtests (node:internal/test_runner/test:565:7) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: 308,
expected: 200,
operator: 'strictEqual'
}
}
|
should always have a history with the final URL even if no redirections were followed:
test/redirect-request.js#L33
[Error [ERR_TEST_FAILURE]: Cannot read properties of undefined (reading 'history')] {
failureType: 'testCodeFailure',
cause: TypeError [Error]: Cannot read properties of undefined (reading 'history')
at TestContext.<anonymous> (/Users/runner/work/undici/undici/test/redirect-request.js:33:63)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Test.run (node:internal/test_runner/test:632:9)
at async startSubtest (node:internal/test_runner/harness:214:3),
code: 'ERR_TEST_FAILURE'
}
|
should follow redirection after a HTTP 300:
test/redirect-request.js#L67
[Error [ERR_TEST_FAILURE]: Cannot read properties of undefined (reading 'history')] {
failureType: 'testCodeFailure',
cause: TypeError [Error]: Cannot read properties of undefined (reading 'history')
at TestContext.<anonymous> (/Users/runner/work/undici/undici/test/redirect-request.js:67:63)
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),
code: 'ERR_TEST_FAILURE'
}
|
should follow redirection after a HTTP 300 default:
test/redirect-request.js#L93
[Error [ERR_TEST_FAILURE]: Cannot read properties of undefined (reading 'history')] {
failureType: 'testCodeFailure',
cause: TypeError [Error]: Cannot read properties of undefined (reading 'history')
at TestContext.<anonymous> (/Users/runner/work/undici/undici/test/redirect-request.js:93:63)
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),
code: 'ERR_TEST_FAILURE'
}
|
should follow redirection after a HTTP 301:
test/redirect-request.js#L124
[Error [ERR_TEST_FAILURE]: Expected values to be strictly equal:
301 !== 200
] {
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
301 !== 200
at res.<computed> [as strictEqual] (/Users/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35)
at TestContext.<anonymous> (/Users/runner/work/undici/undici/test/redirect-request.js:124:7)
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: 301,
expected: 200,
operator: 'strictEqual'
},
code: 'ERR_TEST_FAILURE'
}
|
should follow redirection after a HTTP 302:
test/redirect-request.js#L141
[Error [ERR_TEST_FAILURE]: Expected values to be strictly equal:
302 !== 200
] {
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
302 !== 200
at res.<computed> [as strictEqual] (/Users/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35)
at TestContext.<anonymous> (/Users/runner/work/undici/undici/test/redirect-request.js:141:7)
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: 302,
expected: 200,
operator: 'strictEqual'
},
code: 'ERR_TEST_FAILURE'
}
|
should follow redirection after a HTTP 303 changing method to GET:
test/redirect-request.js#L159
[Error [ERR_TEST_FAILURE]: Expected values to be strictly equal:
303 !== 200
] {
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
303 !== 200
at res.<computed> [as strictEqual] (/Users/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35)
at TestContext.<anonymous> (/Users/runner/work/undici/undici/test/redirect-request.js:159:7)
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: 303,
expected: 200,
operator: 'strictEqual'
},
code: 'ERR_TEST_FAILURE'
}
|
should remove Host and request body related headers when following HTTP 303 (array):
test/redirect-request.js#L194
[Error [ERR_TEST_FAILURE]: Expected values to be strictly equal:
303 !== 200
] {
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
303 !== 200
at res.<computed> [as strictEqual] (/Users/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35)
at TestContext.<anonymous> (/Users/runner/work/undici/undici/test/redirect-request.js:194:7)
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: 303,
expected: 200,
operator: 'strictEqual'
},
code: 'ERR_TEST_FAILURE'
}
|
should remove Host and request body related headers when following HTTP 303 (object):
test/redirect-request.js#L222
[Error [ERR_TEST_FAILURE]: Expected values to be strictly equal:
303 !== 200
] {
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
303 !== 200
at res.<computed> [as strictEqual] (/Users/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35)
at TestContext.<anonymous> (/Users/runner/work/undici/undici/test/redirect-request.js:222:7)
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: 303,
expected: 200,
operator: 'strictEqual'
},
code: 'ERR_TEST_FAILURE'
}
|
should follow redirection after a HTTP 307:
test/redirect-request.js#L241
[Error [ERR_TEST_FAILURE]: Expected values to be strictly equal:
307 !== 200
] {
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
307 !== 200
at res.<computed> [as strictEqual] (/Users/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35)
at TestContext.<anonymous> (/Users/runner/work/undici/undici/test/redirect-request.js:241:7)
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: 307,
expected: 200,
operator: 'strictEqual'
},
code: 'ERR_TEST_FAILURE'
}
|
should follow redirection after a HTTP 308:
test/redirect-request.js#L260
[Error [ERR_TEST_FAILURE]: Expected values to be strictly equal:
308 !== 200
] {
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
308 !== 200
at res.<computed> [as strictEqual] (/Users/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35)
at TestContext.<anonymous> (/Users/runner/work/undici/undici/test/redirect-request.js:260:7)
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: 308,
expected: 200,
operator: 'strictEqual'
},
code: 'ERR_TEST_FAILURE'
}
|
should always have a history with the final URL even if no redirections were followed:
test\redirect-request.js#L33
[Error [ERR_TEST_FAILURE]: Cannot read properties of undefined (reading 'history')] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: TypeError [Error]: Cannot read properties of undefined (reading 'history')
at TestContext.<anonymous> (D:\a\undici\undici\test\redirect-request.js:33:63)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Test.run (node:internal/test_runner/test:857:9)
at async Test.processPendingSubtests (node:internal/test_runner/test:565:7)
}
|
should follow redirection after a HTTP 300:
test\redirect-request.js#L67
[Error [ERR_TEST_FAILURE]: Cannot read properties of undefined (reading 'history')] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: TypeError [Error]: Cannot read properties of undefined (reading 'history')
at TestContext.<anonymous> (D:\a\undici\undici\test\redirect-request.js:67:63)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Test.run (node:internal/test_runner/test:857:9)
at async Test.processPendingSubtests (node:internal/test_runner/test:565:7)
}
|
should follow redirection after a HTTP 300 default:
test\redirect-request.js#L93
[Error [ERR_TEST_FAILURE]: Cannot read properties of undefined (reading 'history')] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: TypeError [Error]: Cannot read properties of undefined (reading 'history')
at TestContext.<anonymous> (D:\a\undici\undici\test\redirect-request.js:93:63)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Test.run (node:internal/test_runner/test:857:9)
at async Test.processPendingSubtests (node:internal/test_runner/test:565:7)
}
|
should follow redirection after a HTTP 301:
test\redirect-request.js#L124
[Error [ERR_TEST_FAILURE]: Expected values to be strictly equal:
301 !== 200
] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
301 !== 200
at res.<computed> [as strictEqual] (D:\a\undici\undici\node_modules\@matteo.collina\tspl\tspl.js:52:35)
at TestContext.<anonymous> (D:\a\undici\undici\test\redirect-request.js:124:7)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Test.run (node:internal/test_runner/test:857:9)
at async Test.processPendingSubtests (node:internal/test_runner/test:565:7) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: 301,
expected: 200,
operator: 'strictEqual'
}
}
|
should follow redirection after a HTTP 302:
test\redirect-request.js#L141
[Error [ERR_TEST_FAILURE]: Expected values to be strictly equal:
302 !== 200
] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
302 !== 200
at res.<computed> [as strictEqual] (D:\a\undici\undici\node_modules\@matteo.collina\tspl\tspl.js:52:35)
at TestContext.<anonymous> (D:\a\undici\undici\test\redirect-request.js:141:7)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Test.run (node:internal/test_runner/test:857:9)
at async Test.processPendingSubtests (node:internal/test_runner/test:565:7) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: 302,
expected: 200,
operator: 'strictEqual'
}
}
|
should follow redirection after a HTTP 303 changing method to GET:
test\redirect-request.js#L159
[Error [ERR_TEST_FAILURE]: Expected values to be strictly equal:
303 !== 200
] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
303 !== 200
at res.<computed> [as strictEqual] (D:\a\undici\undici\node_modules\@matteo.collina\tspl\tspl.js:52:35)
at TestContext.<anonymous> (D:\a\undici\undici\test\redirect-request.js:159:7)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Test.run (node:internal/test_runner/test:857:9)
at async Test.processPendingSubtests (node:internal/test_runner/test:565:7) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: 303,
expected: 200,
operator: 'strictEqual'
}
}
|
should remove Host and request body related headers when following HTTP 303 (array):
test\redirect-request.js#L194
[Error [ERR_TEST_FAILURE]: Expected values to be strictly equal:
303 !== 200
] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
303 !== 200
at res.<computed> [as strictEqual] (D:\a\undici\undici\node_modules\@matteo.collina\tspl\tspl.js:52:35)
at TestContext.<anonymous> (D:\a\undici\undici\test\redirect-request.js:194:7)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Test.run (node:internal/test_runner/test:857:9)
at async Test.processPendingSubtests (node:internal/test_runner/test:565:7) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: 303,
expected: 200,
operator: 'strictEqual'
}
}
|
should remove Host and request body related headers when following HTTP 303 (object):
test\redirect-request.js#L222
[Error [ERR_TEST_FAILURE]: Expected values to be strictly equal:
303 !== 200
] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
303 !== 200
at res.<computed> [as strictEqual] (D:\a\undici\undici\node_modules\@matteo.collina\tspl\tspl.js:52:35)
at TestContext.<anonymous> (D:\a\undici\undici\test\redirect-request.js:222:7)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Test.run (node:internal/test_runner/test:857:9)
at async Test.processPendingSubtests (node:internal/test_runner/test:565:7) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: 303,
expected: 200,
operator: 'strictEqual'
}
}
|
should follow redirection after a HTTP 307:
test\redirect-request.js#L241
[Error [ERR_TEST_FAILURE]: Expected values to be strictly equal:
307 !== 200
] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
307 !== 200
at res.<computed> [as strictEqual] (D:\a\undici\undici\node_modules\@matteo.collina\tspl\tspl.js:52:35)
at TestContext.<anonymous> (D:\a\undici\undici\test\redirect-request.js:241:7)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Test.run (node:internal/test_runner/test:857:9)
at async Test.processPendingSubtests (node:internal/test_runner/test:565:7) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: 307,
expected: 200,
operator: 'strictEqual'
}
}
|
should follow redirection after a HTTP 308:
test\redirect-request.js#L260
[Error [ERR_TEST_FAILURE]: Expected values to be strictly equal:
308 !== 200
] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
308 !== 200
at res.<computed> [as strictEqual] (D:\a\undici\undici\node_modules\@matteo.collina\tspl\tspl.js:52:35)
at TestContext.<anonymous> (D:\a\undici\undici\test\redirect-request.js:260:7)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Test.run (node:internal/test_runner/test:857:9)
at async Test.processPendingSubtests (node:internal/test_runner/test:565:7) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: 308,
expected: 200,
operator: 'strictEqual'
}
}
|
should always have a history with the final URL even if no redirections were followed:
test/redirect-request.js#L33
[Error [ERR_TEST_FAILURE]: Cannot read properties of undefined (reading 'history')] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: TypeError [Error]: Cannot read properties of undefined (reading 'history')
at TestContext.<anonymous> (/home/runner/work/undici/undici/test/redirect-request.js:33:63)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Test.run (node:internal/test_runner/test:765:9)
at async Test.processPendingSubtests (node:internal/test_runner/test:492:7)
}
|
should follow redirection after a HTTP 300:
test/redirect-request.js#L67
[Error [ERR_TEST_FAILURE]: Cannot read properties of undefined (reading 'history')] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: TypeError [Error]: Cannot read properties of undefined (reading 'history')
at TestContext.<anonymous> (/home/runner/work/undici/undici/test/redirect-request.js:67:63)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Test.run (node:internal/test_runner/test:765:9)
at async Test.processPendingSubtests (node:internal/test_runner/test:492:7)
}
|
should follow redirection after a HTTP 300 default:
test/redirect-request.js#L93
[Error [ERR_TEST_FAILURE]: Cannot read properties of undefined (reading 'history')] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: TypeError [Error]: Cannot read properties of undefined (reading 'history')
at TestContext.<anonymous> (/home/runner/work/undici/undici/test/redirect-request.js:93:63)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Test.run (node:internal/test_runner/test:765:9)
at async Test.processPendingSubtests (node:internal/test_runner/test:492:7)
}
|
should follow redirection after a HTTP 301:
test/redirect-request.js#L124
[Error [ERR_TEST_FAILURE]: Expected values to be strictly equal:
301 !== 200
] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
301 !== 200
at res.<computed> [as strictEqual] (/home/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35)
at TestContext.<anonymous> (/home/runner/work/undici/undici/test/redirect-request.js:124:7)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Test.run (node:internal/test_runner/test:765:9)
at async Test.processPendingSubtests (node:internal/test_runner/test:492:7) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: 301,
expected: 200,
operator: 'strictEqual'
}
}
|
should follow redirection after a HTTP 302:
test/redirect-request.js#L141
[Error [ERR_TEST_FAILURE]: Expected values to be strictly equal:
302 !== 200
] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
302 !== 200
at res.<computed> [as strictEqual] (/home/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35)
at TestContext.<anonymous> (/home/runner/work/undici/undici/test/redirect-request.js:141:7)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Test.run (node:internal/test_runner/test:765:9)
at async Test.processPendingSubtests (node:internal/test_runner/test:492:7) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: 302,
expected: 200,
operator: 'strictEqual'
}
}
|
should follow redirection after a HTTP 303 changing method to GET:
test/redirect-request.js#L159
[Error [ERR_TEST_FAILURE]: Expected values to be strictly equal:
303 !== 200
] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
303 !== 200
at res.<computed> [as strictEqual] (/home/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35)
at TestContext.<anonymous> (/home/runner/work/undici/undici/test/redirect-request.js:159:7)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Test.run (node:internal/test_runner/test:765:9)
at async Test.processPendingSubtests (node:internal/test_runner/test:492:7) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: 303,
expected: 200,
operator: 'strictEqual'
}
}
|
should remove Host and request body related headers when following HTTP 303 (array):
test/redirect-request.js#L194
[Error [ERR_TEST_FAILURE]: Expected values to be strictly equal:
303 !== 200
] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
303 !== 200
at res.<computed> [as strictEqual] (/home/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35)
at TestContext.<anonymous> (/home/runner/work/undici/undici/test/redirect-request.js:194:7)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Test.run (node:internal/test_runner/test:765:9)
at async Test.processPendingSubtests (node:internal/test_runner/test:492:7) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: 303,
expected: 200,
operator: 'strictEqual'
}
}
|
should remove Host and request body related headers when following HTTP 303 (object):
test/redirect-request.js#L222
[Error [ERR_TEST_FAILURE]: Expected values to be strictly equal:
303 !== 200
] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
303 !== 200
at res.<computed> [as strictEqual] (/home/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35)
at TestContext.<anonymous> (/home/runner/work/undici/undici/test/redirect-request.js:222:7)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Test.run (node:internal/test_runner/test:765:9)
at async Test.processPendingSubtests (node:internal/test_runner/test:492:7) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: 303,
expected: 200,
operator: 'strictEqual'
}
}
|
should follow redirection after a HTTP 307:
test/redirect-request.js#L241
[Error [ERR_TEST_FAILURE]: Expected values to be strictly equal:
307 !== 200
] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
307 !== 200
at res.<computed> [as strictEqual] (/home/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35)
at TestContext.<anonymous> (/home/runner/work/undici/undici/test/redirect-request.js:241:7)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Test.run (node:internal/test_runner/test:765:9)
at async Test.processPendingSubtests (node:internal/test_runner/test:492:7) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: 307,
expected: 200,
operator: 'strictEqual'
}
}
|
should follow redirection after a HTTP 308:
test/redirect-request.js#L260
[Error [ERR_TEST_FAILURE]: Expected values to be strictly equal:
308 !== 200
] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
308 !== 200
at res.<computed> [as strictEqual] (/home/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35)
at TestContext.<anonymous> (/home/runner/work/undici/undici/test/redirect-request.js:260:7)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Test.run (node:internal/test_runner/test:765:9)
at async Test.processPendingSubtests (node:internal/test_runner/test:492:7) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: 308,
expected: 200,
operator: 'strictEqual'
}
}
|
should always have a history with the final URL even if no redirections were followed:
test\redirect-request.js#L33
[Error [ERR_TEST_FAILURE]: Cannot read properties of undefined (reading 'history')] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: TypeError [Error]: Cannot read properties of undefined (reading 'history')
at TestContext.<anonymous> (D:\a\undici\undici\test\redirect-request.js:33:63)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Test.run (node:internal/test_runner/test:765:9)
at async Test.processPendingSubtests (node:internal/test_runner/test:492:7)
}
|
should follow redirection after a HTTP 300:
test\redirect-request.js#L67
[Error [ERR_TEST_FAILURE]: Cannot read properties of undefined (reading 'history')] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: TypeError [Error]: Cannot read properties of undefined (reading 'history')
at TestContext.<anonymous> (D:\a\undici\undici\test\redirect-request.js:67:63)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Test.run (node:internal/test_runner/test:765:9)
at async Test.processPendingSubtests (node:internal/test_runner/test:492:7)
}
|
should follow redirection after a HTTP 300 default:
test\redirect-request.js#L93
[Error [ERR_TEST_FAILURE]: Cannot read properties of undefined (reading 'history')] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: TypeError [Error]: Cannot read properties of undefined (reading 'history')
at TestContext.<anonymous> (D:\a\undici\undici\test\redirect-request.js:93:63)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Test.run (node:internal/test_runner/test:765:9)
at async Test.processPendingSubtests (node:internal/test_runner/test:492:7)
}
|
should follow redirection after a HTTP 301:
test\redirect-request.js#L124
[Error [ERR_TEST_FAILURE]: Expected values to be strictly equal:
301 !== 200
] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
301 !== 200
at res.<computed> [as strictEqual] (D:\a\undici\undici\node_modules\@matteo.collina\tspl\tspl.js:52:35)
at TestContext.<anonymous> (D:\a\undici\undici\test\redirect-request.js:124:7)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Test.run (node:internal/test_runner/test:765:9)
at async Test.processPendingSubtests (node:internal/test_runner/test:492:7) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: 301,
expected: 200,
operator: 'strictEqual'
}
}
|
should follow redirection after a HTTP 302:
test\redirect-request.js#L141
[Error [ERR_TEST_FAILURE]: Expected values to be strictly equal:
302 !== 200
] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
302 !== 200
at res.<computed> [as strictEqual] (D:\a\undici\undici\node_modules\@matteo.collina\tspl\tspl.js:52:35)
at TestContext.<anonymous> (D:\a\undici\undici\test\redirect-request.js:141:7)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Test.run (node:internal/test_runner/test:765:9)
at async Test.processPendingSubtests (node:internal/test_runner/test:492:7) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: 302,
expected: 200,
operator: 'strictEqual'
}
}
|
should follow redirection after a HTTP 303 changing method to GET:
test\redirect-request.js#L159
[Error [ERR_TEST_FAILURE]: Expected values to be strictly equal:
303 !== 200
] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
303 !== 200
at res.<computed> [as strictEqual] (D:\a\undici\undici\node_modules\@matteo.collina\tspl\tspl.js:52:35)
at TestContext.<anonymous> (D:\a\undici\undici\test\redirect-request.js:159:7)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Test.run (node:internal/test_runner/test:765:9)
at async Test.processPendingSubtests (node:internal/test_runner/test:492:7) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: 303,
expected: 200,
operator: 'strictEqual'
}
}
|
should remove Host and request body related headers when following HTTP 303 (array):
test\redirect-request.js#L194
[Error [ERR_TEST_FAILURE]: Expected values to be strictly equal:
303 !== 200
] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
303 !== 200
at res.<computed> [as strictEqual] (D:\a\undici\undici\node_modules\@matteo.collina\tspl\tspl.js:52:35)
at TestContext.<anonymous> (D:\a\undici\undici\test\redirect-request.js:194:7)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Test.run (node:internal/test_runner/test:765:9)
at async Test.processPendingSubtests (node:internal/test_runner/test:492:7) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: 303,
expected: 200,
operator: 'strictEqual'
}
}
|
should remove Host and request body related headers when following HTTP 303 (object):
test\redirect-request.js#L222
[Error [ERR_TEST_FAILURE]: Expected values to be strictly equal:
303 !== 200
] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
303 !== 200
at res.<computed> [as strictEqual] (D:\a\undici\undici\node_modules\@matteo.collina\tspl\tspl.js:52:35)
at TestContext.<anonymous> (D:\a\undici\undici\test\redirect-request.js:222:7)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Test.run (node:internal/test_runner/test:765:9)
at async Test.processPendingSubtests (node:internal/test_runner/test:492:7) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: 303,
expected: 200,
operator: 'strictEqual'
}
}
|
should follow redirection after a HTTP 307:
test\redirect-request.js#L241
[Error [ERR_TEST_FAILURE]: Expected values to be strictly equal:
307 !== 200
] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
307 !== 200
at res.<computed> [as strictEqual] (D:\a\undici\undici\node_modules\@matteo.collina\tspl\tspl.js:52:35)
at TestContext.<anonymous> (D:\a\undici\undici\test\redirect-request.js:241:7)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Test.run (node:internal/test_runner/test:765:9)
at async Test.processPendingSubtests (node:internal/test_runner/test:492:7) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: 307,
expected: 200,
operator: 'strictEqual'
}
}
|
should follow redirection after a HTTP 308:
test\redirect-request.js#L260
[Error [ERR_TEST_FAILURE]: Expected values to be strictly equal:
308 !== 200
] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
308 !== 200
at res.<computed> [as strictEqual] (D:\a\undici\undici\node_modules\@matteo.collina\tspl\tspl.js:52:35)
at TestContext.<anonymous> (D:\a\undici\undici\test\redirect-request.js:260:7)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Test.run (node:internal/test_runner/test:765:9)
at async Test.processPendingSubtests (node:internal/test_runner/test:492:7) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: 308,
expected: 200,
operator: 'strictEqual'
}
}
|
should always have a history with the final URL even if no redirections were followed:
test/redirect-request.js#L33
[Error [ERR_TEST_FAILURE]: Cannot read properties of undefined (reading 'history')] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: TypeError [Error]: Cannot read properties of undefined (reading 'history')
at TestContext.<anonymous> (/Users/runner/work/undici/undici/test/redirect-request.js:33:63)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Test.run (node:internal/test_runner/test:640:9)
at async startSubtest (node:internal/test_runner/harness:218:3)
}
|
should follow redirection after a HTTP 300:
test/redirect-request.js#L67
[Error [ERR_TEST_FAILURE]: Cannot read properties of undefined (reading 'history')] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: TypeError [Error]: Cannot read properties of undefined (reading 'history')
at TestContext.<anonymous> (/Users/runner/work/undici/undici/test/redirect-request.js:67:63)
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)
}
|
should follow redirection after a HTTP 300 default:
test/redirect-request.js#L93
[Error [ERR_TEST_FAILURE]: Cannot read properties of undefined (reading 'history')] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: TypeError [Error]: Cannot read properties of undefined (reading 'history')
at TestContext.<anonymous> (/Users/runner/work/undici/undici/test/redirect-request.js:93:63)
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)
}
|
should follow redirection after a HTTP 301:
test/redirect-request.js#L124
[Error [ERR_TEST_FAILURE]: Expected values to be strictly equal:
301 !== 200
] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
301 !== 200
at res.<computed> [as strictEqual] (/Users/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35)
at TestContext.<anonymous> (/Users/runner/work/undici/undici/test/redirect-request.js:124:7)
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: 301,
expected: 200,
operator: 'strictEqual'
}
}
|
should follow redirection after a HTTP 302:
test/redirect-request.js#L141
[Error [ERR_TEST_FAILURE]: Expected values to be strictly equal:
302 !== 200
] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
302 !== 200
at res.<computed> [as strictEqual] (/Users/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35)
at TestContext.<anonymous> (/Users/runner/work/undici/undici/test/redirect-request.js:141:7)
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: 302,
expected: 200,
operator: 'strictEqual'
}
}
|
should follow redirection after a HTTP 303 changing method to GET:
test/redirect-request.js#L159
[Error [ERR_TEST_FAILURE]: Expected values to be strictly equal:
303 !== 200
] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
303 !== 200
at res.<computed> [as strictEqual] (/Users/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35)
at TestContext.<anonymous> (/Users/runner/work/undici/undici/test/redirect-request.js:159:7)
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: 303,
expected: 200,
operator: 'strictEqual'
}
}
|
should remove Host and request body related headers when following HTTP 303 (array):
test/redirect-request.js#L194
[Error [ERR_TEST_FAILURE]: Expected values to be strictly equal:
303 !== 200
] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
303 !== 200
at res.<computed> [as strictEqual] (/Users/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35)
at TestContext.<anonymous> (/Users/runner/work/undici/undici/test/redirect-request.js:194:7)
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: 303,
expected: 200,
operator: 'strictEqual'
}
}
|
should remove Host and request body related headers when following HTTP 303 (object):
test/redirect-request.js#L222
[Error [ERR_TEST_FAILURE]: Expected values to be strictly equal:
303 !== 200
] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
303 !== 200
at res.<computed> [as strictEqual] (/Users/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35)
at TestContext.<anonymous> (/Users/runner/work/undici/undici/test/redirect-request.js:222:7)
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: 303,
expected: 200,
operator: 'strictEqual'
}
}
|
should follow redirection after a HTTP 307:
test/redirect-request.js#L241
[Error [ERR_TEST_FAILURE]: Expected values to be strictly equal:
307 !== 200
] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
307 !== 200
at res.<computed> [as strictEqual] (/Users/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35)
at TestContext.<anonymous> (/Users/runner/work/undici/undici/test/redirect-request.js:241:7)
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: 307,
expected: 200,
operator: 'strictEqual'
}
}
|
should follow redirection after a HTTP 308:
test/redirect-request.js#L260
[Error [ERR_TEST_FAILURE]: Expected values to be strictly equal:
308 !== 200
] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
308 !== 200
at res.<computed> [as strictEqual] (/Users/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35)
at TestContext.<anonymous> (/Users/runner/work/undici/undici/test/redirect-request.js:260:7)
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: 308,
expected: 200,
operator: 'strictEqual'
}
}
|
should always have a history with the final URL even if no redirections were followed:
test/redirect-request.js#L33
[Error [ERR_TEST_FAILURE]: Cannot read properties of undefined (reading 'history')] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: TypeError [Error]: Cannot read properties of undefined (reading 'history')
at TestContext.<anonymous> (/home/runner/work/undici/undici/test/redirect-request.js:33:63)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Test.run (node:internal/test_runner/test:640:9)
at async startSubtest (node:internal/test_runner/harness:218:3)
}
|
should follow redirection after a HTTP 300:
test/redirect-request.js#L67
[Error [ERR_TEST_FAILURE]: Cannot read properties of undefined (reading 'history')] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: TypeError [Error]: Cannot read properties of undefined (reading 'history')
at TestContext.<anonymous> (/home/runner/work/undici/undici/test/redirect-request.js:67:63)
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)
}
|
should follow redirection after a HTTP 300 default:
test/redirect-request.js#L93
[Error [ERR_TEST_FAILURE]: Cannot read properties of undefined (reading 'history')] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: TypeError [Error]: Cannot read properties of undefined (reading 'history')
at TestContext.<anonymous> (/home/runner/work/undici/undici/test/redirect-request.js:93:63)
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)
}
|
should follow redirection after a HTTP 301:
test/redirect-request.js#L124
[Error [ERR_TEST_FAILURE]: Expected values to be strictly equal:
301 !== 200
] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
301 !== 200
at res.<computed> [as strictEqual] (/home/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35)
at TestContext.<anonymous> (/home/runner/work/undici/undici/test/redirect-request.js:124:7)
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: 301,
expected: 200,
operator: 'strictEqual'
}
}
|
should follow redirection after a HTTP 302:
test/redirect-request.js#L141
[Error [ERR_TEST_FAILURE]: Expected values to be strictly equal:
302 !== 200
] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
302 !== 200
at res.<computed> [as strictEqual] (/home/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35)
at TestContext.<anonymous> (/home/runner/work/undici/undici/test/redirect-request.js:141:7)
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: 302,
expected: 200,
operator: 'strictEqual'
}
}
|
should follow redirection after a HTTP 303 changing method to GET:
test/redirect-request.js#L159
[Error [ERR_TEST_FAILURE]: Expected values to be strictly equal:
303 !== 200
] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
303 !== 200
at res.<computed> [as strictEqual] (/home/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35)
at TestContext.<anonymous> (/home/runner/work/undici/undici/test/redirect-request.js:159:7)
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: 303,
expected: 200,
operator: 'strictEqual'
}
}
|
should remove Host and request body related headers when following HTTP 303 (array):
test/redirect-request.js#L194
[Error [ERR_TEST_FAILURE]: Expected values to be strictly equal:
303 !== 200
] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
303 !== 200
at res.<computed> [as strictEqual] (/home/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35)
at TestContext.<anonymous> (/home/runner/work/undici/undici/test/redirect-request.js:194:7)
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: 303,
expected: 200,
operator: 'strictEqual'
}
}
|
should remove Host and request body related headers when following HTTP 303 (object):
test/redirect-request.js#L222
[Error [ERR_TEST_FAILURE]: Expected values to be strictly equal:
303 !== 200
] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
303 !== 200
at res.<computed> [as strictEqual] (/home/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35)
at TestContext.<anonymous> (/home/runner/work/undici/undici/test/redirect-request.js:222:7)
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: 303,
expected: 200,
operator: 'strictEqual'
}
}
|
should follow redirection after a HTTP 307:
test/redirect-request.js#L241
[Error [ERR_TEST_FAILURE]: Expected values to be strictly equal:
307 !== 200
] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
307 !== 200
at res.<computed> [as strictEqual] (/home/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35)
at TestContext.<anonymous> (/home/runner/work/undici/undici/test/redirect-request.js:241:7)
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: 307,
expected: 200,
operator: 'strictEqual'
}
}
|
should follow redirection after a HTTP 308:
test/redirect-request.js#L260
[Error [ERR_TEST_FAILURE]: Expected values to be strictly equal:
308 !== 200
] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
308 !== 200
at res.<computed> [as strictEqual] (/home/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35)
at TestContext.<anonymous> (/home/runner/work/undici/undici/test/redirect-request.js:260:7)
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: 308,
expected: 200,
operator: 'strictEqual'
}
}
|
should always have a history with the final URL even if no redirections were followed:
test/redirect-request.js#L33
[Error [ERR_TEST_FAILURE]: Cannot read properties of undefined (reading 'history')] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: TypeError [Error]: Cannot read properties of undefined (reading 'history')
at TestContext.<anonymous> (/home/runner/work/undici/undici/test/redirect-request.js:33:63)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Test.run (node:internal/test_runner/test:857:9)
at async Test.processPendingSubtests (node:internal/test_runner/test:565:7)
}
|
should follow redirection after a HTTP 300:
test/redirect-request.js#L67
[Error [ERR_TEST_FAILURE]: Cannot read properties of undefined (reading 'history')] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: TypeError [Error]: Cannot read properties of undefined (reading 'history')
at TestContext.<anonymous> (/home/runner/work/undici/undici/test/redirect-request.js:67:63)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Test.run (node:internal/test_runner/test:857:9)
at async Test.processPendingSubtests (node:internal/test_runner/test:565:7)
}
|
should follow redirection after a HTTP 300 default:
test/redirect-request.js#L93
[Error [ERR_TEST_FAILURE]: Cannot read properties of undefined (reading 'history')] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: TypeError [Error]: Cannot read properties of undefined (reading 'history')
at TestContext.<anonymous> (/home/runner/work/undici/undici/test/redirect-request.js:93:63)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Test.run (node:internal/test_runner/test:857:9)
at async Test.processPendingSubtests (node:internal/test_runner/test:565:7)
}
|
should follow redirection after a HTTP 301:
test/redirect-request.js#L124
[Error [ERR_TEST_FAILURE]: Expected values to be strictly equal:
301 !== 200
] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
301 !== 200
at res.<computed> [as strictEqual] (/home/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35)
at TestContext.<anonymous> (/home/runner/work/undici/undici/test/redirect-request.js:124:7)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Test.run (node:internal/test_runner/test:857:9)
at async Test.processPendingSubtests (node:internal/test_runner/test:565:7) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: 301,
expected: 200,
operator: 'strictEqual'
}
}
|
should follow redirection after a HTTP 302:
test/redirect-request.js#L141
[Error [ERR_TEST_FAILURE]: Expected values to be strictly equal:
302 !== 200
] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
302 !== 200
at res.<computed> [as strictEqual] (/home/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35)
at TestContext.<anonymous> (/home/runner/work/undici/undici/test/redirect-request.js:141:7)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Test.run (node:internal/test_runner/test:857:9)
at async Test.processPendingSubtests (node:internal/test_runner/test:565:7) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: 302,
expected: 200,
operator: 'strictEqual'
}
}
|
should follow redirection after a HTTP 303 changing method to GET:
test/redirect-request.js#L159
[Error [ERR_TEST_FAILURE]: Expected values to be strictly equal:
303 !== 200
] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
303 !== 200
at res.<computed> [as strictEqual] (/home/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35)
at TestContext.<anonymous> (/home/runner/work/undici/undici/test/redirect-request.js:159:7)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Test.run (node:internal/test_runner/test:857:9)
at async Test.processPendingSubtests (node:internal/test_runner/test:565:7) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: 303,
expected: 200,
operator: 'strictEqual'
}
}
|
should remove Host and request body related headers when following HTTP 303 (array):
test/redirect-request.js#L194
[Error [ERR_TEST_FAILURE]: Expected values to be strictly equal:
303 !== 200
] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
303 !== 200
at res.<computed> [as strictEqual] (/home/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35)
at TestContext.<anonymous> (/home/runner/work/undici/undici/test/redirect-request.js:194:7)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Test.run (node:internal/test_runner/test:857:9)
at async Test.processPendingSubtests (node:internal/test_runner/test:565:7) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: 303,
expected: 200,
operator: 'strictEqual'
}
}
|
should remove Host and request body related headers when following HTTP 303 (object):
test/redirect-request.js#L222
[Error [ERR_TEST_FAILURE]: Expected values to be strictly equal:
303 !== 200
] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
303 !== 200
at res.<computed> [as strictEqual] (/home/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35)
at TestContext.<anonymous> (/home/runner/work/undici/undici/test/redirect-request.js:222:7)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Test.run (node:internal/test_runner/test:857:9)
at async Test.processPendingSubtests (node:internal/test_runner/test:565:7) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: 303,
expected: 200,
operator: 'strictEqual'
}
}
|
should follow redirection after a HTTP 307:
test/redirect-request.js#L241
[Error [ERR_TEST_FAILURE]: Expected values to be strictly equal:
307 !== 200
] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
307 !== 200
at res.<computed> [as strictEqual] (/home/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35)
at TestContext.<anonymous> (/home/runner/work/undici/undici/test/redirect-request.js:241:7)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Test.run (node:internal/test_runner/test:857:9)
at async Test.processPendingSubtests (node:internal/test_runner/test:565:7) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: 307,
expected: 200,
operator: 'strictEqual'
}
}
|
should follow redirection after a HTTP 308:
test/redirect-request.js#L260
[Error [ERR_TEST_FAILURE]: Expected values to be strictly equal:
308 !== 200
] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
308 !== 200
at res.<computed> [as strictEqual] (/home/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35)
at TestContext.<anonymous> (/home/runner/work/undici/undici/test/redirect-request.js:260:7)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Test.run (node:internal/test_runner/test:857:9)
at async Test.processPendingSubtests (node:internal/test_runner/test:565:7) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: 308,
expected: 200,
operator: 'strictEqual'
}
}
|
should always have a history with the final URL even if no redirections were followed:
test\redirect-request.js#L33
[Error [ERR_TEST_FAILURE]: Cannot read properties of undefined (reading 'history')] {
failureType: 'testCodeFailure',
cause: TypeError [Error]: Cannot read properties of undefined (reading 'history')
at TestContext.<anonymous> (D:\a\undici\undici\test\redirect-request.js:33:63)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Test.run (node:internal/test_runner/test:632:9)
at async startSubtest (node:internal/test_runner/harness:214:3),
code: 'ERR_TEST_FAILURE'
}
|
should follow redirection after a HTTP 300:
test\redirect-request.js#L67
[Error [ERR_TEST_FAILURE]: Cannot read properties of undefined (reading 'history')] {
failureType: 'testCodeFailure',
cause: TypeError [Error]: Cannot read properties of undefined (reading 'history')
at TestContext.<anonymous> (D:\a\undici\undici\test\redirect-request.js:67:63)
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),
code: 'ERR_TEST_FAILURE'
}
|
should follow redirection after a HTTP 300 default:
test\redirect-request.js#L93
[Error [ERR_TEST_FAILURE]: Cannot read properties of undefined (reading 'history')] {
failureType: 'testCodeFailure',
cause: TypeError [Error]: Cannot read properties of undefined (reading 'history')
at TestContext.<anonymous> (D:\a\undici\undici\test\redirect-request.js:93:63)
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),
code: 'ERR_TEST_FAILURE'
}
|
should follow redirection after a HTTP 301:
test\redirect-request.js#L124
[Error [ERR_TEST_FAILURE]: Expected values to be strictly equal:
301 !== 200
] {
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
301 !== 200
at res.<computed> [as strictEqual] (D:\a\undici\undici\node_modules\@matteo.collina\tspl\tspl.js:52:35)
at TestContext.<anonymous> (D:\a\undici\undici\test\redirect-request.js:124:7)
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: 301,
expected: 200,
operator: 'strictEqual'
},
code: 'ERR_TEST_FAILURE'
}
|
should follow redirection after a HTTP 302:
test\redirect-request.js#L141
[Error [ERR_TEST_FAILURE]: Expected values to be strictly equal:
302 !== 200
] {
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
302 !== 200
at res.<computed> [as strictEqual] (D:\a\undici\undici\node_modules\@matteo.collina\tspl\tspl.js:52:35)
at TestContext.<anonymous> (D:\a\undici\undici\test\redirect-request.js:141:7)
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: 302,
expected: 200,
operator: 'strictEqual'
},
code: 'ERR_TEST_FAILURE'
}
|
should follow redirection after a HTTP 303 changing method to GET:
test\redirect-request.js#L159
[Error [ERR_TEST_FAILURE]: Expected values to be strictly equal:
303 !== 200
] {
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
303 !== 200
at res.<computed> [as strictEqual] (D:\a\undici\undici\node_modules\@matteo.collina\tspl\tspl.js:52:35)
at TestContext.<anonymous> (D:\a\undici\undici\test\redirect-request.js:159:7)
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: 303,
expected: 200,
operator: 'strictEqual'
},
code: 'ERR_TEST_FAILURE'
}
|
should remove Host and request body related headers when following HTTP 303 (array):
test\redirect-request.js#L194
[Error [ERR_TEST_FAILURE]: Expected values to be strictly equal:
303 !== 200
] {
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
303 !== 200
at res.<computed> [as strictEqual] (D:\a\undici\undici\node_modules\@matteo.collina\tspl\tspl.js:52:35)
at TestContext.<anonymous> (D:\a\undici\undici\test\redirect-request.js:194:7)
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: 303,
expected: 200,
operator: 'strictEqual'
},
code: 'ERR_TEST_FAILURE'
}
|
should remove Host and request body related headers when following HTTP 303 (object):
test\redirect-request.js#L222
[Error [ERR_TEST_FAILURE]: Expected values to be strictly equal:
303 !== 200
] {
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
303 !== 200
at res.<computed> [as strictEqual] (D:\a\undici\undici\node_modules\@matteo.collina\tspl\tspl.js:52:35)
at TestContext.<anonymous> (D:\a\undici\undici\test\redirect-request.js:222:7)
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: 303,
expected: 200,
operator: 'strictEqual'
},
code: 'ERR_TEST_FAILURE'
}
|
should follow redirection after a HTTP 307:
test\redirect-request.js#L241
[Error [ERR_TEST_FAILURE]: Expected values to be strictly equal:
307 !== 200
] {
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
307 !== 200
at res.<computed> [as strictEqual] (D:\a\undici\undici\node_modules\@matteo.collina\tspl\tspl.js:52:35)
at TestContext.<anonymous> (D:\a\undici\undici\test\redirect-request.js:241:7)
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: 307,
expected: 200,
operator: 'strictEqual'
},
code: 'ERR_TEST_FAILURE'
}
|
should follow redirection after a HTTP 308:
test\redirect-request.js#L260
[Error [ERR_TEST_FAILURE]: Expected values to be strictly equal:
308 !== 200
] {
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
308 !== 200
at res.<computed> [as strictEqual] (D:\a\undici\undici\node_modules\@matteo.collina\tspl\tspl.js:52:35)
at TestContext.<anonymous> (D:\a\undici\undici\test\redirect-request.js:260:7)
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: 308,
expected: 200,
operator: 'strictEqual'
},
code: 'ERR_TEST_FAILURE'
}
|
test (20, ubuntu-latest) / Test with Node.js 20 on ubuntu-latest
Total Tests: 917
Suites 📂: 76
Passed ✅: 892
Failed ❌: 17
Canceled 🚫: 3
Skipped ⏭️: 5
Todo 📝: 0
Duration 🕐: 58031.960ms
|
test (21, ubuntu-latest) / Test with Node.js 21 on ubuntu-latest
Total Tests: 917
Suites 📂: 76
Passed ✅: 893
Failed ❌: 17
Canceled 🚫: 3
Skipped ⏭️: 4
Todo 📝: 0
Duration 🕐: 57019.025ms
|
test (22, ubuntu-latest) / Test with Node.js 22 on ubuntu-latest
Total Tests: 917
Suites 📂: 76
Passed ✅: 892
Failed ❌: 17
Canceled 🚫: 3
Skipped ⏭️: 5
Todo 📝: 0
Duration 🕐: 60253.324ms
|
test (18, ubuntu-latest) / Test with Node.js 18 on ubuntu-latest
Total Tests: 917
Suites 📂: 76
Passed ✅: 893
Failed ❌: 17
Canceled 🚫: 3
Skipped ⏭️: 4
Todo 📝: 0
Duration 🕐: 64879.984ms
|
test (20, macos-latest) / Test with Node.js 20 on macos-latest
Total Tests: 917
Suites 📂: 76
Passed ✅: 892
Failed ❌: 17
Canceled 🚫: 3
Skipped ⏭️: 5
Todo 📝: 0
Duration 🕐: 81137.965ms
|
test (21, windows-latest) / Test with Node.js 21 on windows-latest
Total Tests: 917
Suites 📂: 76
Passed ✅: 893
Failed ❌: 17
Canceled 🚫: 3
Skipped ⏭️: 4
Todo 📝: 0
Duration 🕐: 60027.418ms
|
test (22, macos-latest) / Test with Node.js 22 on macos-latest
Total Tests: 917
Suites 📂: 76
Passed ✅: 892
Failed ❌: 17
Canceled 🚫: 3
Skipped ⏭️: 5
Todo 📝: 0
Duration 🕐: 80316.569ms
|
test (18, macos-latest) / Test with Node.js 18 on macos-latest
Total Tests: 917
Suites 📂: 76
Passed ✅: 893
Failed ❌: 17
Canceled 🚫: 3
Skipped ⏭️: 4
Todo 📝: 0
Duration 🕐: 88471.558ms
|
test (22, windows-latest) / Test with Node.js 22 on windows-latest
Total Tests: 917
Suites 📂: 76
Passed ✅: 892
Failed ❌: 17
Canceled 🚫: 3
Skipped ⏭️: 5
Todo 📝: 0
Duration 🕐: 59878.458ms
|
Test with Node.js 20 compiled --without-intl
Total Tests: 917
Suites 📂: 76
Passed ✅: 892
Failed ❌: 17
Canceled 🚫: 3
Skipped ⏭️: 5
Todo 📝: 0
Duration 🕐: 58564.152ms
|
test (20, windows-latest) / Test with Node.js 20 on windows-latest
Total Tests: 917
Suites 📂: 76
Passed ✅: 892
Failed ❌: 17
Canceled 🚫: 3
Skipped ⏭️: 5
Todo 📝: 0
Duration 🕐: 62251.149ms
|
test (21, macos-latest) / Test with Node.js 21 on macos-latest
Total Tests: 917
Suites 📂: 76
Passed ✅: 893
Failed ❌: 17
Canceled 🚫: 3
Skipped ⏭️: 4
Todo 📝: 0
Duration 🕐: 83810.976ms
|
Test with Node.js 21 compiled --without-intl
Total Tests: 917
Suites 📂: 76
Passed ✅: 893
Failed ❌: 17
Canceled 🚫: 3
Skipped ⏭️: 4
Todo 📝: 0
Duration 🕐: 57633.891ms
|
Test with Node.js 22 compiled --without-intl
Total Tests: 917
Suites 📂: 76
Passed ✅: 892
Failed ❌: 17
Canceled 🚫: 3
Skipped ⏭️: 5
Todo 📝: 0
Duration 🕐: 57338.888ms
|
test (18, windows-latest) / Test with Node.js 18 on windows-latest
Total Tests: 917
Suites 📂: 76
Passed ✅: 893
Failed ❌: 17
Canceled 🚫: 3
Skipped ⏭️: 4
Todo 📝: 0
Duration 🕐: 68197.582ms
|