From 842da1ddc3873dc72a725266c8e59a81d31d1f20 Mon Sep 17 00:00:00 2001 From: Johann-S Date: Thu, 17 Jan 2019 11:06:43 +0100 Subject: [PATCH] use absolute path to output lcov file for coveralls (#28075) --- js/tests/karma.conf.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/js/tests/karma.conf.js b/js/tests/karma.conf.js index a6c6905985..52a3ba23e4 100644 --- a/js/tests/karma.conf.js +++ b/js/tests/karma.conf.js @@ -1,6 +1,7 @@ /* eslint-env node */ /* eslint no-process-env: 0 */ +const path = require('path') const ip = require('ip') const { browsers, @@ -114,7 +115,7 @@ if (bundle) { conf.customLaunchers = customLaunchers conf.detectBrowsers = detectBrowsers conf.coverageIstanbulReporter = { - dir: '../coverage/', + dir: path.resolve(__dirname, '../coverage/'), reports: ['lcov', 'text-summary'], thresholds: { emitWarning: false,