Skip to content

Commit

Permalink
test(deno): update keylike test to import as exportable
Browse files Browse the repository at this point in the history
  • Loading branch information
panva committed Sep 2, 2021
1 parent 2231e49 commit be3638c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test-deno/keylike.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import calculateThumbprint from '../dist/deno/jwk/thumbprint.ts';

async function test(jwk: { [key: string]: unknown }, alg: string) {
await calculateThumbprint(jwk);
const keyLike = await jwkToKey(jwk, alg);
const keyLike = await jwkToKey({ ...jwk, ext: true }, alg);
assertEquals(await keyToJwk(keyLike), jwk);
}

Expand Down

0 comments on commit be3638c

Please sign in to comment.