MCPcopy 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

1import { describe, expect, it } from "bun:test";
2import { safeEq } from "./authMiddleware";
3
4// Timing microbenchmarks are inherently noisy and can be flaky under parallel

Callers

nothing calls this directly

Calls 2

safeEqFunction · 0.90
measureAvgTimeFunction · 0.85

Tested by

no test coverage detected