(n: number)
| 30 | } |
| 31 | |
| 32 | const deepErrorFail = (n: number): Effect.Effect<never, Error> => { |
| 33 | if (n === 0) { |
| 34 | return Effect.fail(ExampleError) |
| 35 | } |
| 36 | return pipe(Effect.void, Effect.zipRight(deepErrorFail(n - 1))) |
| 37 | } |
| 38 | |
| 39 | describe("Effect", () => { |
| 40 | it.effect("attempt - error in sync effect", () => |
no test coverage detected