Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/CodebuffAI/codebuff
/ free-mode-country-access-cache.test.ts
File
free-mode-country-access-cache.test.ts
web/src/server/__tests__/free-mode-country-access-cache.test.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ describe, expect, mock, test } from
'bun:test'
2
import
{ NextRequest } from
'next/server'
3
4
import
{
Callers
nothing calls this directly
Calls
6
hashClientIp
Function · 0.90
getCachedFreeModeCountryAccess
Function · 0.90
expiresAtForCountryAccess
Function · 0.90
shouldIgnoreCountryAccessCacheRow
Function · 0.90
allowedAccess
Function · 0.85
makeReq
Function · 0.70
Tested by
no test coverage detected