Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- it('GET /api/cart for preexisting cart', async () => {
- const res = await agent.get('/api/cart').expect(200)
- expect(res.body.products).to.be.an('array')
- expect(res.body.products.length).to.be.greaterThan(0)
- })
Add Comment
Please, Sign In to add comment