MCPcopy Create free account
hub / github.com/Effect-TS/effect / only

Function only

packages/vitest/src/internal/internal.ts:108–109  ·  view source on GitHub ↗
(name, self, timeout)

Source from the content-addressed store, hash-verified

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))
110
111 const each: Vitest.Vitest.Tester<R>["each"] = (cases) => (name, self, timeout) =>
112 it.for(cases)(

Callers

nothing calls this directly

Calls 2

testOptionsFunction · 0.85
runFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…