aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/integration/helpers.js4
1 files changed, 3 insertions, 1 deletions
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)
})
}