diff --git a/test/kemContext.test.ts b/test/kemContext.test.ts index d0a405263..2fa86f3ab 100644 --- a/test/kemContext.test.ts +++ b/test/kemContext.test.ts @@ -95,10 +95,6 @@ describe("generateKeyPair", () => { }); it("should return a proper instance with DhkemP521HkdfSha512", async () => { - if (isDeno()) { - return; - } - // assert const kemContext = new DhkemP521HkdfSha512(); const kp = await kemContext.generateKeyPair(); @@ -147,21 +143,6 @@ describe("generateKeyPair", () => { assertEquals(kp.privateKey.usages[0], "deriveBits"); }); }); - - describe("with invalid parameters", () => { - it("should throw NotSupportedError with DhkemP521HkdfSha512", async () => { - if (!isDeno()) { - return; - } - - // assert - const kemContext = new DhkemP521HkdfSha512(); - await assertRejects( - () => kemContext.generateKeyPair(), - errors.NotSupportedError, - ); - }); - }); }); describe("deriveKeyPair", () => { diff --git a/tsconfig.json b/tsconfig.json index ee62611d1..9c66407e8 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -2,6 +2,7 @@ "compilerOptions": { "module": "es2022", "target": "es2022", + "noEmit": true, "allowImportingTsExtensions": true }, "include": [