mirror of https://github.com/twbs/bootstrap.git
use absolute path to output lcov file for coveralls (#28075)
This commit is contained in:
parent
3aeda9942d
commit
842da1ddc3
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue