mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-19 20:02:34 +02:00
use absolute path to output lcov file for coveralls (#28075)
This commit is contained in:
@@ -1,6 +1,7 @@
|
|||||||
/* eslint-env node */
|
/* eslint-env node */
|
||||||
/* eslint no-process-env: 0 */
|
/* eslint no-process-env: 0 */
|
||||||
|
|
||||||
|
const path = require('path')
|
||||||
const ip = require('ip')
|
const ip = require('ip')
|
||||||
const {
|
const {
|
||||||
browsers,
|
browsers,
|
||||||
@@ -114,7 +115,7 @@ if (bundle) {
|
|||||||
conf.customLaunchers = customLaunchers
|
conf.customLaunchers = customLaunchers
|
||||||
conf.detectBrowsers = detectBrowsers
|
conf.detectBrowsers = detectBrowsers
|
||||||
conf.coverageIstanbulReporter = {
|
conf.coverageIstanbulReporter = {
|
||||||
dir: '../coverage/',
|
dir: path.resolve(__dirname, '../coverage/'),
|
||||||
reports: ['lcov', 'text-summary'],
|
reports: ['lcov', 'text-summary'],
|
||||||
thresholds: {
|
thresholds: {
|
||||||
emitWarning: false,
|
emitWarning: false,
|
||||||
|
Reference in New Issue
Block a user