1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-26 20:39:08 +01:00
metamask-extension/mascara/test/helpers.js

8 lines
165 B
JavaScript
Raw Normal View History

2018-07-03 01:36:16 +02:00
export default function wait (time) {
2018-07-03 00:49:33 +02:00
return new Promise(function (resolve, reject) {
setTimeout(function () {
2017-04-27 15:25:00 +02:00
resolve()
}, time * 3 || 1500)
})
}