now using initial cwd for writing coverage reports
This commit is contained in:
		
							
								
								
									
										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(){
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user