karma-tap-reporter
Advanced tools
Comparing version 0.0.5 to 0.0.6
var TAPReporter = function(baseReporterDecorator, config, logger, helper) { | ||
var tapReporterConfig = config.tapReporter || {}, | ||
disableStdout = !!tapReporterConfig.disableStdout, | ||
log = logger.create('karma-tap-reporter'), | ||
@@ -17,3 +18,5 @@ _this = this, | ||
output = output + data; | ||
_this.write(data); | ||
if (!disableStdout) { | ||
_this.write(data); | ||
} | ||
} | ||
@@ -20,0 +23,0 @@ |
{ | ||
"name": "karma-tap-reporter", | ||
"version": "0.0.5", | ||
"version": "0.0.6", | ||
"description": "A Karma plugin. Report results in TAP protocol.", | ||
@@ -20,3 +20,4 @@ "main": "index.js", | ||
"chevalric <> (https://github.com/chevalric)", | ||
"farrago" | ||
"farrago", | ||
"leahciMic <> (https://github.com/leahciMic)" | ||
], | ||
@@ -23,0 +24,0 @@ "peerDependencies": { |
@@ -12,3 +12,3 @@ # karma-tap-reporter | ||
"karma": "~0.10", | ||
"karma-tap-reporter": "~0.0.5" | ||
"karma-tap-reporter": "~0.0.6" | ||
} | ||
@@ -28,3 +28,3 @@ } | ||
Optionally you can save report to a file | ||
Optionally you can save report to a file and turn off output to the console. | ||
```js | ||
@@ -34,3 +34,4 @@ reporters: ['tap'], | ||
tapReporter: { | ||
outputFile: './unit.tap' | ||
outputFile: './unit.tap', | ||
disableStdout: true | ||
} | ||
@@ -37,0 +38,0 @@ ``` |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
10974
60
41