浏览代码

Fix tests starting before the end of the previous one

Gaël Métais 4 年之前
父节点
当前提交
4c1c375eef
共有 1 个文件被更改,包括 1 次插入1 次删除
  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() {