diff options
Diffstat (limited to 'mascara/test/helpers.js')
-rw-r--r-- | mascara/test/helpers.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mascara/test/helpers.js b/mascara/test/helpers.js index eede103b4..08a0a9a7f 100644 --- a/mascara/test/helpers.js +++ b/mascara/test/helpers.js @@ -1,6 +1,6 @@ -function wait(time) { - return new Promise(function(resolve, reject) { - setTimeout(function() { +function wait (time) { + return new Promise(function (resolve, reject) { + setTimeout(function () { resolve() }, time * 3 || 1500) }) |