mirror of
https://github.com/nasa/openmct.git
synced 2025-06-14 13:18:15 +00:00
fix tests by adding listen function, and fix lint/checkstyle errors
This commit is contained in:
@ -42,7 +42,15 @@ define(
|
||||
["$watch"]
|
||||
);
|
||||
mockScope.ngModel = {};
|
||||
mockScope.ngModel.selectedObject = 'mock selected object';
|
||||
mockScope.ngModel.selectedObject = {
|
||||
getCapability: function () {
|
||||
return {
|
||||
listen: function () {
|
||||
return true;
|
||||
}
|
||||
};
|
||||
}
|
||||
};
|
||||
|
||||
mockObjectService = jasmine.createSpyObj(
|
||||
"objectService",
|
||||
|
Reference in New Issue
Block a user