mirror of
https://github.com/nasa/openmct.git
synced 2025-04-05 10:26:49 +00:00
[Mobile] Tests
Completed test for the BrowseController Spec that takes in an undefined context.
This commit is contained in:
parent
bb2f086623
commit
67cb5f8077
@ -304,6 +304,19 @@ define(
|
||||
);
|
||||
|
||||
mockScope.checkRoot();
|
||||
|
||||
mockDomainObject.getCapability.andReturn(undefined);
|
||||
mockNavigationService.getNavigation.andReturn(mockDomainObject);
|
||||
|
||||
controller = new BrowseController(
|
||||
mockScope,
|
||||
mockRoute,
|
||||
mockLocation,
|
||||
mockObjectService,
|
||||
mockNavigationService
|
||||
);
|
||||
|
||||
mockScope.checkRoot();
|
||||
});
|
||||
|
||||
// Mocks the back arrow call that
|
||||
|
Loading…
x
Reference in New Issue
Block a user