Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
bkiac committed Aug 29, 2024
1 parent c82176a commit c71f29e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/try.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,6 @@ test("tryBlockAsync", async () => {
throw error;
});
} catch (e) {
expect(e.cause).toEqual(error);
expect((e as any).cause).toEqual(error);
}
});

0 comments on commit c71f29e

Please sign in to comment.