mirror of
https://github.com/nasa/openmct.git
synced 2025-06-18 07:08:12 +00:00
[Location] can retrieve contextual location
Clarify naming of method for retrieving contextual location of a domain object. Default behavior for objects that do not have a context is to return undefined. Note that default behavior is not specified and could change if needed.
This commit is contained in:
@ -52,8 +52,8 @@ define(
|
||||
locationCapability = new LocationCapability(domainObject);
|
||||
});
|
||||
|
||||
it("returns location", function () {
|
||||
expect(locationCapability.getLocation())
|
||||
it("returns contextual location", function () {
|
||||
expect(locationCapability.getContextualLocation())
|
||||
.toBe('root');
|
||||
});
|
||||
|
||||
|
Reference in New Issue
Block a user