From f5a059655f35ae9db913d1d10fb1d5c9b49ce602 Mon Sep 17 00:00:00 2001 From: Ian Walter Date: Wed, 24 Apr 2019 17:59:57 -0400 Subject: [PATCH] Fixing cancels --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 3d2840a6..ddf5aeb5 100644 --- a/index.js +++ b/index.js @@ -168,7 +168,7 @@ function run (config) { // failure" and try to cancel any in-progress executions. if (context.failFast) { context.hasFastFailure = true - await Promise.all(inProgress.map(async exec => exec.cancel())) + inProgress.forEach(exec => exec.cancel()) } } finally { // Increment the execution count now that the test has completed.