mirror of
https://github.com/nasa/openmct.git
synced 2025-06-18 15:18:12 +00:00
[Containment] Test containment tables
Test tables which support efficient lookup of composition policy, WTD-962.
This commit is contained in:
@ -48,6 +48,8 @@ define(
|
||||
policy = new CompositionPolicy(mockInjector);
|
||||
});
|
||||
|
||||
// Test basic composition policy here; test more closely at
|
||||
// the unit level in ContainmentTable for 'has' support, et al
|
||||
it("enforces containment rules defined by types", function () {
|
||||
expect(policy.allow(mockTypes[0], mockTypes[1]))
|
||||
.toBeTruthy();
|
||||
|
Reference in New Issue
Block a user