mirror of
https://github.com/nasa/openmct.git
synced 2024-12-24 23:36:41 +00:00
3cfcd027e0
Fill in specs for fixed position views selection proxies, WTD-879.
28 lines
844 B
JavaScript
28 lines
844 B
JavaScript
/*global define,describe,it,expect,beforeEach,jasmine*/
|
|
|
|
define(
|
|
['../../src/elements/ElementProxies'],
|
|
function (ElementProxies) {
|
|
"use strict";
|
|
|
|
var ELEMENT_TYPES = [
|
|
"fixed.telemetry"
|
|
];
|
|
|
|
// Verify that the set of proxies exposed matches the specific
|
|
// list above.
|
|
describe("The set of element proxies", function () {
|
|
ELEMENT_TYPES.forEach(function (t) {
|
|
it("exposes a proxy wrapper for " + t + " elements", function () {
|
|
expect(typeof ElementProxies[t]).toEqual('function');
|
|
});
|
|
});
|
|
|
|
it("exposes no additional wrappers", function () {
|
|
expect(Object.keys(ElementProxies).length)
|
|
.toEqual(ELEMENT_TYPES.length);
|
|
});
|
|
});
|
|
}
|
|
);
|