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); });