MCPcopy
hub / github.com/prisma/prisma / createMockContext

Function createMockContext

packages/sqlcommenter-query-insights/src/index.test.ts:7–11  ·  view source on GitHub ↗
(queryInfo: SqlCommenterQueryInfo)

Source from the content-addressed store, hash-verified

5
6// Helper to create a mock context
7function createMockContext(queryInfo: SqlCommenterQueryInfo): SqlCommenterContext {
8 return {
9 query: queryInfo,
10 }
11}
12
13// Helper to decode base64url for test assertions
14function fromBase64Url(data: string): string {

Callers 1

index.test.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected