Skip to content

Commit

Permalink
Reduce isDeno() flag in test.
Browse files Browse the repository at this point in the history
  • Loading branch information
dajiaji committed Aug 12, 2023
1 parent 68ae68f commit 3a65fc0
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions test/kemContext.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -374,10 +374,6 @@ describe("serialize/deserializePublicKey", () => {

describe("with invalid parameters", () => {
it("should throw SerializeError on serializePublicKey with a public key for X25519", async () => {
if (!isDeno()) {
return;
}

// assert
const ctx = new DhkemX25519HkdfSha256();
const kp = await ctx.generateKeyPair();
Expand All @@ -389,10 +385,6 @@ describe("serialize/deserializePublicKey", () => {
});

it("should throw DeserializeError on deserializePublicKey with DhkemP256HkdfSha256", async () => {
if (!isDeno()) {
return;
}

// assert
const kemContext = new DhkemP256HkdfSha256();
const cryptoApi = await loadCrypto();
Expand Down

0 comments on commit 3a65fc0

Please sign in to comment.