jest-simple-dot-reporter
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -44,4 +44,10 @@ class JestSimpleDotReporter { | ||
onTestResult() { | ||
process.stdout.write('.'); | ||
onTestResult(test, testResult) { | ||
for (var i = 0; i < testResult.testResults.length; i++) { | ||
if (testResult.testResults[i].status === 'passed') { | ||
process.stdout.write('.'); | ||
} else { | ||
process.stdout.write('F'); | ||
} | ||
} | ||
} | ||
@@ -48,0 +54,0 @@ } |
{ | ||
"name": "jest-simple-dot-reporter", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "A super simple jest dot reporter, great for use within shells like emacs ;)", | ||
@@ -5,0 +5,0 @@ "main": "jest-simple-dot-reporter.js", |
# Simple dot reporter for jest | ||
No dependencies, no interactive shell needed, just dots. Also this is nice because it won't swallow your console.logs. | ||
## Installation | ||
@@ -4,0 +6,0 @@ |
2845
47
28