diff options
Diffstat (limited to 'test/js/node/crypto')
-rw-r--r-- | test/js/node/crypto/crypto-scrypt.test.ts (renamed from test/js/node/crypto/crypto-scrypt.test.js) | 2 | ||||
-rw-r--r-- | test/js/node/crypto/crypto.test.ts (renamed from test/js/node/crypto/crypto.test.js) | 0 |
2 files changed, 1 insertions, 1 deletions
diff --git a/test/js/node/crypto/crypto-scrypt.test.js b/test/js/node/crypto/crypto-scrypt.test.ts index 4b7412251..2330f5b85 100644 --- a/test/js/node/crypto/crypto-scrypt.test.js +++ b/test/js/node/crypto/crypto-scrypt.test.ts @@ -211,7 +211,7 @@ it("scrypt badargs", () => { try { crypto.scryptSync(...args); expect(() => {}).toThrow(); - } catch (e) { + } catch (e: any) { if (!("code" in e)) throw e; expect(e.code).toBe(expected.code); } diff --git a/test/js/node/crypto/crypto.test.js b/test/js/node/crypto/crypto.test.ts index b5b8e9286..b5b8e9286 100644 --- a/test/js/node/crypto/crypto.test.js +++ b/test/js/node/crypto/crypto.test.ts |