fix: we can redirect disturbed request body if it's not going to be used #15513
Annotations
5 errors and 1 notice
Run tests:
test\redirect-request.js#L515
[Error [ERR_TEST_FAILURE]: Expected values to be strictly equal:
200 !== 301
] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
200 !== 301
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:515: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: 200,
expected: 301,
operator: 'strictEqual'
}
}
|
Run tests:
test\redirect-request.js#L515
[Error [ERR_TEST_FAILURE]: Expected values to be strictly equal:
200 !== 301
] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
200 !== 301
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:515: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: 200,
expected: 301,
operator: 'strictEqual'
}
}
|
Run tests:
test\redirect-request.js#L515
[Error [ERR_TEST_FAILURE]: Expected values to be strictly equal:
200 !== 301
] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
200 !== 301
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:515: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: 200,
expected: 301,
operator: 'strictEqual'
}
}
|
Run tests:
test\redirect-request.js#L1
[Error [ERR_TEST_FAILURE]: test timed out after 30000ms] { code: 'ERR_TEST_FAILURE', failureType: 'testTimeoutFailure', cause: 'test timed out after 30000ms' }
|
Run tests
Process completed with exit code 1.
|
Run tests
Total Tests: 1031
Suites 📂: 78
Passed ✅: 1023
Failed ❌: 3
Canceled 🚫: 1
Skipped ⏭️: 4
Todo 📝: 0
Duration 🕐: 40711.679ms
|
Loading