© 2026 Hedgehog Software, LLC
Effect.sleep
it.only('test Effect.sleep', async () => { const program = pipe( Effect.succeed(1), Effect.tap(() => Effect.sleep(1000)) ) const result = await pipe(program, Effect.runPromiseExit) expect(result).toEqual(Exit.succeed(1)) })
thrown: "Exceeded timeout of 10000 ms for a test. Add a timeout value to this test to increase the timeout, if this is a long-running test. See https://jestjs.io/docs/api#testname-fn-timeout."