Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
Indexed
MCP
copy
Index your code
hub
/
github.com/coder/mux
/ authMiddleware.test.ts
File
authMiddleware.test.ts
src/node/orpc/authMiddleware.test.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ describe, expect, it } from
"bun:test"
;
2
import
{ safeEq } from
"./authMiddleware"
;
3
4
// Timing microbenchmarks are inherently noisy and can be flaky under parallel
Callers
nothing calls this directly
Calls
2
safeEq
Function · 0.90
measureAvgTime
Function · 0.85
Tested by
no test coverage detected