Removed unused $httpBackend
gitea/salix/pipeline/head This commit looks good
Details
gitea/salix/pipeline/head This commit looks good
Details
This commit is contained in:
parent
9e97300516
commit
3a2db713e0
|
@ -4,12 +4,10 @@ import crudModel from 'core/mocks/crud-model';
|
||||||
describe('component vnZoneCalendar', () => {
|
describe('component vnZoneCalendar', () => {
|
||||||
let $scope;
|
let $scope;
|
||||||
let controller;
|
let controller;
|
||||||
let $httpBackend;
|
|
||||||
|
|
||||||
beforeEach(ngModule('zone'));
|
beforeEach(ngModule('zone'));
|
||||||
|
|
||||||
beforeEach(inject(($componentController, $rootScope, _$httpBackend_) => {
|
beforeEach(inject(($componentController, $rootScope) => {
|
||||||
$httpBackend = _$httpBackend_;
|
|
||||||
$scope = $rootScope.$new();
|
$scope = $rootScope.$new();
|
||||||
const $element = angular.element(`<vn-zone-calendar></vn-zone-calendar>`);
|
const $element = angular.element(`<vn-zone-calendar></vn-zone-calendar>`);
|
||||||
controller = $componentController('vnZoneCalendar', {$element, $scope});
|
controller = $componentController('vnZoneCalendar', {$element, $scope});
|
||||||
|
|
Loading…
Reference in New Issue