test: add cache testing suite #15394
Annotations
5 errors and 5 notices
Run tests:
test\interceptors\cache.js#L51
[Error [ERR_TEST_FAILURE]: Cannot read properties of undefined (reading 'includes')] {
failureType: 'testCodeFailure',
cause: TypeError [Error]: Cannot read properties of undefined (reading 'includes')
at canCacheResponse (D:\a\undici\undici\lib\handler\cache-handler.js:256:20)
at CacheHandler.onHeaders (D:\a\undici\undici\lib\handler\cache-handler.js:122:10)
at Request.onHeaders (D:\a\undici\undici\lib\core\request.js:245:29)
at Parser.onHeadersComplete (D:\a\undici\undici\lib\dispatcher\client-h1.js:612:27)
at wasm_on_headers_complete (D:\a\undici\undici\lib\dispatcher\client-h1.js:141:30)
at wasm://wasm/00032d9a:wasm-function[10]:0x56f
at wasm://wasm/00032d9a:wasm-function[20]:0x7d57
at Parser.execute (D:\a\undici\undici\lib\dispatcher\client-h1.js:332:22)
at Parser.readMore (D:\a\undici\undici\lib\dispatcher\client-h1.js:296:12)
at Socket.onHttpSocketReadable (D:\a\undici\undici\lib\dispatcher\client-h1.js:879:18),
code: 'ERR_TEST_FAILURE'
}
|
Run tests:
test\interceptors\cache.js#L158
[Error [ERR_TEST_FAILURE]: Cannot read properties of undefined (reading 'includes')] {
failureType: 'testCodeFailure',
cause: TypeError [Error]: Cannot read properties of undefined (reading 'includes')
at canCacheResponse (D:\a\undici\undici\lib\handler\cache-handler.js:256:20)
at CacheHandler.onHeaders (D:\a\undici\undici\lib\handler\cache-handler.js:122:10)
at Request.onHeaders (D:\a\undici\undici\lib\core\request.js:245:29)
at Parser.onHeadersComplete (D:\a\undici\undici\lib\dispatcher\client-h1.js:612:27)
at wasm_on_headers_complete (D:\a\undici\undici\lib\dispatcher\client-h1.js:141:30)
at wasm://wasm/00032d9a:wasm-function[10]:0x56f
at wasm://wasm/00032d9a:wasm-function[20]:0x7d57
at Parser.execute (D:\a\undici\undici\lib\dispatcher\client-h1.js:332:22)
at Parser.readMore (D:\a\undici\undici\lib\dispatcher\client-h1.js:296:12)
at Socket.onHttpSocketReadable (D:\a\undici\undici\lib\dispatcher\client-h1.js:879:18),
code: 'ERR_TEST_FAILURE'
}
|
Run tests:
test\interceptors\cache.js#L226
[Error [ERR_TEST_FAILURE]: Cannot read properties of undefined (reading 'includes')] {
failureType: 'testCodeFailure',
cause: TypeError [Error]: Cannot read properties of undefined (reading 'includes')
at canCacheResponse (D:\a\undici\undici\lib\handler\cache-handler.js:256:20)
at CacheHandler.onHeaders (D:\a\undici\undici\lib\handler\cache-handler.js:122:10)
at Request.onHeaders (D:\a\undici\undici\lib\core\request.js:245:29)
at Parser.onHeadersComplete (D:\a\undici\undici\lib\dispatcher\client-h1.js:612:27)
at wasm_on_headers_complete (D:\a\undici\undici\lib\dispatcher\client-h1.js:141:30)
at wasm://wasm/00032d9a:wasm-function[10]:0x56f
at wasm://wasm/00032d9a:wasm-function[20]:0x7d57
at Parser.execute (D:\a\undici\undici\lib\dispatcher\client-h1.js:332:22)
at Parser.readMore (D:\a\undici\undici\lib\dispatcher\client-h1.js:296:12)
at Socket.onHttpSocketReadable (D:\a\undici\undici\lib\dispatcher\client-h1.js:879:18),
code: 'ERR_TEST_FAILURE'
}
|
Run tests:
test\interceptors\cache.js#L380
[Error [ERR_TEST_FAILURE]: Cannot read properties of undefined (reading 'includes')] {
failureType: 'testCodeFailure',
cause: TypeError [Error]: Cannot read properties of undefined (reading 'includes')
at canCacheResponse (D:\a\undici\undici\lib\handler\cache-handler.js:256:20)
at CacheHandler.onHeaders (D:\a\undici\undici\lib\handler\cache-handler.js:122:10)
at Request.onHeaders (D:\a\undici\undici\lib\core\request.js:245:29)
at Parser.onHeadersComplete (D:\a\undici\undici\lib\dispatcher\client-h1.js:612:27)
at wasm_on_headers_complete (D:\a\undici\undici\lib\dispatcher\client-h1.js:141:30)
at wasm://wasm/00032d9a:wasm-function[10]:0x56f
at wasm://wasm/00032d9a:wasm-function[20]:0x7d57
at Parser.execute (D:\a\undici\undici\lib\dispatcher\client-h1.js:332:22)
at Parser.readMore (D:\a\undici\undici\lib\dispatcher\client-h1.js:296:12)
at Socket.onHttpSocketReadable (D:\a\undici\undici\lib\dispatcher\client-h1.js:879:18),
code: 'ERR_TEST_FAILURE'
}
|
Run tests
Process completed with exit code 1.
|
Run tests
Total Tests: 1030
Suites 📂: 78
Passed ✅: 1026
Failed ❌: 0
Canceled 🚫: 0
Skipped ⏭️: 4
Todo 📝: 0
Duration 🕐: 41428.674ms
|
Run tests
Total Tests: 189
Suites 📂: 6
Passed ✅: 176
Failed ❌: 0
Canceled 🚫: 0
Skipped ⏭️: 13
Todo 📝: 0
Duration 🕐: 3484.365ms
|
Run tests
Total Tests: 3
Suites 📂: 0
Passed ✅: 3
Failed ❌: 0
Canceled 🚫: 0
Skipped ⏭️: 0
Todo 📝: 0
Duration 🕐: 325.557ms
|
Run tests
Total Tests: 25
Suites 📂: 4
Passed ✅: 25
Failed ❌: 0
Canceled 🚫: 0
Skipped ⏭️: 0
Todo 📝: 0
Duration 🕐: 193.150ms
|
Run tests
Total Tests: 109
Suites 📂: 1
Passed ✅: 105
Failed ❌: 4
Canceled 🚫: 0
Skipped ⏭️: 0
Todo 📝: 0
Duration 🕐: 11013.187ms
|
Loading