1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00
metamask-extension/test/integration/helpers.js
2016-11-30 14:58:40 -08:00

8 lines
142 B
JavaScript

function wait(time) {
return new Promise(function(resolve, reject) {
setTimeout(function() {
resolve()
}, time || 500)
})
}