Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ChatLab/ChatLab
/ auth.test.ts
File
auth.test.ts
apps/cli/src/http/auth.test.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ describe, it, beforeEach } from
'node:test'
2
import
assert from
'node:assert/strict'
3
import
{ setAuthToken, setRequireAuth, authHook } from
'@openchatlab/http-routes'
4
Callers
nothing calls this directly
Calls
5
setAuthToken
Function · 0.90
setRequireAuth
Function · 0.90
authHook
Function · 0.90
fakeReply
Function · 0.85
fakeRequest
Function · 0.85
Tested by
no test coverage detected