now using initial cwd for writing coverage reports
This commit is contained in:
parent
1f90f4abff
commit
80e36a34ee
2
dist/npmts.tests.js
vendored
2
dist/npmts.tests.js
vendored
@ -31,7 +31,7 @@ var mocha = function (configArg) {
|
||||
.pipe(plugins.g.injectModules())
|
||||
.pipe(plugins.g.mocha())
|
||||
.pipe(plugins.g.istanbul.writeReports({
|
||||
dir: './coverage',
|
||||
dir: plugins.path.join(paths.cwd, "./coverage"),
|
||||
reporters: ['lcovonly', 'json', 'text', 'text-summary']
|
||||
}))
|
||||
.pipe(plugins.g.gFunction(function () {
|
||||
|
@ -32,7 +32,7 @@ let mocha = function (configArg) {
|
||||
.pipe(plugins.g.injectModules())
|
||||
.pipe(plugins.g.mocha())
|
||||
.pipe(plugins.g.istanbul.writeReports({
|
||||
dir: './coverage',
|
||||
dir: plugins.path.join(paths.cwd,"./coverage"),
|
||||
reporters: [ 'lcovonly', 'json', 'text', 'text-summary']
|
||||
}))
|
||||
.pipe(plugins.g.gFunction(function(){
|
||||
|
Loading…
Reference in New Issue
Block a user