fix(tests): enable coverage only when --coverage

Fixes #1091
Speeds up tests because coverage does stuff on each block
This commit is contained in:
Jonathan Rainville 2018-11-20 13:24:23 -05:00 committed by Iuri Matias
parent 6522aaae24
commit 0032569b50

View File

@ -642,7 +642,9 @@ class EmbarkController {
});
engine.startService("codeGenerator");
engine.startService("codeRunner");
engine.startService("codeCoverage");
if (options.coverage) {
engine.startService("codeCoverage");
}
engine.startService("testRunner");
callback();
},