Skip to content

Commit

Permalink
Remove duplicate from merge
Browse files Browse the repository at this point in the history
Removed duplicate declaration in merge
  • Loading branch information
Alex Risch authored and Alex Risch committed Mar 7, 2024
1 parent 8e6a763 commit 9ca7489
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions example/src/tests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -147,16 +147,6 @@ async function exportHmacKey(key: CryptoKey): Promise<Uint8Array> {
return new Uint8Array(exported)
}

async function importHmacKey(key: Uint8Array): Promise<CryptoKey> {
return await window.crypto.subtle.importKey(
'raw',
key,
{ name: 'HMAC', hash: 'SHA-256', length: 256 },
true,
['sign', 'verify']
)
}

function test(name: string, perform: () => Promise<boolean>) {
tests.push({ name, run: perform })
}
Expand Down

0 comments on commit 9ca7489

Please sign in to comment.