diff options
Diffstat (limited to 'test/integration/helpers.js')
-rw-r--r-- | test/integration/helpers.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/integration/helpers.js b/test/integration/helpers.js index 95c36017a..40f78d701 100644 --- a/test/integration/helpers.js +++ b/test/integration/helpers.js @@ -1,7 +1,7 @@ -function wait() { +function wait(time) { return new Promise(function(resolve, reject) { setTimeout(function() { resolve() - }, 500) + }, time || 500) }) } |