MCPcopy
hub / github.com/redis/node-redis / cache.spec.ts

File cache.spec.ts

packages/client/lib/client/cache.spec.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import assert from "assert";
2import testUtils, { GLOBAL } from "../test-utils"
3import { BasicClientSideCache, BasicPooledClientSideCache, CacheStats } from "./cache"
4import { REDIS_FLUSH_MODES } from "../commands/FLUSHALL";

Callers

nothing calls this directly

Calls 15

testWithClientMethod · 0.80
statsMethod · 0.80
testWithClientPoolMethod · 0.80
testWithClusterMethod · 0.80
ofMethod · 0.80
requestCountMethod · 0.80
hitRateMethod · 0.80
missRateMethod · 0.80
loadCountMethod · 0.80
loadFailureRateMethod · 0.80
averageLoadPenaltyMethod · 0.80
emptyMethod · 0.80

Tested by

no test coverage detected