This repository has been archived by the owner on Feb 22, 2019. It is now read-only.
This repository has been archived by the owner on Feb 22, 2019. It is now read-only.
"feature" request: restart server for each test #5
Open
Description
Currently, this library starts the server before the suite run and stops it after.
That leads to the situation where server.responses
and server.requests
have shared state from test to test. That, in turn, makes it harder to make assertions about requests and responses and makes it easy to accidentally have one test step on another by defining a fake response.
What do you think of changing the above lines to the following?
QUnit.testStart(startServer);
QUnit.testDone(stopServer);
Metadata
Assignees
Labels
No labels
Activity