mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2025-01-07 23:59:22 +03:00
Better spec error output when running headless
This commit is contained in:
parent
37d423fb60
commit
32b3dfa0ca
2
vendor/jasmine-console-reporter.js
vendored
2
vendor/jasmine-console-reporter.js
vendored
@ -31,7 +31,7 @@ jasmine.ConsoleReporter.prototype.reportSpecResults = function(spec) {
|
||||
for (var i = 0; i < resultItems.length; i++) {
|
||||
var result = resultItems[i];
|
||||
if (this.logErrors && result.type == 'expect' && result.passed && !result.passed()) {
|
||||
console.log("ERROR: %s", spec.getFullName())
|
||||
console.log("ERROR: " + spec.getFullName())
|
||||
if (result.trace.stack) {
|
||||
console.log(result.trace.stack)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user