Revert debugging
parent
536a3c4612
commit
519c00f983
|
@ -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;
|
||||
|
|
|
@ -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);
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue