Guest User

Untitled

a guest
Nov 17th, 2018
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. it('GET /api/cart for preexisting cart', async () => {
  2. const res = await agent.get('/api/cart').expect(200)
  3. expect(res.body.products).to.be.an('array')
  4. expect(res.body.products.length).to.be.greaterThan(0)
  5. })
Add Comment
Please, Sign In to add comment