mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-09-19 23:17:16 +03:00
Fix focused spec bug
This commit is contained in:
parent
6e31e278e8
commit
4e60bf6501
12
vendor/jasmine-atom-reporter.js
vendored
12
vendor/jasmine-atom-reporter.js
vendored
@ -215,12 +215,9 @@ jasmine.AtomReporter.ReporterView = function(dom) {
|
||||
};
|
||||
|
||||
this.specStarted = function(spec) {
|
||||
if (isUndefined(this.resultsMenu)) {
|
||||
this.createResultsMenu();
|
||||
dom.alert.appendChild(this.resultsMenu);
|
||||
if (this.currentSpecMenuItem) {
|
||||
this.currentSpecMenuItem.innerHTML = spec.getFullName()
|
||||
}
|
||||
|
||||
this.currentSpecMenuItem.innerHTML = spec.getFullName()
|
||||
}
|
||||
|
||||
this.specComplete = function(spec) {
|
||||
@ -259,6 +256,11 @@ jasmine.AtomReporter.ReporterView = function(dom) {
|
||||
};
|
||||
|
||||
this.refresh = function() {
|
||||
if (isUndefined(this.resultsMenu)) {
|
||||
this.createResultsMenu();
|
||||
dom.alert.appendChild(this.resultsMenu);
|
||||
}
|
||||
|
||||
// summary info
|
||||
this.summaryMenuItem.innerHTML = "" + specPluralizedFor(this.runningSpecCount);
|
||||
this.detailsMenuItem.innerHTML = "" + this.failedCount + " failing";
|
||||
|
Loading…
Reference in New Issue
Block a user