From 6b3ffc9e5da638bc29bc5ae5c50a58c48198bd55 Mon Sep 17 00:00:00 2001 From: Dan Finlay Date: Fri, 22 Jul 2016 17:08:17 -0700 Subject: Fix promise usage? --- test/integration/helpers.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'test') 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) }) } -- cgit v1.2.3