> koatty_store@1.9.1 test /Users/richen/Workspace/nodejs/koatty-monorepo/packages/koatty-store > npm run eslint && jest --passWithNoTests > koatty_store@1.9.1 eslint > eslint --ext .ts,.js ./ PASS test/concurrent_operations.test.ts PASS test/interface_consistency.test.ts PASS test/memory_store_simplified.test.ts PASS test/memory_cache_cleanup.test.ts PASS test/lrange_fix.test.ts PASS test/redis.test.ts ● Console console.log 111 at Object. (test/redis.test.ts:31:17) console.log 222 at Object. (test/redis.test.ts:38:17) console.log 1 at Object. (test/redis.test.ts:46:17) PASS test/error_handling.test.ts PASS test/hash_ttl_memory.test.ts PASS test/hash_ttl_cachestore.test.ts PASS test/edge_cases.test.ts (5.889 s) A worker process has failed to exit gracefully and has been force exited. This is likely caused by tests leaking due to improper teardown. Try running with --detectOpenHandles to find leaks. Active timers can also cause this, ensure that .unref() was called on them. 📦 report is created on: /Users/richen/Workspace/nodejs/koatty-monorepo/packages/koatty-store/jest_html_reporters.html ------------------|---------|----------|---------|---------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s ------------------|---------|----------|---------|---------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- All files | 56.96 | 49.06 | 62.56 | 57.2 | src | 86.81 | 57.14 | 86.36 | 86.51 | index.ts | 86.81 | 57.14 | 86.36 | 86.51 | 107-115,175,356-365,384,461 src/store | 53.47 | 46.73 | 54.81 | 53.79 | memory.ts | 47.61 | 37.5 | 57.14 | 47.61 | 91-121 memory_cache.ts | 59.45 | 52.81 | 61.46 | 59.87 | 137,141-160,193,233-303,316,359-363,366,370,374-383,388,392,402,405,530,552,575,734,790-800,875-887,901-905,922-926,1026-1035,1068-1069,1072-1084,1112-1113,1135-1141,1157-1159,1162,1186-1189,1208-1209,1267,1302,1354,1369,1443-1444,1455-1458,1477,1489-1851 redis.ts | 15.84 | 21.15 | 15.78 | 16 | 64-91,105-230,242-244,248-317 ------------------|---------|----------|---------|---------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- =============================== Coverage summary =============================== Statements : 56.96% ( 495/869 ) Branches : 49.06% ( 184/375 ) Functions : 62.56% ( 112/179 ) Lines : 57.2% ( 488/853 ) ================================================================================ Test Suites: 10 passed, 10 total Tests: 61 passed, 61 total Snapshots: 0 total Time: 11.328 s, estimated 19 s Ran all test suites.