Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/nowork-studio/NotFair
/ refresh.test.ts
File
refresh.test.ts
notfair-cmo/src/server/mcp/refresh.test.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
Database from
"better-sqlite3"
;
2
import
{ afterEach, beforeEach, describe, expect, it, vi } from
"vitest"
;
3
4
import
{ MIGRATIONS } from
"@/server/db/migrations"
;
Callers
nothing calls this directly
Calls
9
refreshMcpToken
Function · 0.90
findMcpToken
Function · 0.90
upsertMcpToken
Function · 0.90
isExpiringSoon
Function · 0.90
makeToken
Function · 0.85
row
Function · 0.85
applyMigrations
Function · 0.70
seedProject
Function · 0.70
close
Method · 0.45
Tested by
no test coverage detected