diff --git a/package.js b/package.js index b3e9c3e..f6c68ec 100755 --- a/package.js +++ b/package.js @@ -49,7 +49,7 @@ Package.onTest(function (api) { api.use(['lmieulet:meteor-coverage']); api.use(['meteortesting:mocha']); // New meteor 12/2018 unknown issue - api.addFiles(['client/methods.e2e.tests.js', 'client/methods.unit.tests.js', 'client/client.instrumentation.tests.js'], 'client') + api.addFiles(['client/methods.e2e.tests.js', 'client/methods.unit.tests.js', 'client/client.instrumentation.tests.js'], 'client'); api.mainModule('server/tests.js', 'server'); api.mainModule('client/main.tests.js', 'client'); diff --git a/server/services/coverage-data.js b/server/services/coverage-data.js index 2bad046..4f0930c 100644 --- a/server/services/coverage-data.js +++ b/server/services/coverage-data.js @@ -31,8 +31,8 @@ export default CoverageData = { if (child && child.fileCoverage && child.fileCoverage.data && child.fileCoverage.data.path && child.fileCoverage.data.path.indexOf(Conf.COVERAGE_APP_FOLDER)) { - // add the folder in the path if not present - child.fileCoverage.data.path = path.join(Conf.COVERAGE_APP_FOLDER, child.fileCoverage.data.path) + // add the folder in the path if not present + child.fileCoverage.data.path = path.join(Conf.COVERAGE_APP_FOLDER, child.fileCoverage.data.path); } } }