From cfef635e1be3523a8484c7fc750592fa5a8c2cf5 Mon Sep 17 00:00:00 2001 From: Travis Ralston Date: Mon, 14 Jun 2021 10:41:32 -0600 Subject: [PATCH] Appease the linter --- spec/unit/utils.spec.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/spec/unit/utils.spec.ts b/spec/unit/utils.spec.ts index 05c768e1e..c03a29909 100644 --- a/spec/unit/utils.spec.ts +++ b/spec/unit/utils.spec.ts @@ -287,7 +287,7 @@ describe("utils", function() { it('should calculate the appropriate string from numbers', () => { // Verify the whole alphabet for (let i = BigInt(1); i <= DEFAULT_ALPHABET.length; i++) { - console.log({i}); // for debugging + logger.log({ i }); // for debugging expect(baseToString(i)).toEqual(DEFAULT_ALPHABET[Number(i) - 1]); } @@ -325,8 +325,8 @@ describe("utils", function() { describe('averageBetweenStrings', () => { it('should average appropriately', () => { - console.log(stringToBase(" ")); - console.log(stringToBase("!!")); + logger.log(stringToBase(" ")); + logger.log(stringToBase("!!")); expect(averageBetweenStrings(" ", "!!")).toEqual(" P"); expect(averageBetweenStrings('A', 'z')).toEqual(']'); expect(averageBetweenStrings('a', 'z', "abcdefghijklmnopqrstuvwxyz")).toEqual('m');