This repository was archived by the owner on Feb 22, 2018. It is now read-only.
This repository was archived by the owner on Feb 22, 2018. It is now read-only.
Change assertion apis for http backend to define the assertion on flush #900
Closed
Description
instead of
backend.expectGET('/foo').respond('some response');
// do stuff
backend.flush()
do
// do stuff
backend.flushGET('/foo', 'some response')
Benefits:
- makes tests much easier to follow
- reduces the amount of code developer needs to write
- gives control over the order in which requests should be flushed
Metadata
Metadata
Assignees
Labels
No labels