(it: Vitest.API)
| 224 | ) |
| 225 | |
| 226 | const makeIt = (it: Vitest.API): Vitest.Vitest.MethodsNonLive<R, ExcludeTestServices> => |
| 227 | Object.assign(it, { |
| 228 | effect: makeTester<TestServices.TestServices | R>( |
| 229 | (effect) => Effect.flatMap(runtimeEffect, (runtime) => effect.pipe(Effect.provide(runtime))), |
| 230 | it |
| 231 | ), |
| 232 | |
| 233 | prop, |
| 234 | |
| 235 | scoped: makeTester<TestServices.TestServices | Scope.Scope | R>( |
| 236 | (effect) => |
| 237 | Effect.flatMap(runtimeEffect, (runtime) => |
| 238 | effect.pipe( |
| 239 | Effect.scoped, |
| 240 | Effect.provide(runtime) |
| 241 | )), |
| 242 | it |
| 243 | ), |
| 244 | flakyTest, |
| 245 | layer<R2, E2>(nestedLayer: Layer.Layer<R2, E2, R>, options?: { |
| 246 | readonly timeout?: Duration.DurationInput |
| 247 | }) { |
| 248 | return layer(Layer.provideMerge(nestedLayer, withTestEnv), { ...options, memoMap, excludeTestServices }) |
| 249 | } |
| 250 | }) |
| 251 | |
| 252 | if (args.length === 1) { |
| 253 | V.beforeAll( |
no test coverage detected