fix: util.promisify(setTimeout) (#13840)

This commit is contained in:
Milan Burda 2018-07-30 03:14:04 +02:00 committed by Samuel Attard
parent db38c8b620
commit 39c5c200ba
3 changed files with 21 additions and 4 deletions

View file

@ -79,6 +79,8 @@ ipcMain.on('echo', function (event, msg) {
event.returnValue = msg
})
global.setTimeoutPromisified = util.promisify(setTimeout)
const coverage = new Coverage({
outputPath: path.join(__dirname, '..', '..', 'out', 'coverage')
})