use absolute path to output lcov file for coveralls (#28075)

This commit is contained in:
Johann-S 2019-01-17 11:06:43 +01:00 committed by GitHub
parent 3aeda9942d
commit 842da1ddc3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -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,