From 952b3ef6bc12aaebd4ae8d02447bf7516496f8c7 Mon Sep 17 00:00:00 2001 From: davidhieber Date: Tue, 13 Jun 2023 14:35:36 +0200 Subject: [PATCH] remove prints --- test/unit/symmetric.spec.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/test/unit/symmetric.spec.ts b/test/unit/symmetric.spec.ts index f26839f..21a499b 100644 --- a/test/unit/symmetric.spec.ts +++ b/test/unit/symmetric.spec.ts @@ -8,8 +8,7 @@ describe('src/renderer/domains/encryption/symmetric.ts', () => { const encrypted = encryptSymmetric(key, iv, text); const decrypted = decryptSymmetric(key, encrypted).toString(); - // print decrypted to see if it's the same as text - console.log(decrypted); + expect(decrypted).toEqual(text); }); @@ -21,7 +20,6 @@ describe('src/renderer/domains/encryption/symmetric.ts', () => { const externalBuffer = Buffer.from("f3103e7266558e9a053a0442637a11bcbc42aaa78281f85923bc1b3f7e28ae2dd58935edc99fc225177d9dff10503615", "hex"); const decrypted = decryptSymmetric(key, externalBuffer).toString(); - console.log(decrypted); expect(decrypted).toEqual(text); }); });