diff options
author | frankiebee <frankie.diamond@gmail.com> | 2017-09-16 02:09:19 +0800 |
---|---|---|
committer | frankiebee <frankie.diamond@gmail.com> | 2017-09-16 02:09:19 +0800 |
commit | 7fb862356873fc4c5dc28e5c7389f71424985b0f (patch) | |
tree | f9d9cb8a2eb2d23e0dd93d710203c746aa55c880 /test | |
parent | b53d04c40975adc0fadf20bc6ca875bd9c39e595 (diff) | |
download | tangerine-wallet-browser-7fb862356873fc4c5dc28e5c7389f71424985b0f.tar tangerine-wallet-browser-7fb862356873fc4c5dc28e5c7389f71424985b0f.tar.gz tangerine-wallet-browser-7fb862356873fc4c5dc28e5c7389f71424985b0f.tar.bz2 tangerine-wallet-browser-7fb862356873fc4c5dc28e5c7389f71424985b0f.tar.lz tangerine-wallet-browser-7fb862356873fc4c5dc28e5c7389f71424985b0f.tar.xz tangerine-wallet-browser-7fb862356873fc4c5dc28e5c7389f71424985b0f.tar.zst tangerine-wallet-browser-7fb862356873fc4c5dc28e5c7389f71424985b0f.zip |
dont reload on initial download and wait before passing sw to ui
Diffstat (limited to 'test')
-rw-r--r-- | test/integration/lib/first-time.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/integration/lib/first-time.js b/test/integration/lib/first-time.js index e023351bc..4140dfd78 100644 --- a/test/integration/lib/first-time.js +++ b/test/integration/lib/first-time.js @@ -12,7 +12,7 @@ QUnit.test('render init screen', (assert) => { async function runFirstTimeUsageTest(assert, done) { - await timeout() + await timeout(10000) const app = $('#app-content') @@ -123,7 +123,7 @@ async function runFirstTimeUsageTest(assert, done) { assert.ok(children2, 'All network options present') } -function timeout(time) { +function timeout (time) { return new Promise(function (resolve, reject) { setTimeout(function () { resolve() |