spec files renamed accordingly, plus linter or indentation corrections
This commit is contained in:
parent
642f85594e
commit
b5356eb07d
|
@ -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);
|
||||
});
|
||||
});
|
||||
|
|
|
@ -5,7 +5,7 @@ class Controller {
|
|||
this.$scope = $scope;
|
||||
this.$timeout = $timeout;
|
||||
}
|
||||
|
||||
|
||||
$onChanges(data) {
|
||||
this.$timeout(() => {
|
||||
this.$scope.watcher.data = data.item.currentValue;
|
||||
|
|
|
@ -1,10 +1,6 @@
|
|||
import ngModule from '../module';
|
||||
|
||||
class Controller {
|
||||
constructor() {
|
||||
|
||||
}
|
||||
|
||||
setFilter() {
|
||||
this.catalogue.applyFilter();
|
||||
}
|
||||
|
|
|
@ -19,7 +19,7 @@ class Controller extends FilterTicketList {
|
|||
}
|
||||
return sum;
|
||||
}
|
||||
|
||||
|
||||
base() {
|
||||
let sum;
|
||||
if (this.sales) {
|
||||
|
|
|
@ -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', () => {
|
|||
});
|
||||
});
|
||||
});
|
||||
}); */
|
||||
}); */
|
Loading…
Reference in New Issue