diff options
Diffstat (limited to 'cli/tests/unit/webcrypto_test.ts')
-rw-r--r-- | cli/tests/unit/webcrypto_test.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/tests/unit/webcrypto_test.ts b/cli/tests/unit/webcrypto_test.ts index 7108e060b..5087c7076 100644 --- a/cli/tests/unit/webcrypto_test.ts +++ b/cli/tests/unit/webcrypto_test.ts @@ -521,7 +521,7 @@ Deno.test(async function testHkdfDeriveBitsWithLargeKeySize() { false, ["deriveBits"], ); - assertRejects( + await assertRejects( () => crypto.subtle.deriveBits( { @@ -705,7 +705,7 @@ Deno.test(async function testDecryptWithInvalidIntializationVector() { data, ); const initVector2 = crypto.getRandomValues(new Uint8Array(16)); - assertRejects(async () => { + await assertRejects(async () => { await crypto.subtle.decrypt( { name: "AES-CBC", iv: initVector2 }, key, |