grunt-parallel-spec-runner
Advanced tools
Comparing version 0.3.11 to 0.3.12
{ | ||
"name": "grunt-parallel-spec-runner", | ||
"version": "0.3.11", | ||
"version": "0.3.12", | ||
"description": "Plugin used to configure and launch multiple spec ", | ||
@@ -5,0 +5,0 @@ "homepage": "https://github.com/RallySoftware/grunt-parallel-spec-runner.git", |
@@ -157,4 +157,18 @@ /* | ||
var msg = grunt.log.uncolor(String(data)); | ||
var pat = /\d+ of \d+ tests failed:/; | ||
var pat = /^([\.F]+\s\d+\s\/\s\d+\s\(\d+\))$/m; | ||
if(pat.test(msg)) { | ||
var done = +msg.match(/\d+/)[0]; | ||
if(done != specRunner.summary.tests) { | ||
msg = String(data).replace(/([\.F]+)/,'Progress... '); | ||
pat = /\([1-9][0-9]{0,}\)$/m; | ||
if(pat.test(msg)){ | ||
var s = msg.match(pat)[0]; | ||
msg = msg.replace(s, s.red); | ||
} | ||
grunt.verbose.or.writeln((specRunner.file + ':' + msg).replace(/\n/, '')); | ||
} | ||
} | ||
pat = /\d+ of \d+ tests failed:/; | ||
if(pat.test(msg)) { | ||
msg = msg.match(pat)[0]; | ||
@@ -161,0 +175,0 @@ grunt.verbose.or.writeln((specRunner.file + ':' + msg).red); |
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
215372
462