mirror of
https://github.com/nasa/openmct.git
synced 2025-06-18 15:18:12 +00:00
Build columns from union of telemetry value metadata. (#2075)
* Build columns from union of telemetry value metadata. Do not manually clean up scope. Fixes #2027. Fixes #1884. Fixes #1817. * Fixed tests that are failing on circle-ci * Inlined getMetadataValues function
This commit is contained in:
committed by
Pete Richards
parent
a3e78bbf91
commit
45a152df86
@ -116,7 +116,11 @@ define(
|
||||
formatter.parse.andCallFake(getter);
|
||||
return formatter;
|
||||
});
|
||||
|
||||
mockTelemetryAPI.getMetadata.andReturn({
|
||||
values: function () {
|
||||
return [];
|
||||
}
|
||||
});
|
||||
mockTelemetryAPI.isTelemetryObject.andReturn(false);
|
||||
|
||||
mockTimeout = jasmine.createSpy("timeout");
|
||||
@ -363,7 +367,11 @@ define(
|
||||
mockTelemetryAPI.commonValuesForHints.andCallFake(function (metadata, hints) {
|
||||
if (_.eq(hints, ["domain"])) {
|
||||
return domainMetadata;
|
||||
} else if (_.eq(hints, [])) {
|
||||
}
|
||||
});
|
||||
|
||||
mockTelemetryAPI.getMetadata.andReturn({
|
||||
values: function () {
|
||||
return allMetadata;
|
||||
}
|
||||
});
|
||||
|
Reference in New Issue
Block a user