fixed eslint rules
This commit is contained in:
parent
20897a287e
commit
4173180fde
|
@ -64,6 +64,7 @@ describe('Client', () => {
|
|||
it('should define the classificationId property of the controller and then call the show method()', () => {
|
||||
controller.$scope.closeContract = {show: () => {}};
|
||||
spyOn(controller.$scope.closeContract, 'show');
|
||||
|
||||
expect(controller.classificationId).toBeFalsy();
|
||||
controller.closeContract({id: 1});
|
||||
|
||||
|
|
|
@ -39,8 +39,7 @@ class Controller {
|
|||
this.$http.get(query).then(res => {
|
||||
if (res.data)
|
||||
this.ticket = res.data;
|
||||
}
|
||||
);
|
||||
});
|
||||
}
|
||||
|
||||
$onInit() {
|
||||
|
|
Loading…
Reference in New Issue