aboutsummaryrefslogtreecommitdiffstats
path: root/mascara/test/helpers.js
diff options
context:
space:
mode:
Diffstat (limited to 'mascara/test/helpers.js')
-rw-r--r--mascara/test/helpers.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/mascara/test/helpers.js b/mascara/test/helpers.js
new file mode 100644
index 000000000..eede103b4
--- /dev/null
+++ b/mascara/test/helpers.js
@@ -0,0 +1,7 @@
+function wait(time) {
+ return new Promise(function(resolve, reject) {
+ setTimeout(function() {
+ resolve()
+ }, time * 3 || 1500)
+ })
+}