Add "decompress" response utility #14969
nodejs.yml
on: pull_request
Matrix: test-without-intl
Matrix: test
dependency-review
10s
Lint
32s
Fuzzing
3m 26s
Test TypeScript types
31s
automerge
0s
Annotations
131 errors and 12 notices
ProxyAgent correctly sends headers when using fetch - #1355, #1623:
test\proxy-agent.js#L535
[Error [ERR_TEST_FAILURE]: webidl.converters.USVString is not a function] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: TypeError [Error]: webidl.converters.USVString is not a function
at fetch (D:\a\undici\undici\index.js:111:13)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async TestContext.<anonymous> (D:\a\undici\undici\test\proxy-agent.js:535:3)
at async Test.run (node:internal/test_runner/test:790:9)
at async Test.processPendingSubtests (node:internal/test_runner/test:517:7)
}
|
pass ProxyAgent proxy status code error when using fetch - #2161:
test\proxy-agent.js#L591
[Error [ERR_TEST_FAILURE]: The expression evaluated to a falsy value:
assert[method](...args)
] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: The expression evaluated to a falsy value:
assert[method](...args)
at res.<computed> [as ok] (D:\a\undici\undici\node_modules\@matteo.collina\tspl\tspl.js:52:35)
at TestContext.<anonymous> (D:\a\undici\undici\test\proxy-agent.js:591:7)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Test.run (node:internal/test_runner/test:790:9)
at async Test.processPendingSubtests (node:internal/test_runner/test:517:7) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: false,
expected: true,
operator: '=='
}
}
|
test\proxy-agent.js:
test\proxy-agent.js#L1
[Error [ERR_TEST_FAILURE]: test timed out after 30000ms] { code: 'ERR_TEST_FAILURE', failureType: 'testTimeoutFailure', cause: 'test timed out after 30000ms' }
|
getHeaderByName:
test\mock-utils.js#L217
[Error [ERR_TEST_FAILURE]: isValidHeaderName is not a function] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: TypeError [Error]: isValidHeaderName is not a function
at appendHeader (D:\a\undici\undici\lib\web\fetch\headers.js:94:8)
at fill (D:\a\undici\undici\lib\web\fetch\headers.js:62:7)
at new Headers (D:\a\undici\undici\lib\web\fetch\headers.js:455:7)
at TestContext.<anonymous> (D:\a\undici\undici\test\mock-utils.js:217:19)
at Test.runInAsyncScope (node:async_hooks:206:9)
at Test.run (node:internal/test_runner/test:789:25)
at Test.processPendingSubtests (node:internal/test_runner/test:517:18)
at Test.postRun (node:internal/test_runner/test:885:19)
at Test.run (node:internal/test_runner/test:831:12)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
}
|
MockPool - allows matching headers in fetch:
test\mock-pool.js#L348
[Error [ERR_TEST_FAILURE]: webidl.converters.USVString is not a function] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: TypeError [Error]: webidl.converters.USVString is not a function
at fetch (D:\a\undici\undici\index.js:111:13)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async TestContext.<anonymous> (D:\a\undici\undici\test\mock-pool.js:348:3)
at async Test.run (node:internal/test_runner/test:790:9)
at async Test.processPendingSubtests (node:internal/test_runner/test:517:7)
}
|
MockAgent should match with or without trailing slash by setting ignoreTrailingSlash as MockAgent option /0:
test\mock-interceptor.js#L283
Error [ERR_TEST_FAILURE]: webidl.converters.USVString is not a function
at async Promise.all (index 0) {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: TypeError [Error]: webidl.converters.USVString is not a function
at webidl.converters.RequestInfo (D:\a\undici\undici\lib\web\fetch\request.js:1003:28)
at new Request (D:\a\undici\undici\lib\web\fetch\request.js:104:31)
at fetch (D:\a\undici\undici\lib\web\fetch\index.js:145:21)
at TestContext.<anonymous> (D:\a\undici\undici\test\mock-interceptor.js:283:25)
at Test.runInAsyncScope (node:async_hooks:206:9)
at Test.run (node:internal/test_runner/test:789:25)
at Test.start (node:internal/test_runner/test:693:17)
at node:internal/test_runner/test:1129:71
at node:internal/per_context/primordials:487:82
at new Promise (<anonymous>)
}
|
MockAgent should match with or without trailing slash by setting ignoreTrailingSlash as intercept option /0:
test\mock-interceptor.js#L297
[Error [ERR_TEST_FAILURE]: webidl.converters.USVString is not a function] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: TypeError [Error]: webidl.converters.USVString is not a function
at webidl.converters.RequestInfo (D:\a\undici\undici\lib\web\fetch\request.js:1003:28)
at new Request (D:\a\undici\undici\lib\web\fetch\request.js:104:31)
at fetch (D:\a\undici\undici\lib\web\fetch\index.js:145:21)
at TestContext.<anonymous> (D:\a\undici\undici\test\mock-interceptor.js:297:25)
at Test.runInAsyncScope (node:async_hooks:206:9)
at Test.run (node:internal/test_runner/test:789:25)
at Suite.processPendingSubtests (node:internal/test_runner/test:517:18)
at Test.postRun (node:internal/test_runner/test:885:19)
at Test.run (node:internal/test_runner/test:831:12)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
}
|
MockAgent should should match on strict equal cases of paths when ignoreTrailingSlash is not set /0:
test\mock-interceptor.js#L315
[Error [ERR_TEST_FAILURE]: webidl.converters.USVString is not a function] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: TypeError [Error]: webidl.converters.USVString is not a function
at webidl.converters.RequestInfo (D:\a\undici\undici\lib\web\fetch\request.js:1003:28)
at new Request (D:\a\undici\undici\lib\web\fetch\request.js:104:31)
at fetch (D:\a\undici\undici\lib\web\fetch\index.js:145:21)
at TestContext.<anonymous> (D:\a\undici\undici\test\mock-interceptor.js:315:27)
at Test.runInAsyncScope (node:async_hooks:206:9)
at Test.run (node:internal/test_runner/test:789:25)
at Suite.processPendingSubtests (node:internal/test_runner/test:517:18)
at Test.postRun (node:internal/test_runner/test:885:19)
at Test.run (node:internal/test_runner/test:831:12)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
}
|
MockAgent should match with or without trailing slash by setting ignoreTrailingSlash as MockAgent option /1:
test\mock-interceptor.js#L283
[Error [ERR_TEST_FAILURE]: webidl.converters.USVString is not a function] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: TypeError [Error]: webidl.converters.USVString is not a function
at webidl.converters.RequestInfo (D:\a\undici\undici\lib\web\fetch\request.js:1003:28)
at new Request (D:\a\undici\undici\lib\web\fetch\request.js:104:31)
at fetch (D:\a\undici\undici\lib\web\fetch\index.js:145:21)
at TestContext.<anonymous> (D:\a\undici\undici\test\mock-interceptor.js:283:25)
at Test.runInAsyncScope (node:async_hooks:206:9)
at Test.run (node:internal/test_runner/test:789:25)
at Suite.processPendingSubtests (node:internal/test_runner/test:517:18)
at Test.postRun (node:internal/test_runner/test:885:19)
at Test.run (node:internal/test_runner/test:831:12)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
}
|
MockAgent should match with or without trailing slash by setting ignoreTrailingSlash as intercept option /1:
test\mock-interceptor.js#L297
[Error [ERR_TEST_FAILURE]: webidl.converters.USVString is not a function] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: TypeError [Error]: webidl.converters.USVString is not a function
at webidl.converters.RequestInfo (D:\a\undici\undici\lib\web\fetch\request.js:1003:28)
at new Request (D:\a\undici\undici\lib\web\fetch\request.js:104:31)
at fetch (D:\a\undici\undici\lib\web\fetch\index.js:145:21)
at TestContext.<anonymous> (D:\a\undici\undici\test\mock-interceptor.js:297:25)
at Test.runInAsyncScope (node:async_hooks:206:9)
at Test.run (node:internal/test_runner/test:789:25)
at Suite.processPendingSubtests (node:internal/test_runner/test:517:18)
at Test.postRun (node:internal/test_runner/test:885:19)
at Test.run (node:internal/test_runner/test:831:12)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
}
|
ProxyAgent correctly sends headers when using fetch - #1355, #1623:
test\proxy-agent.js#L535
[Error [ERR_TEST_FAILURE]: webidl.converters.USVString is not a function] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: TypeError [Error]: webidl.converters.USVString is not a function
at fetch (D:\a\undici\undici\index.js:111:13)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
at async TestContext.<anonymous> (D:\a\undici\undici\test\proxy-agent.js:535:3)
at async Test.run (node:internal/test_runner/test:931:9)
at async Test.processPendingSubtests (node:internal/test_runner/test:629:7)
}
|
pass ProxyAgent proxy status code error when using fetch - #2161:
test\proxy-agent.js#L591
[Error [ERR_TEST_FAILURE]: The expression evaluated to a falsy value:
assert[method](...args)
] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: The expression evaluated to a falsy value:
assert[method](...args)
at res.<computed> [as ok] (D:\a\undici\undici\node_modules\@matteo.collina\tspl\tspl.js:52:35)
at TestContext.<anonymous> (D:\a\undici\undici\test\proxy-agent.js:591:7)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
at async Test.run (node:internal/test_runner/test:931:9)
at async Test.processPendingSubtests (node:internal/test_runner/test:629:7) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: false,
expected: true,
operator: '=='
}
}
|
test\proxy-agent.js:
test\proxy-agent.js#L1
[Error [ERR_TEST_FAILURE]: test timed out after 30000ms] { code: 'ERR_TEST_FAILURE', failureType: 'testTimeoutFailure', cause: 'test timed out after 30000ms' }
|
getHeaderByName:
test\mock-utils.js#L217
[Error [ERR_TEST_FAILURE]: isValidHeaderName is not a function] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: TypeError [Error]: isValidHeaderName is not a function
at appendHeader (D:\a\undici\undici\lib\web\fetch\headers.js:94:8)
at fill (D:\a\undici\undici\lib\web\fetch\headers.js:62:7)
at new Headers (D:\a\undici\undici\lib\web\fetch\headers.js:455:7)
at TestContext.<anonymous> (D:\a\undici\undici\test\mock-utils.js:217:19)
at Test.runInAsyncScope (node:async_hooks:211:14)
at Test.run (node:internal/test_runner/test:930:25)
at Test.processPendingSubtests (node:internal/test_runner/test:629:18)
at Test.postRun (node:internal/test_runner/test:1026:19)
at Test.run (node:internal/test_runner/test:969:12)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
}
|
MockPool - allows matching headers in fetch:
test\mock-pool.js#L348
[Error [ERR_TEST_FAILURE]: webidl.converters.USVString is not a function] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: TypeError [Error]: webidl.converters.USVString is not a function
at fetch (D:\a\undici\undici\index.js:111:13)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
at async TestContext.<anonymous> (D:\a\undici\undici\test\mock-pool.js:348:3)
at async Test.run (node:internal/test_runner/test:931:9)
at async Test.processPendingSubtests (node:internal/test_runner/test:629:7)
}
|
MockAgent should match with or without trailing slash by setting ignoreTrailingSlash as MockAgent option /0:
test\mock-interceptor.js#L283
Error [ERR_TEST_FAILURE]: webidl.converters.USVString is not a function
at async Promise.all (index 0) {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: TypeError [Error]: webidl.converters.USVString is not a function
at webidl.converters.RequestInfo (D:\a\undici\undici\lib\web\fetch\request.js:1003:28)
at new Request (D:\a\undici\undici\lib\web\fetch\request.js:104:31)
at fetch (D:\a\undici\undici\lib\web\fetch\index.js:145:21)
at TestContext.<anonymous> (D:\a\undici\undici\test\mock-interceptor.js:283:25)
at Test.runInAsyncScope (node:async_hooks:211:14)
at Test.run (node:internal/test_runner/test:930:25)
at Test.start (node:internal/test_runner/test:829:17)
at node:internal/test_runner/test:1293:71
at node:internal/per_context/primordials:483:82
at new Promise (<anonymous>)
}
|
MockAgent should match with or without trailing slash by setting ignoreTrailingSlash as intercept option /0:
test\mock-interceptor.js#L297
[Error [ERR_TEST_FAILURE]: webidl.converters.USVString is not a function] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: TypeError [Error]: webidl.converters.USVString is not a function
at webidl.converters.RequestInfo (D:\a\undici\undici\lib\web\fetch\request.js:1003:28)
at new Request (D:\a\undici\undici\lib\web\fetch\request.js:104:31)
at fetch (D:\a\undici\undici\lib\web\fetch\index.js:145:21)
at TestContext.<anonymous> (D:\a\undici\undici\test\mock-interceptor.js:297:25)
at Test.runInAsyncScope (node:async_hooks:211:14)
at Test.run (node:internal/test_runner/test:930:25)
at Suite.processPendingSubtests (node:internal/test_runner/test:629:18)
at Test.postRun (node:internal/test_runner/test:1026:19)
at Test.run (node:internal/test_runner/test:969:12)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
}
|
MockAgent should should match on strict equal cases of paths when ignoreTrailingSlash is not set /0:
test\mock-interceptor.js#L315
[Error [ERR_TEST_FAILURE]: webidl.converters.USVString is not a function] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: TypeError [Error]: webidl.converters.USVString is not a function
at webidl.converters.RequestInfo (D:\a\undici\undici\lib\web\fetch\request.js:1003:28)
at new Request (D:\a\undici\undici\lib\web\fetch\request.js:104:31)
at fetch (D:\a\undici\undici\lib\web\fetch\index.js:145:21)
at TestContext.<anonymous> (D:\a\undici\undici\test\mock-interceptor.js:315:27)
at Test.runInAsyncScope (node:async_hooks:211:14)
at Test.run (node:internal/test_runner/test:930:25)
at Suite.processPendingSubtests (node:internal/test_runner/test:629:18)
at Test.postRun (node:internal/test_runner/test:1026:19)
at Test.run (node:internal/test_runner/test:969:12)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
}
|
MockAgent should match with or without trailing slash by setting ignoreTrailingSlash as MockAgent option /1:
test\mock-interceptor.js#L283
[Error [ERR_TEST_FAILURE]: webidl.converters.USVString is not a function] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: TypeError [Error]: webidl.converters.USVString is not a function
at webidl.converters.RequestInfo (D:\a\undici\undici\lib\web\fetch\request.js:1003:28)
at new Request (D:\a\undici\undici\lib\web\fetch\request.js:104:31)
at fetch (D:\a\undici\undici\lib\web\fetch\index.js:145:21)
at TestContext.<anonymous> (D:\a\undici\undici\test\mock-interceptor.js:283:25)
at Test.runInAsyncScope (node:async_hooks:211:14)
at Test.run (node:internal/test_runner/test:930:25)
at Suite.processPendingSubtests (node:internal/test_runner/test:629:18)
at Test.postRun (node:internal/test_runner/test:1026:19)
at Test.run (node:internal/test_runner/test:969:12)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
}
|
MockAgent should match with or without trailing slash by setting ignoreTrailingSlash as intercept option /1:
test\mock-interceptor.js#L297
[Error [ERR_TEST_FAILURE]: webidl.converters.USVString is not a function] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: TypeError [Error]: webidl.converters.USVString is not a function
at webidl.converters.RequestInfo (D:\a\undici\undici\lib\web\fetch\request.js:1003:28)
at new Request (D:\a\undici\undici\lib\web\fetch\request.js:104:31)
at fetch (D:\a\undici\undici\lib\web\fetch\index.js:145:21)
at TestContext.<anonymous> (D:\a\undici\undici\test\mock-interceptor.js:297:25)
at Test.runInAsyncScope (node:async_hooks:211:14)
at Test.run (node:internal/test_runner/test:930:25)
at Suite.processPendingSubtests (node:internal/test_runner/test:629:18)
at Test.postRun (node:internal/test_runner/test:1026:19)
at Test.run (node:internal/test_runner/test:969:12)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
}
|
Test with Node.js 20 compiled --without-intl
Process completed with exit code 2.
|
ProxyAgent correctly sends headers when using fetch - #1355, #1623:
test\proxy-agent.js#L535
[Error [ERR_TEST_FAILURE]: webidl.converters.USVString is not a function] {
failureType: 'testCodeFailure',
cause: TypeError [Error]: webidl.converters.USVString is not a function
at fetch (D:\a\undici\undici\index.js:111:13)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async TestContext.<anonymous> (D:\a\undici\undici\test\proxy-agent.js:535:3)
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'
}
|
pass ProxyAgent proxy status code error when using fetch - #2161:
test\proxy-agent.js#L591
[Error [ERR_TEST_FAILURE]: The expression evaluated to a falsy value:
assert[method](...args)
] {
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: The expression evaluated to a falsy value:
assert[method](...args)
at res.<computed> [as ok] (D:\a\undici\undici\node_modules\@matteo.collina\tspl\tspl.js:52:35)
at TestContext.<anonymous> (D:\a\undici\undici\test\proxy-agent.js:591: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: false,
expected: true,
operator: '=='
},
code: 'ERR_TEST_FAILURE'
}
|
test\proxy-agent.js:
test\proxy-agent.js#L1
[Error [ERR_TEST_FAILURE]: test timed out after 30000ms] { failureType: 'testTimeoutFailure', cause: 'test timed out after 30000ms', code: 'ERR_TEST_FAILURE' }
|
getHeaderByName:
test\mock-utils.js#L217
[Error [ERR_TEST_FAILURE]: isValidHeaderName is not a function] {
failureType: 'testCodeFailure',
cause: TypeError [Error]: isValidHeaderName is not a function
at appendHeader (D:\a\undici\undici\lib\web\fetch\headers.js:94:8)
at fill (D:\a\undici\undici\lib\web\fetch\headers.js:62:7)
at new Headers (D:\a\undici\undici\lib\web\fetch\headers.js:455:7)
at TestContext.<anonymous> (D:\a\undici\undici\test\mock-utils.js:217:19)
at Test.runInAsyncScope (node:async_hooks:203:9)
at Test.run (node:internal/test_runner/test:631:25)
at Test.processPendingSubtests (node:internal/test_runner/test:374:18)
at Test.postRun (node:internal/test_runner/test:715:19)
at Test.run (node:internal/test_runner/test:673:12)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5),
code: 'ERR_TEST_FAILURE'
}
|
MockPool - allows matching headers in fetch:
test\mock-pool.js#L348
[Error [ERR_TEST_FAILURE]: webidl.converters.USVString is not a function] {
failureType: 'testCodeFailure',
cause: TypeError [Error]: webidl.converters.USVString is not a function
at fetch (D:\a\undici\undici\index.js:111:13)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async TestContext.<anonymous> (D:\a\undici\undici\test\mock-pool.js:348:3)
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'
}
|
MockAgent should match with or without trailing slash by setting ignoreTrailingSlash as MockAgent option /0:
test\mock-interceptor.js#L283
Error [ERR_TEST_FAILURE]: webidl.converters.USVString is not a function
at async Promise.all (index 0) {
failureType: 'testCodeFailure',
cause: TypeError [Error]: webidl.converters.USVString is not a function
at webidl.converters.RequestInfo (D:\a\undici\undici\lib\web\fetch\request.js:1003:28)
at new Request (D:\a\undici\undici\lib\web\fetch\request.js:104:31)
at fetch (D:\a\undici\undici\lib\web\fetch\index.js:145:21)
at TestContext.<anonymous> (D:\a\undici\undici\test\mock-interceptor.js:283:25)
at Test.runInAsyncScope (node:async_hooks:203:9)
at Test.run (node:internal/test_runner/test:631:25)
at Test.start (node:internal/test_runner/test:542:17)
at node:internal/test_runner/test:946:71
at node:internal/per_context/primordials:487:82
at new Promise (<anonymous>),
code: 'ERR_TEST_FAILURE'
}
|
MockAgent should match with or without trailing slash by setting ignoreTrailingSlash as intercept option /0:
test\mock-interceptor.js#L297
[Error [ERR_TEST_FAILURE]: webidl.converters.USVString is not a function] {
failureType: 'testCodeFailure',
cause: TypeError [Error]: webidl.converters.USVString is not a function
at webidl.converters.RequestInfo (D:\a\undici\undici\lib\web\fetch\request.js:1003:28)
at new Request (D:\a\undici\undici\lib\web\fetch\request.js:104:31)
at fetch (D:\a\undici\undici\lib\web\fetch\index.js:145:21)
at TestContext.<anonymous> (D:\a\undici\undici\test\mock-interceptor.js:297:25)
at Test.runInAsyncScope (node:async_hooks:203:9)
at Test.run (node:internal/test_runner/test:631:25)
at Suite.processPendingSubtests (node:internal/test_runner/test:374:18)
at Test.postRun (node:internal/test_runner/test:715:19)
at Test.run (node:internal/test_runner/test:673:12)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5),
code: 'ERR_TEST_FAILURE'
}
|
MockAgent should should match on strict equal cases of paths when ignoreTrailingSlash is not set /0:
test\mock-interceptor.js#L315
[Error [ERR_TEST_FAILURE]: webidl.converters.USVString is not a function] {
failureType: 'testCodeFailure',
cause: TypeError [Error]: webidl.converters.USVString is not a function
at webidl.converters.RequestInfo (D:\a\undici\undici\lib\web\fetch\request.js:1003:28)
at new Request (D:\a\undici\undici\lib\web\fetch\request.js:104:31)
at fetch (D:\a\undici\undici\lib\web\fetch\index.js:145:21)
at TestContext.<anonymous> (D:\a\undici\undici\test\mock-interceptor.js:315:27)
at Test.runInAsyncScope (node:async_hooks:203:9)
at Test.run (node:internal/test_runner/test:631:25)
at Suite.processPendingSubtests (node:internal/test_runner/test:374:18)
at Test.postRun (node:internal/test_runner/test:715:19)
at Test.run (node:internal/test_runner/test:673:12)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5),
code: 'ERR_TEST_FAILURE'
}
|
MockAgent should match with or without trailing slash by setting ignoreTrailingSlash as MockAgent option /1:
test\mock-interceptor.js#L283
[Error [ERR_TEST_FAILURE]: webidl.converters.USVString is not a function] {
failureType: 'testCodeFailure',
cause: TypeError [Error]: webidl.converters.USVString is not a function
at webidl.converters.RequestInfo (D:\a\undici\undici\lib\web\fetch\request.js:1003:28)
at new Request (D:\a\undici\undici\lib\web\fetch\request.js:104:31)
at fetch (D:\a\undici\undici\lib\web\fetch\index.js:145:21)
at TestContext.<anonymous> (D:\a\undici\undici\test\mock-interceptor.js:283:25)
at Test.runInAsyncScope (node:async_hooks:203:9)
at Test.run (node:internal/test_runner/test:631:25)
at Suite.processPendingSubtests (node:internal/test_runner/test:374:18)
at Test.postRun (node:internal/test_runner/test:715:19)
at Test.run (node:internal/test_runner/test:673:12)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5),
code: 'ERR_TEST_FAILURE'
}
|
MockAgent should match with or without trailing slash by setting ignoreTrailingSlash as intercept option /1:
test\mock-interceptor.js#L297
[Error [ERR_TEST_FAILURE]: webidl.converters.USVString is not a function] {
failureType: 'testCodeFailure',
cause: TypeError [Error]: webidl.converters.USVString is not a function
at webidl.converters.RequestInfo (D:\a\undici\undici\lib\web\fetch\request.js:1003:28)
at new Request (D:\a\undici\undici\lib\web\fetch\request.js:104:31)
at fetch (D:\a\undici\undici\lib\web\fetch\index.js:145:21)
at TestContext.<anonymous> (D:\a\undici\undici\test\mock-interceptor.js:297:25)
at Test.runInAsyncScope (node:async_hooks:203:9)
at Test.run (node:internal/test_runner/test:631:25)
at Suite.processPendingSubtests (node:internal/test_runner/test:374:18)
at Test.postRun (node:internal/test_runner/test:715:19)
at Test.run (node:internal/test_runner/test:673:12)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5),
code: 'ERR_TEST_FAILURE'
}
|
Test with Node.js 21 compiled --without-intl
Process completed with exit code 2.
|
Test with Node.js 22 compiled --without-intl
Process completed with exit code 2.
|
ProxyAgent correctly sends headers when using fetch - #1355, #1623:
test\proxy-agent.js#L535
[Error [ERR_TEST_FAILURE]: webidl.converters.USVString is not a function] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: TypeError [Error]: webidl.converters.USVString is not a function
at fetch (D:\a\undici\undici\index.js:111:13)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async TestContext.<anonymous> (D:\a\undici\undici\test\proxy-agent.js:535:3)
at async Test.run (node:internal/test_runner/test:640:9)
at async Test.processPendingSubtests (node:internal/test_runner/test:382:7)
}
|
pass ProxyAgent proxy status code error when using fetch - #2161:
test\proxy-agent.js#L591
[Error [ERR_TEST_FAILURE]: The expression evaluated to a falsy value:
assert[method](...args)
] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: The expression evaluated to a falsy value:
assert[method](...args)
at res.<computed> [as ok] (D:\a\undici\undici\node_modules\@matteo.collina\tspl\tspl.js:52:35)
at TestContext.<anonymous> (D:\a\undici\undici\test\proxy-agent.js:591: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: false,
expected: true,
operator: '=='
}
}
|
test\proxy-agent.js:
test\proxy-agent.js#L1
[Error [ERR_TEST_FAILURE]: test timed out after 30000ms] { code: 'ERR_TEST_FAILURE', failureType: 'testTimeoutFailure', cause: 'test timed out after 30000ms' }
|
getHeaderByName:
test\mock-utils.js#L217
[Error [ERR_TEST_FAILURE]: isValidHeaderName is not a function] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: TypeError [Error]: isValidHeaderName is not a function
at appendHeader (D:\a\undici\undici\lib\web\fetch\headers.js:94:8)
at fill (D:\a\undici\undici\lib\web\fetch\headers.js:62:7)
at new Headers (D:\a\undici\undici\lib\web\fetch\headers.js:455:7)
at TestContext.<anonymous> (D:\a\undici\undici\test\mock-utils.js:217:19)
at Test.runInAsyncScope (node:async_hooks:206:9)
at Test.run (node:internal/test_runner/test:639:25)
at Test.processPendingSubtests (node:internal/test_runner/test:382:18)
at Test.postRun (node:internal/test_runner/test:730:19)
at Test.run (node:internal/test_runner/test:688:12)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
}
|
MockPool - allows matching headers in fetch:
test\mock-pool.js#L348
[Error [ERR_TEST_FAILURE]: webidl.converters.USVString is not a function] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: TypeError [Error]: webidl.converters.USVString is not a function
at fetch (D:\a\undici\undici\index.js:111:13)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async TestContext.<anonymous> (D:\a\undici\undici\test\mock-pool.js:348:3)
at async Test.run (node:internal/test_runner/test:640:9)
at async Test.processPendingSubtests (node:internal/test_runner/test:382:7)
}
|
MockAgent should match with or without trailing slash by setting ignoreTrailingSlash as MockAgent option /0:
test\mock-interceptor.js#L283
Error [ERR_TEST_FAILURE]: webidl.converters.USVString is not a function
at async Promise.all (index 0) {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: TypeError [Error]: webidl.converters.USVString is not a function
at webidl.converters.RequestInfo (D:\a\undici\undici\lib\web\fetch\request.js:1003:28)
at new Request (D:\a\undici\undici\lib\web\fetch\request.js:104:31)
at fetch (D:\a\undici\undici\lib\web\fetch\index.js:145:21)
at TestContext.<anonymous> (D:\a\undici\undici\test\mock-interceptor.js:283:25)
at Test.runInAsyncScope (node:async_hooks:206:9)
at Test.run (node:internal/test_runner/test:639:25)
at Test.start (node:internal/test_runner/test:550:17)
at node:internal/test_runner/test:962:71
at node:internal/per_context/primordials:488:82
at new Promise (<anonymous>)
}
|
MockAgent should match with or without trailing slash by setting ignoreTrailingSlash as intercept option /0:
test\mock-interceptor.js#L297
[Error [ERR_TEST_FAILURE]: webidl.converters.USVString is not a function] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: TypeError [Error]: webidl.converters.USVString is not a function
at webidl.converters.RequestInfo (D:\a\undici\undici\lib\web\fetch\request.js:1003:28)
at new Request (D:\a\undici\undici\lib\web\fetch\request.js:104:31)
at fetch (D:\a\undici\undici\lib\web\fetch\index.js:145:21)
at TestContext.<anonymous> (D:\a\undici\undici\test\mock-interceptor.js:297:25)
at Test.runInAsyncScope (node:async_hooks:206:9)
at Test.run (node:internal/test_runner/test:639:25)
at Suite.processPendingSubtests (node:internal/test_runner/test:382:18)
at Test.postRun (node:internal/test_runner/test:730:19)
at Test.run (node:internal/test_runner/test:688:12)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
}
|
MockAgent should should match on strict equal cases of paths when ignoreTrailingSlash is not set /0:
test\mock-interceptor.js#L315
[Error [ERR_TEST_FAILURE]: webidl.converters.USVString is not a function] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: TypeError [Error]: webidl.converters.USVString is not a function
at webidl.converters.RequestInfo (D:\a\undici\undici\lib\web\fetch\request.js:1003:28)
at new Request (D:\a\undici\undici\lib\web\fetch\request.js:104:31)
at fetch (D:\a\undici\undici\lib\web\fetch\index.js:145:21)
at TestContext.<anonymous> (D:\a\undici\undici\test\mock-interceptor.js:315:27)
at Test.runInAsyncScope (node:async_hooks:206:9)
at Test.run (node:internal/test_runner/test:639:25)
at Suite.processPendingSubtests (node:internal/test_runner/test:382:18)
at Test.postRun (node:internal/test_runner/test:730:19)
at Test.run (node:internal/test_runner/test:688:12)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
}
|
MockAgent should match with or without trailing slash by setting ignoreTrailingSlash as MockAgent option /1:
test\mock-interceptor.js#L283
[Error [ERR_TEST_FAILURE]: webidl.converters.USVString is not a function] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: TypeError [Error]: webidl.converters.USVString is not a function
at webidl.converters.RequestInfo (D:\a\undici\undici\lib\web\fetch\request.js:1003:28)
at new Request (D:\a\undici\undici\lib\web\fetch\request.js:104:31)
at fetch (D:\a\undici\undici\lib\web\fetch\index.js:145:21)
at TestContext.<anonymous> (D:\a\undici\undici\test\mock-interceptor.js:283:25)
at Test.runInAsyncScope (node:async_hooks:206:9)
at Test.run (node:internal/test_runner/test:639:25)
at Suite.processPendingSubtests (node:internal/test_runner/test:382:18)
at Test.postRun (node:internal/test_runner/test:730:19)
at Test.run (node:internal/test_runner/test:688:12)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
}
|
MockAgent should match with or without trailing slash by setting ignoreTrailingSlash as intercept option /1:
test\mock-interceptor.js#L297
[Error [ERR_TEST_FAILURE]: webidl.converters.USVString is not a function] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: TypeError [Error]: webidl.converters.USVString is not a function
at webidl.converters.RequestInfo (D:\a\undici\undici\lib\web\fetch\request.js:1003:28)
at new Request (D:\a\undici\undici\lib\web\fetch\request.js:104:31)
at fetch (D:\a\undici\undici\lib\web\fetch\index.js:145:21)
at TestContext.<anonymous> (D:\a\undici\undici\test\mock-interceptor.js:297:25)
at Test.runInAsyncScope (node:async_hooks:206:9)
at Test.run (node:internal/test_runner/test:639:25)
at Suite.processPendingSubtests (node:internal/test_runner/test:382:18)
at Test.postRun (node:internal/test_runner/test:730:19)
at Test.run (node:internal/test_runner/test:688:12)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
}
|
test (22, ubuntu-latest) / Test with Node.js 22 on ubuntu-latest
The job running on runner GitHub Actions 403 has exceeded the maximum execution time of 15 minutes.
|
ProxyAgent correctly sends headers when using fetch - #1355, #1623:
test/proxy-agent.js#L535
[Error [ERR_TEST_FAILURE]: webidl.converters.USVString is not a function] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: TypeError [Error]: webidl.converters.USVString is not a function
at fetch (/home/runner/work/undici/undici/index.js:111:13)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
at async TestContext.<anonymous> (/home/runner/work/undici/undici/test/proxy-agent.js:535:3)
at async Test.run (node:internal/test_runner/test:931:9)
at async Test.processPendingSubtests (node:internal/test_runner/test:629:7)
}
|
pass ProxyAgent proxy status code error when using fetch - #2161:
test/proxy-agent.js#L591
[Error [ERR_TEST_FAILURE]: The expression evaluated to a falsy value:
assert[method](...args)
] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: The expression evaluated to a falsy value:
assert[method](...args)
at res.<computed> [as ok] (/home/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35)
at TestContext.<anonymous> (/home/runner/work/undici/undici/test/proxy-agent.js:591:7)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
at async Test.run (node:internal/test_runner/test:931:9)
at async Test.processPendingSubtests (node:internal/test_runner/test:629:7) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: false,
expected: true,
operator: '=='
}
}
|
test/proxy-agent.js:
test/proxy-agent.js#L1
[Error [ERR_TEST_FAILURE]: test timed out after 30000ms] { code: 'ERR_TEST_FAILURE', failureType: 'testTimeoutFailure', cause: 'test timed out after 30000ms' }
|
getHeaderByName:
test/mock-utils.js#L217
[Error [ERR_TEST_FAILURE]: isValidHeaderName is not a function] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: TypeError [Error]: isValidHeaderName is not a function
at appendHeader (/home/runner/work/undici/undici/lib/web/fetch/headers.js:94:8)
at fill (/home/runner/work/undici/undici/lib/web/fetch/headers.js:62:7)
at new Headers (/home/runner/work/undici/undici/lib/web/fetch/headers.js:455:7)
at TestContext.<anonymous> (/home/runner/work/undici/undici/test/mock-utils.js:217:19)
at Test.runInAsyncScope (node:async_hooks:211:14)
at Test.run (node:internal/test_runner/test:930:25)
at Test.processPendingSubtests (node:internal/test_runner/test:629:18)
at Test.postRun (node:internal/test_runner/test:1026:19)
at Test.run (node:internal/test_runner/test:969:12)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
}
|
MockPool - allows matching headers in fetch:
test/mock-pool.js#L348
[Error [ERR_TEST_FAILURE]: webidl.converters.USVString is not a function] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: TypeError [Error]: webidl.converters.USVString is not a function
at fetch (/home/runner/work/undici/undici/index.js:111:13)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
at async TestContext.<anonymous> (/home/runner/work/undici/undici/test/mock-pool.js:348:3)
at async Test.run (node:internal/test_runner/test:931:9)
at async Test.processPendingSubtests (node:internal/test_runner/test:629:7)
}
|
MockAgent should match with or without trailing slash by setting ignoreTrailingSlash as MockAgent option /0:
test/mock-interceptor.js#L283
Error [ERR_TEST_FAILURE]: webidl.converters.USVString is not a function
at async Promise.all (index 0) {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: TypeError [Error]: webidl.converters.USVString is not a function
at webidl.converters.RequestInfo (/home/runner/work/undici/undici/lib/web/fetch/request.js:1003:28)
at new Request (/home/runner/work/undici/undici/lib/web/fetch/request.js:104:31)
at fetch (/home/runner/work/undici/undici/lib/web/fetch/index.js:145:21)
at TestContext.<anonymous> (/home/runner/work/undici/undici/test/mock-interceptor.js:283:25)
at Test.runInAsyncScope (node:async_hooks:211:14)
at Test.run (node:internal/test_runner/test:930:25)
at Test.start (node:internal/test_runner/test:829:17)
at node:internal/test_runner/test:1293:71
at node:internal/per_context/primordials:483:82
at new Promise (<anonymous>)
}
|
MockAgent should match with or without trailing slash by setting ignoreTrailingSlash as intercept option /0:
test/mock-interceptor.js#L297
[Error [ERR_TEST_FAILURE]: webidl.converters.USVString is not a function] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: TypeError [Error]: webidl.converters.USVString is not a function
at webidl.converters.RequestInfo (/home/runner/work/undici/undici/lib/web/fetch/request.js:1003:28)
at new Request (/home/runner/work/undici/undici/lib/web/fetch/request.js:104:31)
at fetch (/home/runner/work/undici/undici/lib/web/fetch/index.js:145:21)
at TestContext.<anonymous> (/home/runner/work/undici/undici/test/mock-interceptor.js:297:25)
at Test.runInAsyncScope (node:async_hooks:211:14)
at Test.run (node:internal/test_runner/test:930:25)
at Suite.processPendingSubtests (node:internal/test_runner/test:629:18)
at Test.postRun (node:internal/test_runner/test:1026:19)
at Test.run (node:internal/test_runner/test:969:12)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
}
|
MockAgent should should match on strict equal cases of paths when ignoreTrailingSlash is not set /0:
test/mock-interceptor.js#L315
[Error [ERR_TEST_FAILURE]: webidl.converters.USVString is not a function] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: TypeError [Error]: webidl.converters.USVString is not a function
at webidl.converters.RequestInfo (/home/runner/work/undici/undici/lib/web/fetch/request.js:1003:28)
at new Request (/home/runner/work/undici/undici/lib/web/fetch/request.js:104:31)
at fetch (/home/runner/work/undici/undici/lib/web/fetch/index.js:145:21)
at TestContext.<anonymous> (/home/runner/work/undici/undici/test/mock-interceptor.js:315:27)
at Test.runInAsyncScope (node:async_hooks:211:14)
at Test.run (node:internal/test_runner/test:930:25)
at Suite.processPendingSubtests (node:internal/test_runner/test:629:18)
at Test.postRun (node:internal/test_runner/test:1026:19)
at Test.run (node:internal/test_runner/test:969:12)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
}
|
MockAgent should match with or without trailing slash by setting ignoreTrailingSlash as MockAgent option /1:
test/mock-interceptor.js#L283
[Error [ERR_TEST_FAILURE]: webidl.converters.USVString is not a function] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: TypeError [Error]: webidl.converters.USVString is not a function
at webidl.converters.RequestInfo (/home/runner/work/undici/undici/lib/web/fetch/request.js:1003:28)
at new Request (/home/runner/work/undici/undici/lib/web/fetch/request.js:104:31)
at fetch (/home/runner/work/undici/undici/lib/web/fetch/index.js:145:21)
at TestContext.<anonymous> (/home/runner/work/undici/undici/test/mock-interceptor.js:283:25)
at Test.runInAsyncScope (node:async_hooks:211:14)
at Test.run (node:internal/test_runner/test:930:25)
at Suite.processPendingSubtests (node:internal/test_runner/test:629:18)
at Test.postRun (node:internal/test_runner/test:1026:19)
at Test.run (node:internal/test_runner/test:969:12)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
}
|
MockAgent should match with or without trailing slash by setting ignoreTrailingSlash as intercept option /1:
test/mock-interceptor.js#L297
[Error [ERR_TEST_FAILURE]: webidl.converters.USVString is not a function] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: TypeError [Error]: webidl.converters.USVString is not a function
at webidl.converters.RequestInfo (/home/runner/work/undici/undici/lib/web/fetch/request.js:1003:28)
at new Request (/home/runner/work/undici/undici/lib/web/fetch/request.js:104:31)
at fetch (/home/runner/work/undici/undici/lib/web/fetch/index.js:145:21)
at TestContext.<anonymous> (/home/runner/work/undici/undici/test/mock-interceptor.js:297:25)
at Test.runInAsyncScope (node:async_hooks:211:14)
at Test.run (node:internal/test_runner/test:930:25)
at Suite.processPendingSubtests (node:internal/test_runner/test:629:18)
at Test.postRun (node:internal/test_runner/test:1026:19)
at Test.run (node:internal/test_runner/test:969:12)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
}
|
test (20, ubuntu-latest) / Test with Node.js 20 on ubuntu-latest
The job running on runner GitHub Actions 424 has exceeded the maximum execution time of 15 minutes.
|
ProxyAgent correctly sends headers when using fetch - #1355, #1623:
test/proxy-agent.js#L535
[Error [ERR_TEST_FAILURE]: webidl.converters.USVString is not a function] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: TypeError [Error]: webidl.converters.USVString is not a function
at fetch (/home/runner/work/undici/undici/index.js:111:13)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async TestContext.<anonymous> (/home/runner/work/undici/undici/test/proxy-agent.js:535:3)
at async Test.run (node:internal/test_runner/test:790:9)
at async Test.processPendingSubtests (node:internal/test_runner/test:517:7)
}
|
pass ProxyAgent proxy status code error when using fetch - #2161:
test/proxy-agent.js#L591
[Error [ERR_TEST_FAILURE]: The expression evaluated to a falsy value:
assert[method](...args)
] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: The expression evaluated to a falsy value:
assert[method](...args)
at res.<computed> [as ok] (/home/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35)
at TestContext.<anonymous> (/home/runner/work/undici/undici/test/proxy-agent.js:591:7)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Test.run (node:internal/test_runner/test:790:9)
at async Test.processPendingSubtests (node:internal/test_runner/test:517:7) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: false,
expected: true,
operator: '=='
}
}
|
test/proxy-agent.js:
test/proxy-agent.js#L1
[Error [ERR_TEST_FAILURE]: test timed out after 30000ms] { code: 'ERR_TEST_FAILURE', failureType: 'testTimeoutFailure', cause: 'test timed out after 30000ms' }
|
getHeaderByName:
test/mock-utils.js#L217
[Error [ERR_TEST_FAILURE]: isValidHeaderName is not a function] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: TypeError [Error]: isValidHeaderName is not a function
at appendHeader (/home/runner/work/undici/undici/lib/web/fetch/headers.js:94:8)
at fill (/home/runner/work/undici/undici/lib/web/fetch/headers.js:62:7)
at new Headers (/home/runner/work/undici/undici/lib/web/fetch/headers.js:455:7)
at TestContext.<anonymous> (/home/runner/work/undici/undici/test/mock-utils.js:217:19)
at Test.runInAsyncScope (node:async_hooks:206:9)
at Test.run (node:internal/test_runner/test:789:25)
at Test.processPendingSubtests (node:internal/test_runner/test:517:18)
at Test.postRun (node:internal/test_runner/test:885:19)
at Test.run (node:internal/test_runner/test:831:12)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
}
|
MockPool - allows matching headers in fetch:
test/mock-pool.js#L348
[Error [ERR_TEST_FAILURE]: webidl.converters.USVString is not a function] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: TypeError [Error]: webidl.converters.USVString is not a function
at fetch (/home/runner/work/undici/undici/index.js:111:13)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async TestContext.<anonymous> (/home/runner/work/undici/undici/test/mock-pool.js:348:3)
at async Test.run (node:internal/test_runner/test:790:9)
at async Test.processPendingSubtests (node:internal/test_runner/test:517:7)
}
|
MockAgent should match with or without trailing slash by setting ignoreTrailingSlash as MockAgent option /0:
test/mock-interceptor.js#L283
Error [ERR_TEST_FAILURE]: webidl.converters.USVString is not a function
at async Promise.all (index 0) {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: TypeError [Error]: webidl.converters.USVString is not a function
at webidl.converters.RequestInfo (/home/runner/work/undici/undici/lib/web/fetch/request.js:1003:28)
at new Request (/home/runner/work/undici/undici/lib/web/fetch/request.js:104:31)
at fetch (/home/runner/work/undici/undici/lib/web/fetch/index.js:145:21)
at TestContext.<anonymous> (/home/runner/work/undici/undici/test/mock-interceptor.js:283:25)
at Test.runInAsyncScope (node:async_hooks:206:9)
at Test.run (node:internal/test_runner/test:789:25)
at Test.start (node:internal/test_runner/test:693:17)
at node:internal/test_runner/test:1129:71
at node:internal/per_context/primordials:487:82
at new Promise (<anonymous>)
}
|
MockAgent should match with or without trailing slash by setting ignoreTrailingSlash as intercept option /0:
test/mock-interceptor.js#L297
[Error [ERR_TEST_FAILURE]: webidl.converters.USVString is not a function] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: TypeError [Error]: webidl.converters.USVString is not a function
at webidl.converters.RequestInfo (/home/runner/work/undici/undici/lib/web/fetch/request.js:1003:28)
at new Request (/home/runner/work/undici/undici/lib/web/fetch/request.js:104:31)
at fetch (/home/runner/work/undici/undici/lib/web/fetch/index.js:145:21)
at TestContext.<anonymous> (/home/runner/work/undici/undici/test/mock-interceptor.js:297:25)
at Test.runInAsyncScope (node:async_hooks:206:9)
at Test.run (node:internal/test_runner/test:789:25)
at Suite.processPendingSubtests (node:internal/test_runner/test:517:18)
at Test.postRun (node:internal/test_runner/test:885:19)
at Test.run (node:internal/test_runner/test:831:12)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
}
|
MockAgent should should match on strict equal cases of paths when ignoreTrailingSlash is not set /0:
test/mock-interceptor.js#L315
[Error [ERR_TEST_FAILURE]: webidl.converters.USVString is not a function] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: TypeError [Error]: webidl.converters.USVString is not a function
at webidl.converters.RequestInfo (/home/runner/work/undici/undici/lib/web/fetch/request.js:1003:28)
at new Request (/home/runner/work/undici/undici/lib/web/fetch/request.js:104:31)
at fetch (/home/runner/work/undici/undici/lib/web/fetch/index.js:145:21)
at TestContext.<anonymous> (/home/runner/work/undici/undici/test/mock-interceptor.js:315:27)
at Test.runInAsyncScope (node:async_hooks:206:9)
at Test.run (node:internal/test_runner/test:789:25)
at Suite.processPendingSubtests (node:internal/test_runner/test:517:18)
at Test.postRun (node:internal/test_runner/test:885:19)
at Test.run (node:internal/test_runner/test:831:12)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
}
|
MockAgent should match with or without trailing slash by setting ignoreTrailingSlash as MockAgent option /1:
test/mock-interceptor.js#L283
[Error [ERR_TEST_FAILURE]: webidl.converters.USVString is not a function] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: TypeError [Error]: webidl.converters.USVString is not a function
at webidl.converters.RequestInfo (/home/runner/work/undici/undici/lib/web/fetch/request.js:1003:28)
at new Request (/home/runner/work/undici/undici/lib/web/fetch/request.js:104:31)
at fetch (/home/runner/work/undici/undici/lib/web/fetch/index.js:145:21)
at TestContext.<anonymous> (/home/runner/work/undici/undici/test/mock-interceptor.js:283:25)
at Test.runInAsyncScope (node:async_hooks:206:9)
at Test.run (node:internal/test_runner/test:789:25)
at Suite.processPendingSubtests (node:internal/test_runner/test:517:18)
at Test.postRun (node:internal/test_runner/test:885:19)
at Test.run (node:internal/test_runner/test:831:12)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
}
|
MockAgent should match with or without trailing slash by setting ignoreTrailingSlash as intercept option /1:
test/mock-interceptor.js#L297
[Error [ERR_TEST_FAILURE]: webidl.converters.USVString is not a function] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: TypeError [Error]: webidl.converters.USVString is not a function
at webidl.converters.RequestInfo (/home/runner/work/undici/undici/lib/web/fetch/request.js:1003:28)
at new Request (/home/runner/work/undici/undici/lib/web/fetch/request.js:104:31)
at fetch (/home/runner/work/undici/undici/lib/web/fetch/index.js:145:21)
at TestContext.<anonymous> (/home/runner/work/undici/undici/test/mock-interceptor.js:297:25)
at Test.runInAsyncScope (node:async_hooks:206:9)
at Test.run (node:internal/test_runner/test:789:25)
at Suite.processPendingSubtests (node:internal/test_runner/test:517:18)
at Test.postRun (node:internal/test_runner/test:885:19)
at Test.run (node:internal/test_runner/test:831:12)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
}
|
test (21, macos-latest) / Test with Node.js 21 on macos-latest
The job running on runner GitHub Actions 210 has exceeded the maximum execution time of 15 minutes.
|
test (18, macos-latest) / Test with Node.js 18 on macos-latest
The job running on runner GitHub Actions 262 has exceeded the maximum execution time of 15 minutes.
|
ProxyAgent correctly sends headers when using fetch - #1355, #1623:
test/proxy-agent.js#L535
[Error [ERR_TEST_FAILURE]: webidl.converters.USVString is not a function] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: TypeError [Error]: webidl.converters.USVString is not a function
at fetch (/Users/runner/work/undici/undici/index.js:111:13)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async TestContext.<anonymous> (/Users/runner/work/undici/undici/test/proxy-agent.js:535:3)
at async Test.run (node:internal/test_runner/test:640:9)
at async Test.processPendingSubtests (node:internal/test_runner/test:382:7)
}
|
ProxyAgent correctly sends headers when using fetch - #1355, #1623:
test/proxy-agent.js#L535
[Error [ERR_TEST_FAILURE]: webidl.converters.USVString is not a function] {
failureType: 'testCodeFailure',
cause: TypeError [Error]: webidl.converters.USVString is not a function
at fetch (/Users/runner/work/undici/undici/index.js:111:13)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async TestContext.<anonymous> (/Users/runner/work/undici/undici/test/proxy-agent.js:535:3)
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'
}
|
pass ProxyAgent proxy status code error when using fetch - #2161:
test/proxy-agent.js#L591
[Error [ERR_TEST_FAILURE]: The expression evaluated to a falsy value:
assert[method](...args)
] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: The expression evaluated to a falsy value:
assert[method](...args)
at res.<computed> [as ok] (/Users/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35)
at TestContext.<anonymous> (/Users/runner/work/undici/undici/test/proxy-agent.js:591: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: false,
expected: true,
operator: '=='
}
}
|
pass ProxyAgent proxy status code error when using fetch - #2161:
test/proxy-agent.js#L591
[Error [ERR_TEST_FAILURE]: The expression evaluated to a falsy value:
assert[method](...args)
] {
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: The expression evaluated to a falsy value:
assert[method](...args)
at res.<computed> [as ok] (/Users/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35)
at TestContext.<anonymous> (/Users/runner/work/undici/undici/test/proxy-agent.js:591: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: false,
expected: true,
operator: '=='
},
code: 'ERR_TEST_FAILURE'
}
|
test/proxy-agent.js:
test/proxy-agent.js#L1
[Error [ERR_TEST_FAILURE]: test timed out after 30000ms] { code: 'ERR_TEST_FAILURE', failureType: 'testTimeoutFailure', cause: 'test timed out after 30000ms' }
|
test/proxy-agent.js:
test/proxy-agent.js#L1
[Error [ERR_TEST_FAILURE]: test timed out after 30000ms] { failureType: 'testTimeoutFailure', cause: 'test timed out after 30000ms', code: 'ERR_TEST_FAILURE' }
|
getHeaderByName:
test/mock-utils.js#L217
[Error [ERR_TEST_FAILURE]: isValidHeaderName is not a function] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: TypeError [Error]: isValidHeaderName is not a function
at appendHeader (/Users/runner/work/undici/undici/lib/web/fetch/headers.js:94:8)
at fill (/Users/runner/work/undici/undici/lib/web/fetch/headers.js:62:7)
at new Headers (/Users/runner/work/undici/undici/lib/web/fetch/headers.js:455:7)
at TestContext.<anonymous> (/Users/runner/work/undici/undici/test/mock-utils.js:217:19)
at Test.runInAsyncScope (node:async_hooks:206:9)
at Test.run (node:internal/test_runner/test:639:25)
at Test.processPendingSubtests (node:internal/test_runner/test:382:18)
at Test.postRun (node:internal/test_runner/test:730:19)
at Test.run (node:internal/test_runner/test:688:12)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
}
|
getHeaderByName:
test/mock-utils.js#L217
[Error [ERR_TEST_FAILURE]: isValidHeaderName is not a function] {
failureType: 'testCodeFailure',
cause: TypeError [Error]: isValidHeaderName is not a function
at appendHeader (/Users/runner/work/undici/undici/lib/web/fetch/headers.js:94:8)
at fill (/Users/runner/work/undici/undici/lib/web/fetch/headers.js:62:7)
at new Headers (/Users/runner/work/undici/undici/lib/web/fetch/headers.js:455:7)
at TestContext.<anonymous> (/Users/runner/work/undici/undici/test/mock-utils.js:217:19)
at Test.runInAsyncScope (node:async_hooks:203:9)
at Test.run (node:internal/test_runner/test:631:25)
at Test.processPendingSubtests (node:internal/test_runner/test:374:18)
at Test.postRun (node:internal/test_runner/test:715:19)
at Test.run (node:internal/test_runner/test:673:12)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5),
code: 'ERR_TEST_FAILURE'
}
|
MockPool - allows matching headers in fetch:
test/mock-pool.js#L348
[Error [ERR_TEST_FAILURE]: webidl.converters.USVString is not a function] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: TypeError [Error]: webidl.converters.USVString is not a function
at fetch (/Users/runner/work/undici/undici/index.js:111:13)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async TestContext.<anonymous> (/Users/runner/work/undici/undici/test/mock-pool.js:348:3)
at async Test.run (node:internal/test_runner/test:640:9)
at async Test.processPendingSubtests (node:internal/test_runner/test:382:7)
}
|
MockPool - allows matching headers in fetch:
test/mock-pool.js#L348
[Error [ERR_TEST_FAILURE]: webidl.converters.USVString is not a function] {
failureType: 'testCodeFailure',
cause: TypeError [Error]: webidl.converters.USVString is not a function
at fetch (/Users/runner/work/undici/undici/index.js:111:13)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async TestContext.<anonymous> (/Users/runner/work/undici/undici/test/mock-pool.js:348:3)
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'
}
|
MockAgent should match with or without trailing slash by setting ignoreTrailingSlash as MockAgent option /0:
test/mock-interceptor.js#L283
Error [ERR_TEST_FAILURE]: webidl.converters.USVString is not a function
at async Promise.all (index 0) {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: TypeError [Error]: webidl.converters.USVString is not a function
at webidl.converters.RequestInfo (/Users/runner/work/undici/undici/lib/web/fetch/request.js:1003:28)
at new Request (/Users/runner/work/undici/undici/lib/web/fetch/request.js:104:31)
at fetch (/Users/runner/work/undici/undici/lib/web/fetch/index.js:145:21)
at TestContext.<anonymous> (/Users/runner/work/undici/undici/test/mock-interceptor.js:283:25)
at Test.runInAsyncScope (node:async_hooks:206:9)
at Test.run (node:internal/test_runner/test:639:25)
at Test.start (node:internal/test_runner/test:550:17)
at node:internal/test_runner/test:962:71
at node:internal/per_context/primordials:488:82
at new Promise (<anonymous>)
}
|
MockAgent should match with or without trailing slash by setting ignoreTrailingSlash as MockAgent option /0:
test/mock-interceptor.js#L283
Error [ERR_TEST_FAILURE]: webidl.converters.USVString is not a function
at async Promise.all (index 0) {
failureType: 'testCodeFailure',
cause: TypeError [Error]: webidl.converters.USVString is not a function
at webidl.converters.RequestInfo (/Users/runner/work/undici/undici/lib/web/fetch/request.js:1003:28)
at new Request (/Users/runner/work/undici/undici/lib/web/fetch/request.js:104:31)
at fetch (/Users/runner/work/undici/undici/lib/web/fetch/index.js:145:21)
at TestContext.<anonymous> (/Users/runner/work/undici/undici/test/mock-interceptor.js:283:25)
at Test.runInAsyncScope (node:async_hooks:203:9)
at Test.run (node:internal/test_runner/test:631:25)
at Test.start (node:internal/test_runner/test:542:17)
at node:internal/test_runner/test:946:71
at node:internal/per_context/primordials:487:82
at new Promise (<anonymous>),
code: 'ERR_TEST_FAILURE'
}
|
MockAgent should match with or without trailing slash by setting ignoreTrailingSlash as intercept option /0:
test/mock-interceptor.js#L297
[Error [ERR_TEST_FAILURE]: webidl.converters.USVString is not a function] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: TypeError [Error]: webidl.converters.USVString is not a function
at webidl.converters.RequestInfo (/Users/runner/work/undici/undici/lib/web/fetch/request.js:1003:28)
at new Request (/Users/runner/work/undici/undici/lib/web/fetch/request.js:104:31)
at fetch (/Users/runner/work/undici/undici/lib/web/fetch/index.js:145:21)
at TestContext.<anonymous> (/Users/runner/work/undici/undici/test/mock-interceptor.js:297:25)
at Test.runInAsyncScope (node:async_hooks:206:9)
at Test.run (node:internal/test_runner/test:639:25)
at Suite.processPendingSubtests (node:internal/test_runner/test:382:18)
at Test.postRun (node:internal/test_runner/test:730:19)
at Test.run (node:internal/test_runner/test:688:12)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
}
|
MockAgent should match with or without trailing slash by setting ignoreTrailingSlash as intercept option /0:
test/mock-interceptor.js#L297
[Error [ERR_TEST_FAILURE]: webidl.converters.USVString is not a function] {
failureType: 'testCodeFailure',
cause: TypeError [Error]: webidl.converters.USVString is not a function
at webidl.converters.RequestInfo (/Users/runner/work/undici/undici/lib/web/fetch/request.js:1003:28)
at new Request (/Users/runner/work/undici/undici/lib/web/fetch/request.js:104:31)
at fetch (/Users/runner/work/undici/undici/lib/web/fetch/index.js:145:21)
at TestContext.<anonymous> (/Users/runner/work/undici/undici/test/mock-interceptor.js:297:25)
at Test.runInAsyncScope (node:async_hooks:203:9)
at Test.run (node:internal/test_runner/test:631:25)
at Suite.processPendingSubtests (node:internal/test_runner/test:374:18)
at Test.postRun (node:internal/test_runner/test:715:19)
at Test.run (node:internal/test_runner/test:673:12)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5),
code: 'ERR_TEST_FAILURE'
}
|
test (20, macos-latest) / Test with Node.js 20 on macos-latest
The job running on runner GitHub Actions 390 has exceeded the maximum execution time of 15 minutes.
|
MockAgent should should match on strict equal cases of paths when ignoreTrailingSlash is not set /0:
test/mock-interceptor.js#L315
[Error [ERR_TEST_FAILURE]: webidl.converters.USVString is not a function] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: TypeError [Error]: webidl.converters.USVString is not a function
at webidl.converters.RequestInfo (/Users/runner/work/undici/undici/lib/web/fetch/request.js:1003:28)
at new Request (/Users/runner/work/undici/undici/lib/web/fetch/request.js:104:31)
at fetch (/Users/runner/work/undici/undici/lib/web/fetch/index.js:145:21)
at TestContext.<anonymous> (/Users/runner/work/undici/undici/test/mock-interceptor.js:315:27)
at Test.runInAsyncScope (node:async_hooks:206:9)
at Test.run (node:internal/test_runner/test:639:25)
at Suite.processPendingSubtests (node:internal/test_runner/test:382:18)
at Test.postRun (node:internal/test_runner/test:730:19)
at Test.run (node:internal/test_runner/test:688:12)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
}
|
MockAgent should should match on strict equal cases of paths when ignoreTrailingSlash is not set /0:
test/mock-interceptor.js#L315
[Error [ERR_TEST_FAILURE]: webidl.converters.USVString is not a function] {
failureType: 'testCodeFailure',
cause: TypeError [Error]: webidl.converters.USVString is not a function
at webidl.converters.RequestInfo (/Users/runner/work/undici/undici/lib/web/fetch/request.js:1003:28)
at new Request (/Users/runner/work/undici/undici/lib/web/fetch/request.js:104:31)
at fetch (/Users/runner/work/undici/undici/lib/web/fetch/index.js:145:21)
at TestContext.<anonymous> (/Users/runner/work/undici/undici/test/mock-interceptor.js:315:27)
at Test.runInAsyncScope (node:async_hooks:203:9)
at Test.run (node:internal/test_runner/test:631:25)
at Suite.processPendingSubtests (node:internal/test_runner/test:374:18)
at Test.postRun (node:internal/test_runner/test:715:19)
at Test.run (node:internal/test_runner/test:673:12)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5),
code: 'ERR_TEST_FAILURE'
}
|
ProxyAgent correctly sends headers when using fetch - #1355, #1623:
test/proxy-agent.js#L535
[Error [ERR_TEST_FAILURE]: webidl.converters.USVString is not a function] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: TypeError [Error]: webidl.converters.USVString is not a function
at fetch (/Users/runner/work/undici/undici/index.js:111:13)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async TestContext.<anonymous> (/Users/runner/work/undici/undici/test/proxy-agent.js:535:3)
at async Test.run (node:internal/test_runner/test:790:9)
at async Test.processPendingSubtests (node:internal/test_runner/test:517:7)
}
|
MockAgent should match with or without trailing slash by setting ignoreTrailingSlash as MockAgent option /1:
test/mock-interceptor.js#L283
[Error [ERR_TEST_FAILURE]: webidl.converters.USVString is not a function] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: TypeError [Error]: webidl.converters.USVString is not a function
at webidl.converters.RequestInfo (/Users/runner/work/undici/undici/lib/web/fetch/request.js:1003:28)
at new Request (/Users/runner/work/undici/undici/lib/web/fetch/request.js:104:31)
at fetch (/Users/runner/work/undici/undici/lib/web/fetch/index.js:145:21)
at TestContext.<anonymous> (/Users/runner/work/undici/undici/test/mock-interceptor.js:283:25)
at Test.runInAsyncScope (node:async_hooks:206:9)
at Test.run (node:internal/test_runner/test:639:25)
at Suite.processPendingSubtests (node:internal/test_runner/test:382:18)
at Test.postRun (node:internal/test_runner/test:730:19)
at Test.run (node:internal/test_runner/test:688:12)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
}
|
MockAgent should match with or without trailing slash by setting ignoreTrailingSlash as MockAgent option /1:
test/mock-interceptor.js#L283
[Error [ERR_TEST_FAILURE]: webidl.converters.USVString is not a function] {
failureType: 'testCodeFailure',
cause: TypeError [Error]: webidl.converters.USVString is not a function
at webidl.converters.RequestInfo (/Users/runner/work/undici/undici/lib/web/fetch/request.js:1003:28)
at new Request (/Users/runner/work/undici/undici/lib/web/fetch/request.js:104:31)
at fetch (/Users/runner/work/undici/undici/lib/web/fetch/index.js:145:21)
at TestContext.<anonymous> (/Users/runner/work/undici/undici/test/mock-interceptor.js:283:25)
at Test.runInAsyncScope (node:async_hooks:203:9)
at Test.run (node:internal/test_runner/test:631:25)
at Suite.processPendingSubtests (node:internal/test_runner/test:374:18)
at Test.postRun (node:internal/test_runner/test:715:19)
at Test.run (node:internal/test_runner/test:673:12)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5),
code: 'ERR_TEST_FAILURE'
}
|
pass ProxyAgent proxy status code error when using fetch - #2161:
test/proxy-agent.js#L591
[Error [ERR_TEST_FAILURE]: The expression evaluated to a falsy value:
assert[method](...args)
] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: The expression evaluated to a falsy value:
assert[method](...args)
at res.<computed> [as ok] (/Users/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35)
at TestContext.<anonymous> (/Users/runner/work/undici/undici/test/proxy-agent.js:591:7)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Test.run (node:internal/test_runner/test:790:9)
at async Test.processPendingSubtests (node:internal/test_runner/test:517:7) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: false,
expected: true,
operator: '=='
}
}
|
MockAgent should match with or without trailing slash by setting ignoreTrailingSlash as intercept option /1:
test/mock-interceptor.js#L297
[Error [ERR_TEST_FAILURE]: webidl.converters.USVString is not a function] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: TypeError [Error]: webidl.converters.USVString is not a function
at webidl.converters.RequestInfo (/Users/runner/work/undici/undici/lib/web/fetch/request.js:1003:28)
at new Request (/Users/runner/work/undici/undici/lib/web/fetch/request.js:104:31)
at fetch (/Users/runner/work/undici/undici/lib/web/fetch/index.js:145:21)
at TestContext.<anonymous> (/Users/runner/work/undici/undici/test/mock-interceptor.js:297:25)
at Test.runInAsyncScope (node:async_hooks:206:9)
at Test.run (node:internal/test_runner/test:639:25)
at Suite.processPendingSubtests (node:internal/test_runner/test:382:18)
at Test.postRun (node:internal/test_runner/test:730:19)
at Test.run (node:internal/test_runner/test:688:12)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
}
|
MockAgent should match with or without trailing slash by setting ignoreTrailingSlash as intercept option /1:
test/mock-interceptor.js#L297
[Error [ERR_TEST_FAILURE]: webidl.converters.USVString is not a function] {
failureType: 'testCodeFailure',
cause: TypeError [Error]: webidl.converters.USVString is not a function
at webidl.converters.RequestInfo (/Users/runner/work/undici/undici/lib/web/fetch/request.js:1003:28)
at new Request (/Users/runner/work/undici/undici/lib/web/fetch/request.js:104:31)
at fetch (/Users/runner/work/undici/undici/lib/web/fetch/index.js:145:21)
at TestContext.<anonymous> (/Users/runner/work/undici/undici/test/mock-interceptor.js:297:25)
at Test.runInAsyncScope (node:async_hooks:203:9)
at Test.run (node:internal/test_runner/test:631:25)
at Suite.processPendingSubtests (node:internal/test_runner/test:374:18)
at Test.postRun (node:internal/test_runner/test:715:19)
at Test.run (node:internal/test_runner/test:673:12)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5),
code: 'ERR_TEST_FAILURE'
}
|
test/proxy-agent.js:
test/proxy-agent.js#L1
[Error [ERR_TEST_FAILURE]: test timed out after 30000ms] { code: 'ERR_TEST_FAILURE', failureType: 'testTimeoutFailure', cause: 'test timed out after 30000ms' }
|
getHeaderByName:
test/mock-utils.js#L217
[Error [ERR_TEST_FAILURE]: isValidHeaderName is not a function] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: TypeError [Error]: isValidHeaderName is not a function
at appendHeader (/Users/runner/work/undici/undici/lib/web/fetch/headers.js:94:8)
at fill (/Users/runner/work/undici/undici/lib/web/fetch/headers.js:62:7)
at new Headers (/Users/runner/work/undici/undici/lib/web/fetch/headers.js:455:7)
at TestContext.<anonymous> (/Users/runner/work/undici/undici/test/mock-utils.js:217:19)
at Test.runInAsyncScope (node:async_hooks:206:9)
at Test.run (node:internal/test_runner/test:789:25)
at Test.processPendingSubtests (node:internal/test_runner/test:517:18)
at Test.postRun (node:internal/test_runner/test:885:19)
at Test.run (node:internal/test_runner/test:831:12)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
}
|
MockPool - allows matching headers in fetch:
test/mock-pool.js#L348
[Error [ERR_TEST_FAILURE]: webidl.converters.USVString is not a function] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: TypeError [Error]: webidl.converters.USVString is not a function
at fetch (/Users/runner/work/undici/undici/index.js:111:13)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async TestContext.<anonymous> (/Users/runner/work/undici/undici/test/mock-pool.js:348:3)
at async Test.run (node:internal/test_runner/test:790:9)
at async Test.processPendingSubtests (node:internal/test_runner/test:517:7)
}
|
MockAgent should match with or without trailing slash by setting ignoreTrailingSlash as MockAgent option /0:
test/mock-interceptor.js#L283
Error [ERR_TEST_FAILURE]: webidl.converters.USVString is not a function
at async Promise.all (index 0) {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: TypeError [Error]: webidl.converters.USVString is not a function
at webidl.converters.RequestInfo (/Users/runner/work/undici/undici/lib/web/fetch/request.js:1003:28)
at new Request (/Users/runner/work/undici/undici/lib/web/fetch/request.js:104:31)
at fetch (/Users/runner/work/undici/undici/lib/web/fetch/index.js:145:21)
at TestContext.<anonymous> (/Users/runner/work/undici/undici/test/mock-interceptor.js:283:25)
at Test.runInAsyncScope (node:async_hooks:206:9)
at Test.run (node:internal/test_runner/test:789:25)
at Test.start (node:internal/test_runner/test:693:17)
at node:internal/test_runner/test:1129:71
at node:internal/per_context/primordials:487:82
at new Promise (<anonymous>)
}
|
MockAgent should match with or without trailing slash by setting ignoreTrailingSlash as intercept option /0:
test/mock-interceptor.js#L297
[Error [ERR_TEST_FAILURE]: webidl.converters.USVString is not a function] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: TypeError [Error]: webidl.converters.USVString is not a function
at webidl.converters.RequestInfo (/Users/runner/work/undici/undici/lib/web/fetch/request.js:1003:28)
at new Request (/Users/runner/work/undici/undici/lib/web/fetch/request.js:104:31)
at fetch (/Users/runner/work/undici/undici/lib/web/fetch/index.js:145:21)
at TestContext.<anonymous> (/Users/runner/work/undici/undici/test/mock-interceptor.js:297:25)
at Test.runInAsyncScope (node:async_hooks:206:9)
at Test.run (node:internal/test_runner/test:789:25)
at Suite.processPendingSubtests (node:internal/test_runner/test:517:18)
at Test.postRun (node:internal/test_runner/test:885:19)
at Test.run (node:internal/test_runner/test:831:12)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
}
|
MockAgent should should match on strict equal cases of paths when ignoreTrailingSlash is not set /0:
test/mock-interceptor.js#L315
[Error [ERR_TEST_FAILURE]: webidl.converters.USVString is not a function] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: TypeError [Error]: webidl.converters.USVString is not a function
at webidl.converters.RequestInfo (/Users/runner/work/undici/undici/lib/web/fetch/request.js:1003:28)
at new Request (/Users/runner/work/undici/undici/lib/web/fetch/request.js:104:31)
at fetch (/Users/runner/work/undici/undici/lib/web/fetch/index.js:145:21)
at TestContext.<anonymous> (/Users/runner/work/undici/undici/test/mock-interceptor.js:315:27)
at Test.runInAsyncScope (node:async_hooks:206:9)
at Test.run (node:internal/test_runner/test:789:25)
at Suite.processPendingSubtests (node:internal/test_runner/test:517:18)
at Test.postRun (node:internal/test_runner/test:885:19)
at Test.run (node:internal/test_runner/test:831:12)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
}
|
MockAgent should match with or without trailing slash by setting ignoreTrailingSlash as MockAgent option /1:
test/mock-interceptor.js#L283
[Error [ERR_TEST_FAILURE]: webidl.converters.USVString is not a function] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: TypeError [Error]: webidl.converters.USVString is not a function
at webidl.converters.RequestInfo (/Users/runner/work/undici/undici/lib/web/fetch/request.js:1003:28)
at new Request (/Users/runner/work/undici/undici/lib/web/fetch/request.js:104:31)
at fetch (/Users/runner/work/undici/undici/lib/web/fetch/index.js:145:21)
at TestContext.<anonymous> (/Users/runner/work/undici/undici/test/mock-interceptor.js:283:25)
at Test.runInAsyncScope (node:async_hooks:206:9)
at Test.run (node:internal/test_runner/test:789:25)
at Suite.processPendingSubtests (node:internal/test_runner/test:517:18)
at Test.postRun (node:internal/test_runner/test:885:19)
at Test.run (node:internal/test_runner/test:831:12)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
}
|
MockAgent should match with or without trailing slash by setting ignoreTrailingSlash as intercept option /1:
test/mock-interceptor.js#L297
[Error [ERR_TEST_FAILURE]: webidl.converters.USVString is not a function] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: TypeError [Error]: webidl.converters.USVString is not a function
at webidl.converters.RequestInfo (/Users/runner/work/undici/undici/lib/web/fetch/request.js:1003:28)
at new Request (/Users/runner/work/undici/undici/lib/web/fetch/request.js:104:31)
at fetch (/Users/runner/work/undici/undici/lib/web/fetch/index.js:145:21)
at TestContext.<anonymous> (/Users/runner/work/undici/undici/test/mock-interceptor.js:297:25)
at Test.runInAsyncScope (node:async_hooks:206:9)
at Test.run (node:internal/test_runner/test:789:25)
at Suite.processPendingSubtests (node:internal/test_runner/test:517:18)
at Test.postRun (node:internal/test_runner/test:885:19)
at Test.run (node:internal/test_runner/test:831:12)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
}
|
test (18, ubuntu-latest) / Test with Node.js 18 on ubuntu-latest
The job running on runner GitHub Actions 368 has exceeded the maximum execution time of 15 minutes.
|
ProxyAgent correctly sends headers when using fetch - #1355, #1623:
test/proxy-agent.js#L535
[Error [ERR_TEST_FAILURE]: webidl.converters.USVString is not a function] {
failureType: 'testCodeFailure',
cause: TypeError [Error]: webidl.converters.USVString is not a function
at fetch (/home/runner/work/undici/undici/index.js:111:13)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async TestContext.<anonymous> (/home/runner/work/undici/undici/test/proxy-agent.js:535:3)
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'
}
|
pass ProxyAgent proxy status code error when using fetch - #2161:
test/proxy-agent.js#L591
[Error [ERR_TEST_FAILURE]: The expression evaluated to a falsy value:
assert[method](...args)
] {
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: The expression evaluated to a falsy value:
assert[method](...args)
at res.<computed> [as ok] (/home/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35)
at TestContext.<anonymous> (/home/runner/work/undici/undici/test/proxy-agent.js:591: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: false,
expected: true,
operator: '=='
},
code: 'ERR_TEST_FAILURE'
}
|
test/proxy-agent.js:
test/proxy-agent.js#L1
[Error [ERR_TEST_FAILURE]: test timed out after 30000ms] { failureType: 'testTimeoutFailure', cause: 'test timed out after 30000ms', code: 'ERR_TEST_FAILURE' }
|
getHeaderByName:
test/mock-utils.js#L217
[Error [ERR_TEST_FAILURE]: isValidHeaderName is not a function] {
failureType: 'testCodeFailure',
cause: TypeError [Error]: isValidHeaderName is not a function
at appendHeader (/home/runner/work/undici/undici/lib/web/fetch/headers.js:94:8)
at fill (/home/runner/work/undici/undici/lib/web/fetch/headers.js:62:7)
at new Headers (/home/runner/work/undici/undici/lib/web/fetch/headers.js:455:7)
at TestContext.<anonymous> (/home/runner/work/undici/undici/test/mock-utils.js:217:19)
at Test.runInAsyncScope (node:async_hooks:203:9)
at Test.run (node:internal/test_runner/test:631:25)
at Test.processPendingSubtests (node:internal/test_runner/test:374:18)
at Test.postRun (node:internal/test_runner/test:715:19)
at Test.run (node:internal/test_runner/test:673:12)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5),
code: 'ERR_TEST_FAILURE'
}
|
MockPool - allows matching headers in fetch:
test/mock-pool.js#L348
[Error [ERR_TEST_FAILURE]: webidl.converters.USVString is not a function] {
failureType: 'testCodeFailure',
cause: TypeError [Error]: webidl.converters.USVString is not a function
at fetch (/home/runner/work/undici/undici/index.js:111:13)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async TestContext.<anonymous> (/home/runner/work/undici/undici/test/mock-pool.js:348:3)
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'
}
|
MockAgent should match with or without trailing slash by setting ignoreTrailingSlash as MockAgent option /0:
test/mock-interceptor.js#L283
Error [ERR_TEST_FAILURE]: webidl.converters.USVString is not a function
at async Promise.all (index 0) {
failureType: 'testCodeFailure',
cause: TypeError [Error]: webidl.converters.USVString is not a function
at webidl.converters.RequestInfo (/home/runner/work/undici/undici/lib/web/fetch/request.js:1003:28)
at new Request (/home/runner/work/undici/undici/lib/web/fetch/request.js:104:31)
at fetch (/home/runner/work/undici/undici/lib/web/fetch/index.js:145:21)
at TestContext.<anonymous> (/home/runner/work/undici/undici/test/mock-interceptor.js:283:25)
at Test.runInAsyncScope (node:async_hooks:203:9)
at Test.run (node:internal/test_runner/test:631:25)
at Test.start (node:internal/test_runner/test:542:17)
at node:internal/test_runner/test:946:71
at node:internal/per_context/primordials:487:82
at new Promise (<anonymous>),
code: 'ERR_TEST_FAILURE'
}
|
MockAgent should match with or without trailing slash by setting ignoreTrailingSlash as intercept option /0:
test/mock-interceptor.js#L297
[Error [ERR_TEST_FAILURE]: webidl.converters.USVString is not a function] {
failureType: 'testCodeFailure',
cause: TypeError [Error]: webidl.converters.USVString is not a function
at webidl.converters.RequestInfo (/home/runner/work/undici/undici/lib/web/fetch/request.js:1003:28)
at new Request (/home/runner/work/undici/undici/lib/web/fetch/request.js:104:31)
at fetch (/home/runner/work/undici/undici/lib/web/fetch/index.js:145:21)
at TestContext.<anonymous> (/home/runner/work/undici/undici/test/mock-interceptor.js:297:25)
at Test.runInAsyncScope (node:async_hooks:203:9)
at Test.run (node:internal/test_runner/test:631:25)
at Suite.processPendingSubtests (node:internal/test_runner/test:374:18)
at Test.postRun (node:internal/test_runner/test:715:19)
at Test.run (node:internal/test_runner/test:673:12)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5),
code: 'ERR_TEST_FAILURE'
}
|
MockAgent should should match on strict equal cases of paths when ignoreTrailingSlash is not set /0:
test/mock-interceptor.js#L315
[Error [ERR_TEST_FAILURE]: webidl.converters.USVString is not a function] {
failureType: 'testCodeFailure',
cause: TypeError [Error]: webidl.converters.USVString is not a function
at webidl.converters.RequestInfo (/home/runner/work/undici/undici/lib/web/fetch/request.js:1003:28)
at new Request (/home/runner/work/undici/undici/lib/web/fetch/request.js:104:31)
at fetch (/home/runner/work/undici/undici/lib/web/fetch/index.js:145:21)
at TestContext.<anonymous> (/home/runner/work/undici/undici/test/mock-interceptor.js:315:27)
at Test.runInAsyncScope (node:async_hooks:203:9)
at Test.run (node:internal/test_runner/test:631:25)
at Suite.processPendingSubtests (node:internal/test_runner/test:374:18)
at Test.postRun (node:internal/test_runner/test:715:19)
at Test.run (node:internal/test_runner/test:673:12)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5),
code: 'ERR_TEST_FAILURE'
}
|
MockAgent should match with or without trailing slash by setting ignoreTrailingSlash as MockAgent option /1:
test/mock-interceptor.js#L283
[Error [ERR_TEST_FAILURE]: webidl.converters.USVString is not a function] {
failureType: 'testCodeFailure',
cause: TypeError [Error]: webidl.converters.USVString is not a function
at webidl.converters.RequestInfo (/home/runner/work/undici/undici/lib/web/fetch/request.js:1003:28)
at new Request (/home/runner/work/undici/undici/lib/web/fetch/request.js:104:31)
at fetch (/home/runner/work/undici/undici/lib/web/fetch/index.js:145:21)
at TestContext.<anonymous> (/home/runner/work/undici/undici/test/mock-interceptor.js:283:25)
at Test.runInAsyncScope (node:async_hooks:203:9)
at Test.run (node:internal/test_runner/test:631:25)
at Suite.processPendingSubtests (node:internal/test_runner/test:374:18)
at Test.postRun (node:internal/test_runner/test:715:19)
at Test.run (node:internal/test_runner/test:673:12)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5),
code: 'ERR_TEST_FAILURE'
}
|
MockAgent should match with or without trailing slash by setting ignoreTrailingSlash as intercept option /1:
test/mock-interceptor.js#L297
[Error [ERR_TEST_FAILURE]: webidl.converters.USVString is not a function] {
failureType: 'testCodeFailure',
cause: TypeError [Error]: webidl.converters.USVString is not a function
at webidl.converters.RequestInfo (/home/runner/work/undici/undici/lib/web/fetch/request.js:1003:28)
at new Request (/home/runner/work/undici/undici/lib/web/fetch/request.js:104:31)
at fetch (/home/runner/work/undici/undici/lib/web/fetch/index.js:145:21)
at TestContext.<anonymous> (/home/runner/work/undici/undici/test/mock-interceptor.js:297:25)
at Test.runInAsyncScope (node:async_hooks:203:9)
at Test.run (node:internal/test_runner/test:631:25)
at Suite.processPendingSubtests (node:internal/test_runner/test:374:18)
at Test.postRun (node:internal/test_runner/test:715:19)
at Test.run (node:internal/test_runner/test:673:12)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5),
code: 'ERR_TEST_FAILURE'
}
|
test (22, macos-latest) / Test with Node.js 22 on macos-latest
The job running on runner GitHub Actions 290 has exceeded the maximum execution time of 15 minutes.
|
ProxyAgent correctly sends headers when using fetch - #1355, #1623:
test/proxy-agent.js#L535
[Error [ERR_TEST_FAILURE]: webidl.converters.USVString is not a function] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: TypeError [Error]: webidl.converters.USVString is not a function
at fetch (/Users/runner/work/undici/undici/index.js:111:13)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
at async TestContext.<anonymous> (/Users/runner/work/undici/undici/test/proxy-agent.js:535:3)
at async Test.run (node:internal/test_runner/test:931:9)
at async Test.processPendingSubtests (node:internal/test_runner/test:629:7)
}
|
pass ProxyAgent proxy status code error when using fetch - #2161:
test/proxy-agent.js#L591
[Error [ERR_TEST_FAILURE]: The expression evaluated to a falsy value:
assert[method](...args)
] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: The expression evaluated to a falsy value:
assert[method](...args)
at res.<computed> [as ok] (/Users/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35)
at TestContext.<anonymous> (/Users/runner/work/undici/undici/test/proxy-agent.js:591:7)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
at async Test.run (node:internal/test_runner/test:931:9)
at async Test.processPendingSubtests (node:internal/test_runner/test:629:7) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: false,
expected: true,
operator: '=='
}
}
|
test/proxy-agent.js:
test/proxy-agent.js#L1
[Error [ERR_TEST_FAILURE]: test timed out after 30000ms] { code: 'ERR_TEST_FAILURE', failureType: 'testTimeoutFailure', cause: 'test timed out after 30000ms' }
|
getHeaderByName:
test/mock-utils.js#L217
[Error [ERR_TEST_FAILURE]: isValidHeaderName is not a function] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: TypeError [Error]: isValidHeaderName is not a function
at appendHeader (/Users/runner/work/undici/undici/lib/web/fetch/headers.js:94:8)
at fill (/Users/runner/work/undici/undici/lib/web/fetch/headers.js:62:7)
at new Headers (/Users/runner/work/undici/undici/lib/web/fetch/headers.js:455:7)
at TestContext.<anonymous> (/Users/runner/work/undici/undici/test/mock-utils.js:217:19)
at Test.runInAsyncScope (node:async_hooks:211:14)
at Test.run (node:internal/test_runner/test:930:25)
at Test.processPendingSubtests (node:internal/test_runner/test:629:18)
at Test.postRun (node:internal/test_runner/test:1026:19)
at Test.run (node:internal/test_runner/test:969:12)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
}
|
MockPool - allows matching headers in fetch:
test/mock-pool.js#L348
[Error [ERR_TEST_FAILURE]: webidl.converters.USVString is not a function] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: TypeError [Error]: webidl.converters.USVString is not a function
at fetch (/Users/runner/work/undici/undici/index.js:111:13)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
at async TestContext.<anonymous> (/Users/runner/work/undici/undici/test/mock-pool.js:348:3)
at async Test.run (node:internal/test_runner/test:931:9)
at async Test.processPendingSubtests (node:internal/test_runner/test:629:7)
}
|
MockAgent should match with or without trailing slash by setting ignoreTrailingSlash as MockAgent option /0:
test/mock-interceptor.js#L283
Error [ERR_TEST_FAILURE]: webidl.converters.USVString is not a function
at async Promise.all (index 0) {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: TypeError [Error]: webidl.converters.USVString is not a function
at webidl.converters.RequestInfo (/Users/runner/work/undici/undici/lib/web/fetch/request.js:1003:28)
at new Request (/Users/runner/work/undici/undici/lib/web/fetch/request.js:104:31)
at fetch (/Users/runner/work/undici/undici/lib/web/fetch/index.js:145:21)
at TestContext.<anonymous> (/Users/runner/work/undici/undici/test/mock-interceptor.js:283:25)
at Test.runInAsyncScope (node:async_hooks:211:14)
at Test.run (node:internal/test_runner/test:930:25)
at Test.start (node:internal/test_runner/test:829:17)
at node:internal/test_runner/test:1293:71
at node:internal/per_context/primordials:483:82
at new Promise (<anonymous>)
}
|
MockAgent should match with or without trailing slash by setting ignoreTrailingSlash as intercept option /0:
test/mock-interceptor.js#L297
[Error [ERR_TEST_FAILURE]: webidl.converters.USVString is not a function] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: TypeError [Error]: webidl.converters.USVString is not a function
at webidl.converters.RequestInfo (/Users/runner/work/undici/undici/lib/web/fetch/request.js:1003:28)
at new Request (/Users/runner/work/undici/undici/lib/web/fetch/request.js:104:31)
at fetch (/Users/runner/work/undici/undici/lib/web/fetch/index.js:145:21)
at TestContext.<anonymous> (/Users/runner/work/undici/undici/test/mock-interceptor.js:297:25)
at Test.runInAsyncScope (node:async_hooks:211:14)
at Test.run (node:internal/test_runner/test:930:25)
at Suite.processPendingSubtests (node:internal/test_runner/test:629:18)
at Test.postRun (node:internal/test_runner/test:1026:19)
at Test.run (node:internal/test_runner/test:969:12)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
}
|
MockAgent should should match on strict equal cases of paths when ignoreTrailingSlash is not set /0:
test/mock-interceptor.js#L315
[Error [ERR_TEST_FAILURE]: webidl.converters.USVString is not a function] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: TypeError [Error]: webidl.converters.USVString is not a function
at webidl.converters.RequestInfo (/Users/runner/work/undici/undici/lib/web/fetch/request.js:1003:28)
at new Request (/Users/runner/work/undici/undici/lib/web/fetch/request.js:104:31)
at fetch (/Users/runner/work/undici/undici/lib/web/fetch/index.js:145:21)
at TestContext.<anonymous> (/Users/runner/work/undici/undici/test/mock-interceptor.js:315:27)
at Test.runInAsyncScope (node:async_hooks:211:14)
at Test.run (node:internal/test_runner/test:930:25)
at Suite.processPendingSubtests (node:internal/test_runner/test:629:18)
at Test.postRun (node:internal/test_runner/test:1026:19)
at Test.run (node:internal/test_runner/test:969:12)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
}
|
MockAgent should match with or without trailing slash by setting ignoreTrailingSlash as MockAgent option /1:
test/mock-interceptor.js#L283
[Error [ERR_TEST_FAILURE]: webidl.converters.USVString is not a function] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: TypeError [Error]: webidl.converters.USVString is not a function
at webidl.converters.RequestInfo (/Users/runner/work/undici/undici/lib/web/fetch/request.js:1003:28)
at new Request (/Users/runner/work/undici/undici/lib/web/fetch/request.js:104:31)
at fetch (/Users/runner/work/undici/undici/lib/web/fetch/index.js:145:21)
at TestContext.<anonymous> (/Users/runner/work/undici/undici/test/mock-interceptor.js:283:25)
at Test.runInAsyncScope (node:async_hooks:211:14)
at Test.run (node:internal/test_runner/test:930:25)
at Suite.processPendingSubtests (node:internal/test_runner/test:629:18)
at Test.postRun (node:internal/test_runner/test:1026:19)
at Test.run (node:internal/test_runner/test:969:12)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
}
|
MockAgent should match with or without trailing slash by setting ignoreTrailingSlash as intercept option /1:
test/mock-interceptor.js#L297
[Error [ERR_TEST_FAILURE]: webidl.converters.USVString is not a function] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: TypeError [Error]: webidl.converters.USVString is not a function
at webidl.converters.RequestInfo (/Users/runner/work/undici/undici/lib/web/fetch/request.js:1003:28)
at new Request (/Users/runner/work/undici/undici/lib/web/fetch/request.js:104:31)
at fetch (/Users/runner/work/undici/undici/lib/web/fetch/index.js:145:21)
at TestContext.<anonymous> (/Users/runner/work/undici/undici/test/mock-interceptor.js:297:25)
at Test.runInAsyncScope (node:async_hooks:211:14)
at Test.run (node:internal/test_runner/test:930:25)
at Suite.processPendingSubtests (node:internal/test_runner/test:629:18)
at Test.postRun (node:internal/test_runner/test:1026:19)
at Test.run (node:internal/test_runner/test:969:12)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
}
|
test (21, ubuntu-latest) / Test with Node.js 21 on ubuntu-latest
The job running on runner GitHub Actions 313 has exceeded the maximum execution time of 15 minutes.
|
ProxyAgent correctly sends headers when using fetch - #1355, #1623:
test/proxy-agent.js#L535
[Error [ERR_TEST_FAILURE]: webidl.converters.USVString is not a function] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: TypeError [Error]: webidl.converters.USVString is not a function
at fetch (/home/runner/work/undici/undici/index.js:111:13)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async TestContext.<anonymous> (/home/runner/work/undici/undici/test/proxy-agent.js:535:3)
at async Test.run (node:internal/test_runner/test:640:9)
at async Test.processPendingSubtests (node:internal/test_runner/test:382:7)
}
|
pass ProxyAgent proxy status code error when using fetch - #2161:
test/proxy-agent.js#L591
[Error [ERR_TEST_FAILURE]: The expression evaluated to a falsy value:
assert[method](...args)
] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: The expression evaluated to a falsy value:
assert[method](...args)
at res.<computed> [as ok] (/home/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35)
at TestContext.<anonymous> (/home/runner/work/undici/undici/test/proxy-agent.js:591: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: false,
expected: true,
operator: '=='
}
}
|
test/proxy-agent.js:
test/proxy-agent.js#L1
[Error [ERR_TEST_FAILURE]: test timed out after 30000ms] { code: 'ERR_TEST_FAILURE', failureType: 'testTimeoutFailure', cause: 'test timed out after 30000ms' }
|
getHeaderByName:
test/mock-utils.js#L217
[Error [ERR_TEST_FAILURE]: isValidHeaderName is not a function] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: TypeError [Error]: isValidHeaderName is not a function
at appendHeader (/home/runner/work/undici/undici/lib/web/fetch/headers.js:94:8)
at fill (/home/runner/work/undici/undici/lib/web/fetch/headers.js:62:7)
at new Headers (/home/runner/work/undici/undici/lib/web/fetch/headers.js:455:7)
at TestContext.<anonymous> (/home/runner/work/undici/undici/test/mock-utils.js:217:19)
at Test.runInAsyncScope (node:async_hooks:206:9)
at Test.run (node:internal/test_runner/test:639:25)
at Test.processPendingSubtests (node:internal/test_runner/test:382:18)
at Test.postRun (node:internal/test_runner/test:730:19)
at Test.run (node:internal/test_runner/test:688:12)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
}
|
MockPool - allows matching headers in fetch:
test/mock-pool.js#L348
[Error [ERR_TEST_FAILURE]: webidl.converters.USVString is not a function] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: TypeError [Error]: webidl.converters.USVString is not a function
at fetch (/home/runner/work/undici/undici/index.js:111:13)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async TestContext.<anonymous> (/home/runner/work/undici/undici/test/mock-pool.js:348:3)
at async Test.run (node:internal/test_runner/test:640:9)
at async Test.processPendingSubtests (node:internal/test_runner/test:382:7)
}
|
MockAgent should match with or without trailing slash by setting ignoreTrailingSlash as MockAgent option /0:
test/mock-interceptor.js#L283
Error [ERR_TEST_FAILURE]: webidl.converters.USVString is not a function
at async Promise.all (index 0) {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: TypeError [Error]: webidl.converters.USVString is not a function
at webidl.converters.RequestInfo (/home/runner/work/undici/undici/lib/web/fetch/request.js:1003:28)
at new Request (/home/runner/work/undici/undici/lib/web/fetch/request.js:104:31)
at fetch (/home/runner/work/undici/undici/lib/web/fetch/index.js:145:21)
at TestContext.<anonymous> (/home/runner/work/undici/undici/test/mock-interceptor.js:283:25)
at Test.runInAsyncScope (node:async_hooks:206:9)
at Test.run (node:internal/test_runner/test:639:25)
at Test.start (node:internal/test_runner/test:550:17)
at node:internal/test_runner/test:962:71
at node:internal/per_context/primordials:488:82
at new Promise (<anonymous>)
}
|
MockAgent should match with or without trailing slash by setting ignoreTrailingSlash as intercept option /0:
test/mock-interceptor.js#L297
[Error [ERR_TEST_FAILURE]: webidl.converters.USVString is not a function] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: TypeError [Error]: webidl.converters.USVString is not a function
at webidl.converters.RequestInfo (/home/runner/work/undici/undici/lib/web/fetch/request.js:1003:28)
at new Request (/home/runner/work/undici/undici/lib/web/fetch/request.js:104:31)
at fetch (/home/runner/work/undici/undici/lib/web/fetch/index.js:145:21)
at TestContext.<anonymous> (/home/runner/work/undici/undici/test/mock-interceptor.js:297:25)
at Test.runInAsyncScope (node:async_hooks:206:9)
at Test.run (node:internal/test_runner/test:639:25)
at Suite.processPendingSubtests (node:internal/test_runner/test:382:18)
at Test.postRun (node:internal/test_runner/test:730:19)
at Test.run (node:internal/test_runner/test:688:12)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
}
|
MockAgent should should match on strict equal cases of paths when ignoreTrailingSlash is not set /0:
test/mock-interceptor.js#L315
[Error [ERR_TEST_FAILURE]: webidl.converters.USVString is not a function] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: TypeError [Error]: webidl.converters.USVString is not a function
at webidl.converters.RequestInfo (/home/runner/work/undici/undici/lib/web/fetch/request.js:1003:28)
at new Request (/home/runner/work/undici/undici/lib/web/fetch/request.js:104:31)
at fetch (/home/runner/work/undici/undici/lib/web/fetch/index.js:145:21)
at TestContext.<anonymous> (/home/runner/work/undici/undici/test/mock-interceptor.js:315:27)
at Test.runInAsyncScope (node:async_hooks:206:9)
at Test.run (node:internal/test_runner/test:639:25)
at Suite.processPendingSubtests (node:internal/test_runner/test:382:18)
at Test.postRun (node:internal/test_runner/test:730:19)
at Test.run (node:internal/test_runner/test:688:12)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
}
|
MockAgent should match with or without trailing slash by setting ignoreTrailingSlash as MockAgent option /1:
test/mock-interceptor.js#L283
[Error [ERR_TEST_FAILURE]: webidl.converters.USVString is not a function] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: TypeError [Error]: webidl.converters.USVString is not a function
at webidl.converters.RequestInfo (/home/runner/work/undici/undici/lib/web/fetch/request.js:1003:28)
at new Request (/home/runner/work/undici/undici/lib/web/fetch/request.js:104:31)
at fetch (/home/runner/work/undici/undici/lib/web/fetch/index.js:145:21)
at TestContext.<anonymous> (/home/runner/work/undici/undici/test/mock-interceptor.js:283:25)
at Test.runInAsyncScope (node:async_hooks:206:9)
at Test.run (node:internal/test_runner/test:639:25)
at Suite.processPendingSubtests (node:internal/test_runner/test:382:18)
at Test.postRun (node:internal/test_runner/test:730:19)
at Test.run (node:internal/test_runner/test:688:12)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
}
|
MockAgent should match with or without trailing slash by setting ignoreTrailingSlash as intercept option /1:
test/mock-interceptor.js#L297
[Error [ERR_TEST_FAILURE]: webidl.converters.USVString is not a function] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: TypeError [Error]: webidl.converters.USVString is not a function
at webidl.converters.RequestInfo (/home/runner/work/undici/undici/lib/web/fetch/request.js:1003:28)
at new Request (/home/runner/work/undici/undici/lib/web/fetch/request.js:104:31)
at fetch (/home/runner/work/undici/undici/lib/web/fetch/index.js:145:21)
at TestContext.<anonymous> (/home/runner/work/undici/undici/test/mock-interceptor.js:297:25)
at Test.runInAsyncScope (node:async_hooks:206:9)
at Test.run (node:internal/test_runner/test:639:25)
at Suite.processPendingSubtests (node:internal/test_runner/test:382:18)
at Test.postRun (node:internal/test_runner/test:730:19)
at Test.run (node:internal/test_runner/test:688:12)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
}
|
test (20, windows-latest) / Test with Node.js 20 on windows-latest
Total Tests: 1024
Suites 📂: 78
Passed ✅: 927
Failed ❌: 87
Canceled 🚫: 5
Skipped ⏭️: 5
Todo 📝: 0
Duration 🕐: 77230.103ms
|
test (22, windows-latest) / Test with Node.js 22 on windows-latest
Total Tests: 1024
Suites 📂: 78
Passed ✅: 927
Failed ❌: 87
Canceled 🚫: 5
Skipped ⏭️: 5
Todo 📝: 0
Duration 🕐: 74817.440ms
|
test (18, windows-latest) / Test with Node.js 18 on windows-latest
Total Tests: 1025
Suites 📂: 77
Passed ✅: 928
Failed ❌: 87
Canceled 🚫: 6
Skipped ⏭️: 4
Todo 📝: 0
Duration 🕐: 107275.079ms
|
test (21, windows-latest) / Test with Node.js 21 on windows-latest
Total Tests: 1024
Suites 📂: 78
Passed ✅: 928
Failed ❌: 87
Canceled 🚫: 5
Skipped ⏭️: 4
Todo 📝: 0
Duration 🕐: 74849.947ms
|
test (22, ubuntu-latest) / Test with Node.js 22 on ubuntu-latest
Total Tests: 1024
Suites 📂: 78
Passed ✅: 927
Failed ❌: 87
Canceled 🚫: 5
Skipped ⏭️: 5
Todo 📝: 0
Duration 🕐: 77202.801ms
|
test (20, ubuntu-latest) / Test with Node.js 20 on ubuntu-latest
Total Tests: 1024
Suites 📂: 78
Passed ✅: 927
Failed ❌: 87
Canceled 🚫: 5
Skipped ⏭️: 5
Todo 📝: 0
Duration 🕐: 72919.138ms
|
test (21, macos-latest) / Test with Node.js 21 on macos-latest
Total Tests: 1025
Suites 📂: 77
Passed ✅: 928
Failed ❌: 87
Canceled 🚫: 6
Skipped ⏭️: 4
Todo 📝: 0
Duration 🕐: 132451.558ms
|
test (18, macos-latest) / Test with Node.js 18 on macos-latest
Total Tests: 1025
Suites 📂: 77
Passed ✅: 928
Failed ❌: 87
Canceled 🚫: 6
Skipped ⏭️: 4
Todo 📝: 0
Duration 🕐: 140010.938ms
|
test (20, macos-latest) / Test with Node.js 20 on macos-latest
Total Tests: 1024
Suites 📂: 78
Passed ✅: 927
Failed ❌: 87
Canceled 🚫: 5
Skipped ⏭️: 5
Todo 📝: 0
Duration 🕐: 104969.132ms
|
test (18, ubuntu-latest) / Test with Node.js 18 on ubuntu-latest
Total Tests: 1025
Suites 📂: 77
Passed ✅: 928
Failed ❌: 87
Canceled 🚫: 6
Skipped ⏭️: 4
Todo 📝: 0
Duration 🕐: 105983.692ms
|
test (22, macos-latest) / Test with Node.js 22 on macos-latest
Total Tests: 1024
Suites 📂: 78
Passed ✅: 927
Failed ❌: 87
Canceled 🚫: 5
Skipped ⏭️: 5
Todo 📝: 0
Duration 🕐: 104593.641ms
|
test (21, ubuntu-latest) / Test with Node.js 21 on ubuntu-latest
Total Tests: 1025
Suites 📂: 77
Passed ✅: 928
Failed ❌: 87
Canceled 🚫: 6
Skipped ⏭️: 4
Todo 📝: 0
Duration 🕐: 98083.293ms
|