Sfoglia il codice sorgente

Fix tests starting before the end of the previous one

Gaël Métais 4 anni fa
parent
commit
4c1c375eef
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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
             // Let's continue
-            screenshotPromise
+            return screenshotPromise
 
 
                 // Save results
                 // Save results
                 .then(function() {
                 .then(function() {