Skip to content

Commit d7ec68d

Browse files
committed
Assert error type
1 parent 0dcbcdb commit d7ec68d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/client/test/encryption.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ test("catchDecryptionErrors", async () => {
8181
encryptionSecret: "4ws8syoOgeQX6WFvXuUneGNwy7QvLxpk",
8282
},
8383
catchDecryptionErrors(error) {
84-
decryptionErrors.push(error);
84+
decryptionErrors.push(error as Error);
8585
},
8686
});
8787

0 commit comments

Comments
 (0)