MCPcopy Create free account
hub / github.com/sourcebot-dev/sourcebot / prismaScope.test.ts

File prismaScope.test.ts

packages/web/src/features/mcp/prismaScope.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { describe, expect, test, vi } from 'vitest';
2import type { UserWithAccounts } from '@sourcebot/db';
3import { getMcpPrismaQueryExtension, scopeUserMcpServerWhere } from './prismaScope';
4

Callers

nothing calls this directly

Calls 4

scopeUserMcpServerWhereFunction · 0.90
resetQueryFunction · 0.85
callAllOperationsFunction · 0.85

Tested by

no test coverage detected