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

Function run

packages/vitest/src/internal/internal.ts:90–94  ·  view source on GitHub ↗
(
    ctx: V.TestContext & object,
    args: TestArgs,
    self: Vitest.Vitest.TestFunction<A, E, R, TestArgs>
  )

Source from the content-addressed store, hash-verified

88 it: Vitest.API = defaultApi
89): Vitest.Vitest.Tester<R> => {
90 const run = <A, E, TestArgs extends Array<unknown>>(
91 ctx: V.TestContext & object,
92 args: TestArgs,
93 self: Vitest.Vitest.TestFunction<A, E, R, TestArgs>
94 ) => pipe(Effect.suspend(() => self(...args)), mapEffect, runTest(ctx))
95
96 const f: Vitest.Vitest.Test<R> = (name, self, timeout) =>
97 it(name, testOptions(timeout), (ctx) => run(ctx, [ctx], self))

Callers 8

fFunction · 0.70
skipFunction · 0.70
skipIfFunction · 0.70
runIfFunction · 0.70
onlyFunction · 0.70
eachFunction · 0.70
failsFunction · 0.70
propFunction · 0.70

Calls 2

runTestFunction · 0.85
pipeFunction · 0.50

Tested by

no test coverage detected