Revert debugging

master
Mark Moffat 2019-06-12 18:28:03 +09:30
parent 536a3c4612
commit 519c00f983
2 changed files with 0 additions and 3 deletions

View File

@ -463,8 +463,6 @@ router.get('/category/:cat/:pageNum?', (req, res) => {
lunrIdArray.push(common.getId(id.ref)); lunrIdArray.push(common.getId(id.ref));
}); });
console.log('productsIndex', productsIndex);
let pageNum = 1; let pageNum = 1;
if(req.params.pageNum){ if(req.params.pageNum){
pageNum = req.params.pageNum; pageNum = req.params.pageNum;

View File

@ -175,7 +175,6 @@ test.serial('[Success] Search products', async t => {
.get('/category/backpack?json=true') .get('/category/backpack?json=true')
.expect(200); .expect(200);
console.log('res.body', res.body);
// Should be two backpack products // Should be two backpack products
t.deepEqual(res.body.length, 2); t.deepEqual(res.body.length, 2);
}); });