Improve coverage UX

This commit is contained in:
Andre Medeiros 2018-09-17 10:37:24 -04:00
parent a43627de5b
commit b021d99bab
1 changed files with 1 additions and 1 deletions

View File

@ -139,7 +139,7 @@ module.exports = {
console.log(`Coverage report created. You can find it here: ${fs.dappPath('coverage/index.html')}\n`);
const opn = require('opn');
const _next = () => { next(); };
opn(fs.dappPath('coverage/index.html'), {wait: false})
opn(fs.dappPath('coverage/__root__/index.html'), {wait: false})
.then(() => new Promise(resolve => setTimeout(resolve, 1000)))
.then(_next, _next);
});