From b021d99bab6dabb955178b6b600604d58e456b22 Mon Sep 17 00:00:00 2001 From: Andre Medeiros Date: Mon, 17 Sep 2018 10:37:24 -0400 Subject: [PATCH] Improve coverage UX --- lib/tests/run_tests.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/tests/run_tests.js b/lib/tests/run_tests.js index 87451ee71..eb2ab8054 100644 --- a/lib/tests/run_tests.js +++ b/lib/tests/run_tests.js @@ -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); });