mirror of
https://github.com/nasa/openmct.git
synced 2025-01-20 03:36:44 +00:00
fix failing unit test
This commit is contained in:
parent
34a149661c
commit
5b00246cc0
@ -63,10 +63,11 @@ describe("The telemetry criterion", function () {
|
||||
openmct.telemetry.getMetadata.and.returnValue(testTelemetryObject.telemetry.values);
|
||||
|
||||
openmct.time = jasmine.createSpyObj('timeAPI',
|
||||
['timeSystem', 'bounds']
|
||||
['timeSystem', 'bounds', 'getAllTimeSystems']
|
||||
);
|
||||
openmct.time.timeSystem.and.returnValue({key: 'system'});
|
||||
openmct.time.bounds.and.returnValue({start: 0, end: 1});
|
||||
openmct.time.getAllTimeSystems.and.returnValue([{key: 'system'}]);
|
||||
|
||||
testCriterionDefinition = {
|
||||
id: 'test-criterion-id',
|
||||
|
Loading…
Reference in New Issue
Block a user