MCPcopy
hub / github.com/prisma/prisma / describeIf

Function describeIf

packages/internals/src/utils/path.test.ts:6–6  ·  view source on GitHub ↗
(condition: boolean)

Source from the content-addressed store, hash-verified

4
5const testIf = (condition: boolean) => (condition ? test : test.skip)
6const describeIf = (condition: boolean) => (condition ? describe : describe.skip)
7
8describe('pathToPosix', () => {
9 test('forward slashes', () => {

Callers 1

path.test.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected