mirror of
https://github.com/nasa/openmct.git
synced 2025-06-14 13:18:15 +00:00
Addressing issues from code review
This commit is contained in:
@ -33,6 +33,7 @@ define(
|
||||
mockLocation,
|
||||
mockStatusCapability,
|
||||
mockCapabilities,
|
||||
mockPolicyService,
|
||||
controller;
|
||||
|
||||
// Utility function; look for a $watch on scope and fire it
|
||||
@ -45,6 +46,12 @@ define(
|
||||
}
|
||||
|
||||
beforeEach(function () {
|
||||
mockPolicyService = jasmine.createSpyObj(
|
||||
"policyService",
|
||||
[
|
||||
"allow"
|
||||
]
|
||||
);
|
||||
mockScope = jasmine.createSpyObj(
|
||||
"$scope",
|
||||
[ "$on", "$watch" ]
|
||||
|
Reference in New Issue
Block a user