From 9f451c1994c34b6f1dc839fcb8c863398f05ada2 Mon Sep 17 00:00:00 2001 From: "R. Tyler Croy" Date: Sun, 21 Oct 2018 09:15:28 -0700 Subject: [PATCH] Remove a couple spurious console statements I left in yesterday --- src/services/types.ts | 1 - test/types.test.ts | 1 - 2 files changed, 2 deletions(-) diff --git a/src/services/types.ts b/src/services/types.ts index 9cedfc4..1c7fe66 100644 --- a/src/services/types.ts +++ b/src/services/types.ts @@ -16,7 +16,6 @@ const typesHooks : HooksObject = { export class TypesService { async find(params : Params) : Promise { return db.sequelize.query('SELECT DISTINCT(type) FROM events', { type: db.sequelize.QueryTypes.SELECT }).then((types) => { - console.log('lol', types); if (types.length > 0) { return types.map(t => t.type); } diff --git a/test/types.test.ts b/test/types.test.ts index ea70224..3a7e84e 100644 --- a/test/types.test.ts +++ b/test/types.test.ts @@ -6,7 +6,6 @@ describe('Unit tests for /types', () => { it('should return an Array', async () => { const result = await service.find(); - console.log(result); expect(result.length).toBeGreaterThan(0); }); });