mirror of
https://github.com/nasa/openmct.git
synced 2025-01-19 11:17:04 +00:00
[Plots] #638 Fixed failing test
This commit is contained in:
parent
fcdf89a4ee
commit
aabeb72203
@ -116,8 +116,6 @@ define(
|
||||
|
||||
this.clearSeriesWatches();
|
||||
|
||||
console.log("watches before: " + this.watches.length);
|
||||
|
||||
(self.$scope.children || []).forEach(function(child, index){
|
||||
self.watches.push(
|
||||
self.$scope.$watchCollection(
|
||||
@ -128,7 +126,6 @@ define(
|
||||
)
|
||||
);
|
||||
});
|
||||
console.log("watches after: " + self.watches.length);
|
||||
};
|
||||
|
||||
/**
|
||||
|
@ -94,6 +94,9 @@ define(
|
||||
]);
|
||||
mockScope.domainObject = mockDomainObject;
|
||||
|
||||
function noop() {}
|
||||
mockScope.$watchCollection.andReturn(noop);
|
||||
|
||||
plotOptionsController = new PlotOptionsController(mockScope);
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user