mirror of
https://github.com/embarklabs/embark.git
synced 2025-01-11 14:24:24 +00:00
Improve coverage UX
This commit is contained in:
parent
a43627de5b
commit
b021d99bab
@ -139,7 +139,7 @@ module.exports = {
|
|||||||
console.log(`Coverage report created. You can find it here: ${fs.dappPath('coverage/index.html')}\n`);
|
console.log(`Coverage report created. You can find it here: ${fs.dappPath('coverage/index.html')}\n`);
|
||||||
const opn = require('opn');
|
const opn = require('opn');
|
||||||
const _next = () => { next(); };
|
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(() => new Promise(resolve => setTimeout(resolve, 1000)))
|
||||||
.then(_next, _next);
|
.then(_next, _next);
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user