fix tests

This commit is contained in:
John Mitchell
2017-02-22 13:29:17 -05:00
parent a1f5ee501c
commit 96121c6189
3 changed files with 12 additions and 4 deletions

View File

@@ -7,6 +7,10 @@ describe('Controller: jobResultsController', () => {
let jobData, jobDataOptions, jobLabels, jobFinished, count, $scope, ParseTypeChange, ParseVariableString, jobResultsService, eventQueue, $compile, eventResolve, populateResolve, $rScope, q, $log, Dataset, Rest, $state, QuerySet, i18n,fieldChoices, fieldLabels, $interval, workflowResultsService, statusSocket;
statusSocket = function() {
var fn = function() {};
return fn;
}
jobData = {
related: {}
};
@@ -70,6 +74,8 @@ describe('Controller: jobResultsController', () => {
return jasmine.createSpyObj('workflowResultsService', ['createOneSecondTimer', 'destroyTimer']);
});
$provide.value('statusSocket', statusSocket);
$provide.value('jobData', jobData);
$provide.value('jobDataOptions', jobDataOptions);
$provide.value('jobLabels', jobLabels);