Skip to content

Commit

Permalink
remove prints
Browse files Browse the repository at this point in the history
  • Loading branch information
antidodo committed Jun 13, 2023
1 parent e3f8f21 commit 952b3ef
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions test/unit/symmetric.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
});
Expand All @@ -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);
});
});

0 comments on commit 952b3ef

Please sign in to comment.