diff options
author | Dan Finlay <dan@danfinlay.com> | 2016-07-23 08:08:17 +0800 |
---|---|---|
committer | Dan Finlay <dan@danfinlay.com> | 2016-07-23 08:08:17 +0800 |
commit | 6b3ffc9e5da638bc29bc5ae5c50a58c48198bd55 (patch) | |
tree | 68a0b212a97b13193b5f4b4c472d42187d3f4c70 /test | |
parent | ae6fa762417625cf67752e02fcad2c28e8a23005 (diff) | |
download | tangerine-wallet-browser-6b3ffc9e5da638bc29bc5ae5c50a58c48198bd55.tar tangerine-wallet-browser-6b3ffc9e5da638bc29bc5ae5c50a58c48198bd55.tar.gz tangerine-wallet-browser-6b3ffc9e5da638bc29bc5ae5c50a58c48198bd55.tar.bz2 tangerine-wallet-browser-6b3ffc9e5da638bc29bc5ae5c50a58c48198bd55.tar.lz tangerine-wallet-browser-6b3ffc9e5da638bc29bc5ae5c50a58c48198bd55.tar.xz tangerine-wallet-browser-6b3ffc9e5da638bc29bc5ae5c50a58c48198bd55.tar.zst tangerine-wallet-browser-6b3ffc9e5da638bc29bc5ae5c50a58c48198bd55.zip |
Fix promise usage?
Diffstat (limited to 'test')
-rw-r--r-- | test/integration/helpers.js | 4 |
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) }) } |