[Build] Add global declarations to mocks

This commit is contained in:
Victor Woeltjen
2016-03-04 11:53:08 -08:00
parent 1cdbc11894
commit f34ef8c4c8
6 changed files with 28 additions and 6 deletions

View File

@@ -20,7 +20,7 @@
* at runtime from the About dialog for additional information.
*****************************************************************************/
/*global jasmine*/
define(
[
'../ControlledPromise'
@@ -63,7 +63,7 @@ define(
]
);
mockLinkService.perform.andCallFake(function (object, newParent) {
mockLinkService.perform.andCallFake(function (object) {
var performPromise = new ControlledPromise();
this.perform.mostRecentCall.promise = performPromise;