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

Function runIf

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

Source from the content-addressed store, hash-verified

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))
107
108 const only: Vitest.Vitest.Tester<R>["only"] = (name, self, timeout) =>
109 it.only(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