spec files renamed accordingly, plus linter or indentation corrections

This commit is contained in:
Carlos Jimenez 2018-08-01 09:47:34 +02:00
parent 642f85594e
commit b5356eb07d
16 changed files with 6 additions and 9 deletions

View File

@ -43,6 +43,7 @@ describe('Component vnStepControl', () => {
controller.steps = [{state: 'iam_not_current_state'}, {state: 'iam_a_current_state'}];
let result = controller.currentStepIndex;
expect(result).toEqual(1);
});
});

View File

@ -5,7 +5,7 @@ class Controller {
this.$scope = $scope;
this.$timeout = $timeout;
}
$onChanges(data) {
this.$timeout(() => {
this.$scope.watcher.data = data.item.currentValue;

View File

@ -1,10 +1,6 @@
import ngModule from '../module';
class Controller {
constructor() {
}
setFilter() {
this.catalogue.applyFilter();
}

View File

@ -19,7 +19,7 @@ class Controller extends FilterTicketList {
}
return sum;
}
base() {
let sum;
if (this.sales) {

View File

@ -1,4 +1,4 @@
/* import './step-three.js';
/* import './index.js';
describe('ticket', () => {
describe('Component vnTicketDataStepThree', () => {
@ -38,7 +38,7 @@ describe('ticket', () => {
landed: Date.now(),
option: 1
};
let response = {data: {error: {message: 'NOTHING_HERE'}}};
$httpBackend.whenPOST(`/ticket/api/tickets/1/componentUpdate`, data).respond(400, response);
@ -48,4 +48,4 @@ describe('ticket', () => {
});
});
});
}); */
}); */