Even faster tests (#4868)

* Various improvements in test name / de-duplications

* Reverts to class by class deletion, introduced fast mode that just delete data for mongo

- Speeds up are incredible Executed 1695 of 1713 specs INCOMPLETE (18 PENDING) in 4 mins 19 secs.

* Adds documentation about the deleteEverything
This commit is contained in:
Florent Vilmart
2018-07-03 11:13:08 -04:00
parent 305e4ba445
commit 461ca5d3fe
18 changed files with 648 additions and 651 deletions

View File

@@ -336,7 +336,7 @@ describe('Hooks', () => {
});
});
it("should run the function on the test server", (done) => {
it("should run the function on the test server (error handling)", (done) => {
app.post("/SomeFunctionError", function(req, res) {
res.json({error: {code: 1337, error: "hacking that one!"}});