Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Openpanel-dev/openpanel
/ auth.test.ts
File
auth.test.ts
packages/mcp/src/auth.test.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ describe, expect, it, vi, beforeEach } from
'vitest'
;
2
3
const
mockGetClientByIdCached = vi.hoisted(() => vi.fn());
4
const
mockVerifyPassword = vi.hoisted(() => vi.fn());
Callers
nothing calls this directly
Calls
5
extractToken
Function · 0.90
authenticateToken
Function · 0.90
fn
Function · 0.85
toString
Method · 0.45
from
Method · 0.45
Tested by
no test coverage detected