mirror of
https://github.com/nasa/openmct.git
synced 2024-12-25 07:41:06 +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 =
|
telemetryService =
|
||||||
$injector.get("telemetryService");
|
$injector.get("telemetryService");
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
// $injector should throw is telemetryService
|
// $injector should throw if telemetryService
|
||||||
// is unavailable or unsatisfiable.
|
// is unavailable or unsatisfiable.
|
||||||
$log.warn("Telemetry service unavailable");
|
$log.warn("Telemetry service unavailable");
|
||||||
telemetryService = null;
|
telemetryService = null;
|
||||||
|
@ -50,6 +50,9 @@ define(
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
mockTelemetryService.requestTelemetry
|
||||||
|
.andReturn(mockPromise({}));
|
||||||
|
|
||||||
// Bubble up...
|
// Bubble up...
|
||||||
mockReject.then.andReturn(mockReject);
|
mockReject.then.andReturn(mockReject);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user