We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b886c6c commit cd1f034Copy full SHA for cd1f034
packages/effect/test/Either.test.ts
@@ -304,8 +304,7 @@ describe("Either", () => {
304
305
it("getOrThrowWith", () => {
306
strictEqual(pipe(Either.right(1), Either.getOrThrowWith((e) => new Error(`Unexpected Left: ${e}`))), 1)
307
- throws(() => pipe(Either.left("e"), Either.getOrThrowWith((e) => new Error(`Unexpected Left: ${e}`)))),
308
- new Error("Unexpected Left: e")
+ throws(() => pipe(Either.left("e"), Either.getOrThrowWith((e) => new Error(`Unexpected Left: ${e}`))))
309
})
310
311
it("getOrThrow", () => {
0 commit comments