Browse Source

Fix tests starting before the end of the previous one

Gaël Métais 4 years ago
parent
commit
4c1c375eef
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lib/server/controllers/apiController.js

+ 1 - 1
lib/server/controllers/apiController.js

@@ -127,7 +127,7 @@ var ApiController = function(app) {
             }
 
             // Let's continue
-            screenshotPromise
+            return screenshotPromise
 
                 // Save results
                 .then(function() {