mirror of
https://github.com/nasa/openmct.git
synced 2025-06-16 06:08:11 +00:00
[Telemetry] Update plot specs
Update plot specs to reflect refactoring out of formatter for telemetry values, WTD-599.
This commit is contained in:
@ -11,6 +11,7 @@ define(
|
||||
describe("A sub-plot", function () {
|
||||
var mockDomainObject,
|
||||
mockPanZoomStack,
|
||||
mockFormatter,
|
||||
mockElement,
|
||||
testDomainObjects,
|
||||
testOrigin,
|
||||
@ -35,6 +36,10 @@ define(
|
||||
"getDimensions"
|
||||
]
|
||||
);
|
||||
mockFormatter = jasmine.createSpyObj(
|
||||
"formatter",
|
||||
[ "formatDomainValue", "formatRangeValue" ]
|
||||
);
|
||||
mockElement = jasmine.createSpyObj(
|
||||
"element",
|
||||
[ "getBoundingClientRect" ]
|
||||
@ -55,7 +60,8 @@ define(
|
||||
|
||||
subplot = new SubPlot(
|
||||
testDomainObjects,
|
||||
mockPanZoomStack
|
||||
mockPanZoomStack,
|
||||
mockFormatter
|
||||
);
|
||||
});
|
||||
|
||||
|
Reference in New Issue
Block a user