[Build] Revert setTimeout changes

Restore usage of setTimeout (instead of the Angular-wrapped version) per
https://github.com/nasa/openmct/pull/724#issuecomment-193542314
This commit is contained in:
Victor Woeltjen
2016-04-08 16:28:35 -07:00
parent f6a9c90cef
commit aa45e53440
3 changed files with 6 additions and 15 deletions

View File

@@ -30,8 +30,7 @@ define([
) {
describe('GenericSearchProvider', function () {
var $timeout,
$q,
var $q,
$log,
modelService,
models,
@@ -43,7 +42,6 @@ define([
provider;
beforeEach(function () {
$timeout = jasmine.createSpy('$timeout');
$q = jasmine.createSpyObj(
'$q',
['defer']
@@ -82,12 +80,7 @@ define([
spyOn(GenericSearchProvider.prototype, 'scheduleForIndexing');
$timeout.andCallFake(function (callback, millis) {
window.setTimeout(callback, millis);
});
provider = new GenericSearchProvider(
$timeout,
$q,
$log,
modelService,