fix: remove unnecessary async from waitFor utility (#2654)

This commit is contained in:
LoneRifle 2018-01-21 18:19:20 +08:00 committed by Pooya Parsa
parent 5d4166b139
commit c1b30acbb3

View File

@ -49,7 +49,7 @@ exports.setAnsiColors = function setAnsiColors(ansiHTML) {
})
}
exports.waitFor = async function waitFor(ms) {
exports.waitFor = function waitFor(ms) {
return new Promise(resolve => setTimeout(resolve, ms || 0))
}