diff --git a/test/integration/helpers.js b/test/integration/helpers.js index 22d923437..95c36017a 100644 --- a/test/integration/helpers.js +++ b/test/integration/helpers.js @@ -1,5 +1,7 @@ function wait() { return new Promise(function(resolve, reject) { - setTimeout(resolve, 500) + setTimeout(function() { + resolve() + }, 500) }) }