Skip to content

Commit

Permalink
Test local storage values in stamp test
Browse files Browse the repository at this point in the history
  • Loading branch information
zkharit committed Nov 8, 2024
1 parent b7a4f93 commit 385d7d1
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,10 @@ test("uses provided signature to make stamp", async function () {
pemPublicKey: pemPublicKey,
signature: decodedStamp["signature"],
});

let { apiPublicKey, apiPrivateKey } = await stamper.getAPIKey();
expect(apiPublicKey).toEqual(publicKey);
expect(apiPrivateKey).toEqual(privateKey);
} catch (e) {
fail();
}
Expand Down

0 comments on commit 385d7d1

Please sign in to comment.