mirror of
https://github.com/nasa/openmct.git
synced 2025-05-21 09:47:38 +00:00
Add hasCapability to mock
This commit is contained in:
parent
5c01f0be24
commit
40985a56c8
@ -66,7 +66,8 @@ define(
|
||||
mockDomainObject = jasmine.createSpyObj("domainObject", [
|
||||
"getModel",
|
||||
"getId",
|
||||
"useCapability"
|
||||
"useCapability",
|
||||
"hasCapability"
|
||||
]);
|
||||
mockDomainObject.getModel.andReturn({});
|
||||
mockDomainObject.getId.andReturn("mockId");
|
||||
|
Loading…
x
Reference in New Issue
Block a user