karma-tap-reporter
Advanced tools
Comparing version 0.0.4 to 0.0.5
@@ -8,2 +8,3 @@ var TAPReporter = function(baseReporterDecorator, config, logger, helper) { | ||
fs = require('fs'), | ||
EOL = require('os').EOL, | ||
numbers, outputFile; | ||
@@ -35,11 +36,11 @@ | ||
this.specSuccess = function(browser, result) { | ||
write("ok " + ++numbers[browser.id] + " " + result.suite.join(' ').replace(/\./g, '_') + " " + result.description + "\n"); | ||
write("ok " + ++numbers[browser.id] + " " + result.suite.join(' ').replace(/\./g, '_') + " " + result.description + EOL); | ||
}; | ||
this.specFailure = function(browser, result) { | ||
write("not ok " + ++numbers[browser.id] + " " + result.suite.join(' ').replace(/\./g, '_') + " " + result.description + "\n"); | ||
write("not ok " + ++numbers[browser.id] + " " + result.suite.join(' ').replace(/\./g, '_') + " " + result.description + EOL); | ||
}; | ||
this.specSkipped = function(browser, result) { | ||
write("ok " + ++numbers[browser.id] + " " + "# skip " + result.suite.join(' ').replace(/\./g, '_') + " " + result.description + "\n"); | ||
write("ok " + ++numbers[browser.id] + " " + "# skip " + result.suite.join(' ').replace(/\./g, '_') + " " + result.description + EOL); | ||
}; | ||
@@ -52,3 +53,3 @@ | ||
}); | ||
write("1.." + total + "\n"); | ||
write("1.." + total + EOL); | ||
@@ -55,0 +56,0 @@ if (outputFile) { |
{ | ||
"name": "karma-tap-reporter", | ||
"version": "0.0.4", | ||
"version": "0.0.5", | ||
"description": "A Karma plugin. Report results in TAP protocol.", | ||
@@ -19,3 +19,4 @@ "main": "index.js", | ||
"Dmitrii Abramov", | ||
"chevalric <> (https://github.com/chevalric)" | ||
"chevalric <> (https://github.com/chevalric)", | ||
"farrago" | ||
], | ||
@@ -22,0 +23,0 @@ "peerDependencies": { |
@@ -12,3 +12,3 @@ # karma-tap-reporter | ||
"karma": "~0.10", | ||
"karma-tap-reporter": "~0.0.2" | ||
"karma-tap-reporter": "~0.0.5" | ||
} | ||
@@ -15,0 +15,0 @@ } |
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
7938
8
57