small refactor on address-edit.spec.js

This commit is contained in:
Carlos 2017-08-31 08:55:17 +02:00
parent f813d052aa
commit 60c46b5fb7
1 changed files with 1 additions and 3 deletions

View File

@ -2,16 +2,14 @@ import './address-edit.js';
describe('Component vnAddressEdit', () => {
let $componentController;
let $scope;
let $state;
beforeEach(() => {
angular.mock.module('client');
});
beforeEach(angular.mock.inject(function(_$componentController_, $rootScope, _$state_) {
beforeEach(angular.mock.inject(function(_$componentController_, _$state_) {
$componentController = _$componentController_;
$scope = $scope;
$state = _$state_;
$state.params.addressId = '1234';
}));