MCPcopy Index your code
hub / github.com/Effect-TS/effect / skipIf

Function skipIf

packages/vitest/src/internal/internal.ts:102–103  ·  view source on GitHub ↗
(condition)

Source from the content-addressed store, hash-verified

100 it.skip(name, testOptions(timeout), (ctx) => run(ctx, [ctx], self))
101
102 const skipIf: Vitest.Vitest.Tester<R>["skipIf"] = (condition) => (name, self, timeout) =>
103 it.skipIf(condition)(name, testOptions(timeout), (ctx) => run(ctx, [ctx], self))
104
105 const runIf: Vitest.Vitest.Tester<R>["runIf"] = (condition) => (name, self, timeout) =>
106 it.runIf(condition)(name, testOptions(timeout), (ctx) => run(ctx, [ctx], self))

Callers

nothing calls this directly

Calls 2

testOptionsFunction · 0.85
runFunction · 0.70

Tested by

no test coverage detected