MCPcopy
hub / github.com/prisma/prisma / testIf

Function testIf

packages/cli/src/__tests__/commands/DebugInfo.test.ts:9–9  ·  view source on GitHub ↗
(condition: boolean)

Source from the content-addressed store, hash-verified

7import { DebugInfo } from '../../DebugInfo'
8
9const testIf = (condition: boolean) => (condition ? test : test.skip)
10
11const ctx = jestContext.new().add(jestConsoleContext()).assemble()
12

Callers 1

DebugInfo.test.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected