add backward compatibility for the undici v6 #169
Annotations
7 errors and 4 notices
test (22.x)
Process completed with exit code 1.
|
support undici v6 handler interface:
test/handler.test.js#L99
[Error [ERR_TEST_FAILURE]: getGlobalDispatcher(...).compose is not a function] {
failureType: 'testCodeFailure',
cause: TypeError [Error]: getGlobalDispatcher(...).compose is not a function
at TestContext.<anonymous> (/home/runner/work/undici-thread-interceptor/undici-thread-interceptor/test/handler.test.js:99:6)
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)
at async startSubtest (node:internal/test_runner/harness:214:3),
code: 'ERR_TEST_FAILURE'
}
|
test (18.x)
Process completed with exit code 1.
|
test (20.x)
The job was canceled because "_22_x" failed.
|
test (20.x)
The operation was canceled.
|
test (23.x)
The job was canceled because "_22_x" failed.
|
test (23.x)
The operation was canceled.
|
test (22.x)
Total Tests: 49
Suites 📂: 0
Passed ✅: 48
Failed ❌: 0
Canceled 🚫: 0
Skipped ⏭️: 1
Todo 📝: 0
Duration 🕐: 14667.947ms
|
test (18.x)
Total Tests: 49
Suites 📂: 0
Passed ✅: 47
Failed ❌: 1
Canceled 🚫: 0
Skipped ⏭️: 1
Todo 📝: 0
Duration 🕐: 16388.118ms
|
test (20.x)
Total Tests: 49
Suites 📂: 0
Passed ✅: 48
Failed ❌: 0
Canceled 🚫: 0
Skipped ⏭️: 1
Todo 📝: 0
Duration 🕐: 14310.113ms
|
test (23.x)
Total Tests: 49
Suites 📂: 0
Passed ✅: 48
Failed ❌: 0
Canceled 🚫: 0
Skipped ⏭️: 1
Todo 📝: 0
Duration 🕐: 14290.217ms
|