(
ctx: V.TestContext & object,
args: TestArgs,
self: Vitest.Vitest.TestFunction<A, E, R, TestArgs>
)
| 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)) |