mirror of
https://github.com/nasa/openmct.git
synced 2025-06-22 17:08:57 +00:00
[Edit] Add tests for updated capabilities
Add tests for capabilities which have been updated to work when only a model (and not whole objects) are cached; that change was introduced to prevent misbehavior of the Remove action in Edit mode, WTD-473.
This commit is contained in:
@ -89,7 +89,7 @@ define(
|
||||
}
|
||||
|
||||
// Wrap all methods; return only editable domain objects.
|
||||
Object.keys(contextCapability).forEach(wrapFunction);
|
||||
Object.keys(contextCapability).forEach(wrapMethod);
|
||||
|
||||
return capability;
|
||||
};
|
||||
|
Reference in New Issue
Block a user