1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-27 12:56:01 +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)
})
}