mirror of
https://github.com/nasa/openmct.git
synced 2025-06-05 17:01:41 +00:00
fix failing unit tests
This commit is contained in:
parent
dabd0bff29
commit
ecabd00b0c
@ -62,6 +62,12 @@ describe("The telemetry criterion", function () {
|
||||
openmct.telemetry.subscribe.and.returnValue(function () {});
|
||||
openmct.telemetry.getMetadata.and.returnValue(testTelemetryObject.telemetry.values);
|
||||
|
||||
openmct.time = jasmine.createSpyObj('timeAPI',
|
||||
['timeSystem', 'bounds']
|
||||
);
|
||||
openmct.time.timeSystem.and.returnValue({key: 'system'});
|
||||
openmct.time.bounds.and.returnValue({start: 0, end: 1});
|
||||
|
||||
testCriterionDefinition = {
|
||||
id: 'test-criterion-id',
|
||||
telemetry: openmct.objects.makeKeyString(testTelemetryObject.identifier)
|
||||
|
Loading…
x
Reference in New Issue
Block a user