diff options
Diffstat (limited to 'ui/lib/test-timeout.js')
-rw-r--r-- | ui/lib/test-timeout.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/lib/test-timeout.js b/ui/lib/test-timeout.js index 957b0fce2..7d825487f 100644 --- a/ui/lib/test-timeout.js +++ b/ui/lib/test-timeout.js @@ -1,5 +1,5 @@ export default function timeout (time) { - return new Promise((resolve, reject) => { + return new Promise((resolve) => { setTimeout(resolve, time || 1500) }) } |