Powered by
You have space between resp and status, this is no...
# e2e-testing
s
stale-optician-85950
08/15/2022, 7:52 AM
You have space between resp and status, this is not correct syntax. It should be
Copy code
expect(resp.status).to.equal(200);
This is a Chai assert, familiarise yourself with the documentation:
https://www.chaijs.com/api/bdd/
Previous
Next