fix: 301 and 302 change method to GET #15442
Annotations
10 errors and 1 notice
Run tests:
test/redirect-stream.js#L100
[Error [ERR_TEST_FAILURE]: Expected values to be strictly equal:
+ actual - expected
+ 'GET /5 :: host@localhost:50162 connection@keep-alive'
- 'POST /5 :: host@localhost:50162 connection@keep-alive content-length@7 :: REQUEST'] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
+ actual - expected
+ 'GET /5 :: host@localhost:50162 connection@keep-alive'
- 'POST /5 :: host@localhost:50162 connection@keep-alive content-length@7 :: REQUEST'
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-stream.js:100:5)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Test.run (node:internal/test_runner/test:640:9)
at async Test.processPendingSubtests (node:internal/test_runner/test:382:7) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: 'GET /5 :: host@localhost:50162 connection@keep-alive',
expected: 'POST /5 :: host@localhost:50162 connection@keep-alive content-length@7 :: REQUEST',
operator: 'strictEqual'
}
}
|
Run tests:
test/redirect-stream.js#L319
[Error [ERR_TEST_FAILURE]: Expected values to be strictly equal:
'GET' !== 'POST'
] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
'GET' !== 'POST'
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-stream.js:319:5)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Test.run (node:internal/test_runner/test:640:9)
at async Test.processPendingSubtests (node:internal/test_runner/test:382:7) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: 'GET',
expected: 'POST',
operator: 'strictEqual'
}
}
|
Run tests:
test/redirect-request.js#L128
[Error [ERR_TEST_FAILURE]: Expected values to be strictly equal:
+ actual - expected
+ 'GET /5 :: host@localhost:50263 connection@keep-alive'
- 'POST /5 :: host@localhost:50263 connection@keep-alive content-length@7 :: REQUEST'] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
+ actual - expected
+ 'GET /5 :: host@localhost:50263 connection@keep-alive'
- 'POST /5 :: host@localhost:50263 connection@keep-alive content-length@7 :: REQUEST'
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:128: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: 'GET /5 :: host@localhost:50263 connection@keep-alive',
expected: 'POST /5 :: host@localhost:50263 connection@keep-alive content-length@7 :: REQUEST',
operator: 'strictEqual'
}
}
|
Run tests:
test/redirect-request.js#L495
[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] (/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:495: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#L128
[Error [ERR_TEST_FAILURE]: Expected values to be strictly equal:
+ actual - expected
+ 'GET /5 :: host@localhost:50383 connection@keep-alive'
- 'POST /5 :: host@localhost:50383 connection@keep-alive content-length@7 :: REQUEST'] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
+ actual - expected
+ 'GET /5 :: host@localhost:50383 connection@keep-alive'
- 'POST /5 :: host@localhost:50383 connection@keep-alive content-length@7 :: REQUEST'
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:128: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: 'GET /5 :: host@localhost:50383 connection@keep-alive',
expected: 'POST /5 :: host@localhost:50383 connection@keep-alive content-length@7 :: REQUEST',
operator: 'strictEqual'
}
}
|
Run tests:
test/redirect-request.js#L495
[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] (/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:495: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#L128
[Error [ERR_TEST_FAILURE]: Expected values to be strictly equal:
+ actual - expected
+ 'GET /5 :: host@localhost:50503 connection@keep-alive'
- 'POST /5 :: host@localhost:50503 connection@keep-alive content-length@7 :: REQUEST'] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
+ actual - expected
+ 'GET /5 :: host@localhost:50503 connection@keep-alive'
- 'POST /5 :: host@localhost:50503 connection@keep-alive content-length@7 :: REQUEST'
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:128: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: 'GET /5 :: host@localhost:50503 connection@keep-alive',
expected: 'POST /5 :: host@localhost:50503 connection@keep-alive content-length@7 :: REQUEST',
operator: 'strictEqual'
}
}
|
Run tests:
test/redirect-request.js#L495
[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] (/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:495: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#L544
[Error [ERR_TEST_FAILURE]: Expected values to be strictly equal:
'GET' !== 'POST'
] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
'GET' !== 'POST'
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:544:5)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Test.run (node:internal/test_runner/test:640:9)
at async Test.processPendingSubtests (node:internal/test_runner/test:382:7) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: 'GET',
expected: 'POST',
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
Total Tests: 1030
Suites 📂: 78
Passed ✅: 1016
Failed ❌: 9
Canceled 🚫: 1
Skipped ⏭️: 4
Todo 📝: 0
Duration 🕐: 56202.424ms
|
Loading