test for autocomplete client side

This commit is contained in:
Carlos 2017-09-14 09:22:49 +02:00
parent 116714c370
commit bd20f76274
1 changed files with 26 additions and 0 deletions

View File

@ -4,3 +4,29 @@ describe('Core', () => {
describe('Component mdlUpdate', () => {
});
});
// import './address-create.js';
// describe('Client', () => {
// describe('Component vnAddressCreate', () => {
// let $componentController;
// let $state;
// beforeEach(() => {
// angular.mock.module('client');
// });
// beforeEach(angular.mock.inject((_$componentController_, _$state_) => {
// $componentController = _$componentController_;
// $state = _$state_;
// $state.params.id = '1234';
// }));
// it('should define and set address property', () => {
// let controller = $componentController('vnAddressCreate', {$state: $state});
// expect(controller.address.clientFk).toBe(1234);
// expect(controller.address.enabled).toBe(true);
// });
// });
// });