Debug why travis fails test. Assume env related.

master
Mark Moffat 2019-06-12 18:20:16 +09:30
parent 997d4d29c8
commit ab4c63c5af
1 changed files with 1 additions and 0 deletions

View File

@ -175,6 +175,7 @@ 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);
});