-
-
Notifications
You must be signed in to change notification settings - Fork 780
Closed
Description
It would be great if Sinon fakeServer stored incoming so that it would be possible to do assertions against them.
- Sinon version : 0.17.6
- Environment : Browsers
- Example URL : n.a.
- Other libraries you are using: n.a.
What did you expect to happen?
// run test
expect(server.requests).to.have.length(0)
expect(server.requests[0].url).to.eql("xxx")
What actually happens
There is no server.requests!
Kind regards,
Tarjei
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels