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