From 519c00f98309ce40127cd8ae3d7272a0928a04e3 Mon Sep 17 00:00:00 2001 From: Mark Moffat Date: Wed, 12 Jun 2019 18:28:03 +0930 Subject: [PATCH] Revert debugging --- routes/index.js | 2 -- test/test.js | 1 - 2 files changed, 3 deletions(-) diff --git a/routes/index.js b/routes/index.js index a3d44e1..e5fb317 100644 --- a/routes/index.js +++ b/routes/index.js @@ -463,8 +463,6 @@ router.get('/category/:cat/:pageNum?', (req, res) => { lunrIdArray.push(common.getId(id.ref)); }); - console.log('productsIndex', productsIndex); - let pageNum = 1; if(req.params.pageNum){ pageNum = req.params.pageNum; diff --git a/test/test.js b/test/test.js index 4741187..d64a440 100644 --- a/test/test.js +++ b/test/test.js @@ -175,7 +175,6 @@ test.serial('[Success] Search products', async t => { .get('/category/backpack?json=true') .expect(200); - console.log('res.body', res.body); // Should be two backpack products t.deepEqual(res.body.length, 2); });