mirror of
https://github.com/nasa/openmct.git
synced 2025-06-14 13:18:15 +00:00
Add hasCapability to mock
This commit is contained in:
@ -66,7 +66,8 @@ define(
|
||||
mockDomainObject = jasmine.createSpyObj("domainObject", [
|
||||
"getModel",
|
||||
"getId",
|
||||
"useCapability"
|
||||
"useCapability",
|
||||
"hasCapability"
|
||||
]);
|
||||
mockDomainObject.getModel.andReturn({});
|
||||
mockDomainObject.getId.andReturn("mockId");
|
||||
|
Reference in New Issue
Block a user