From 9ca74895f1e71cfd330c6d7b933cde3c3d067b53 Mon Sep 17 00:00:00 2001 From: Alex Risch Date: Wed, 6 Mar 2024 23:10:50 -0800 Subject: [PATCH] Remove duplicate from merge Removed duplicate declaration in merge --- example/src/tests.ts | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/example/src/tests.ts b/example/src/tests.ts index f559c6455..b04f39ed3 100644 --- a/example/src/tests.ts +++ b/example/src/tests.ts @@ -147,16 +147,6 @@ async function exportHmacKey(key: CryptoKey): Promise { return new Uint8Array(exported) } -async function importHmacKey(key: Uint8Array): Promise { - return await window.crypto.subtle.importKey( - 'raw', - key, - { name: 'HMAC', hash: 'SHA-256', length: 256 }, - true, - ['sign', 'verify'] - ) -} - function test(name: string, perform: () => Promise) { tests.push({ name, run: perform }) }