MCPcopy Create free account
hub / github.com/simstudioai/sim / wireServerRow

Function wireServerRow

apps/sim/lib/mcp/oauth/revoke.test.ts:54–61  ·  view source on GitHub ↗
(row: Record<string, unknown>)

Source from the content-addressed store, hash-verified

52import { revokeMcpOauthTokens } from './revoke'
53
54function wireServerRow(row: Record<string, unknown>) {
55 const builder = {
56 from: () => builder,
57 where: () => builder,
58 limit: () => Promise.resolve([row]),
59 }
60 mockDbSelect.mockReturnValue(builder)
61}
62
63describe('revokeMcpOauthTokens — SSRF guard', () => {
64 beforeEach(() => {

Callers 1

revoke.test.tsFile · 0.85

Calls 1

resolveMethod · 0.65

Tested by

no test coverage detected