1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-24 02:58:09 +01:00
metamask-extension/test/integration/helpers.js

8 lines
149 B
JavaScript
Raw Normal View History

function wait(time) {
2017-05-04 23:35:10 +02:00
return new Promise(function (resolve, reject) {
setTimeout(function () {
resolve()
}, time * 3 || 1500)
})
}