Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Openpanel-dev/openpanel
/ cachable.test.ts
File
cachable.test.ts
packages/redis/cachable.test.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
/** biome-ignore-all lint/correctness/noUnusedFunctionParameters: test */
2
import
{ afterEach, beforeEach, describe, expect, it, vi } from
'vitest'
;
3
import
{ cacheable, getCache } from
'./cachable'
;
4
import
{ getRedisCache } from
'./redis'
;
Callers
nothing calls this directly
Calls
8
getRedisCache
Function · 0.90
getCache
Function · 0.90
cacheable
Function · 0.90
cachedFn
Function · 0.85
stringify
Method · 0.45
get
Method · 0.45
clear
Method · 0.45
set
Method · 0.45
Tested by
no test coverage detected