mirror of
https://github.com/nasa/openmct.git
synced 2024-12-23 23:12:23 +00:00
[Telemetry] Fix failing spec
Update specs to provide suitable mocks after changes to TelemetryCapability which support autoflow tabular views, WTD-614.
This commit is contained in:
parent
54c075dc88
commit
cc5cfd95a7
@ -28,7 +28,7 @@ define(
|
||||
telemetryService =
|
||||
$injector.get("telemetryService");
|
||||
} catch (e) {
|
||||
// $injector should throw is telemetryService
|
||||
// $injector should throw if telemetryService
|
||||
// is unavailable or unsatisfiable.
|
||||
$log.warn("Telemetry service unavailable");
|
||||
telemetryService = null;
|
||||
|
@ -50,6 +50,9 @@ define(
|
||||
}
|
||||
});
|
||||
|
||||
mockTelemetryService.requestTelemetry
|
||||
.andReturn(mockPromise({}));
|
||||
|
||||
// Bubble up...
|
||||
mockReject.then.andReturn(mockReject);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user