Forgot to lint earlier
This commit is contained in:
@ -7,14 +7,12 @@ describe('ReceiptDialogComponent', () => {
|
||||
let component: ReceiptDialogComponent;
|
||||
let fixture: ComponentFixture<ReceiptDialogComponent>;
|
||||
|
||||
beforeEach(
|
||||
waitForAsync(() => {
|
||||
TestBed.configureTestingModule({
|
||||
imports: [MatDialogRef],
|
||||
declarations: [ReceiptDialogComponent],
|
||||
}).compileComponents();
|
||||
}),
|
||||
);
|
||||
beforeEach(waitForAsync(() => {
|
||||
TestBed.configureTestingModule({
|
||||
imports: [MatDialogRef],
|
||||
declarations: [ReceiptDialogComponent],
|
||||
}).compileComponents();
|
||||
}));
|
||||
|
||||
beforeEach(() => {
|
||||
fixture = TestBed.createComponent(ReceiptDialogComponent);
|
||||
|
||||
@ -9,14 +9,12 @@ describe('ReceiptComponent', () => {
|
||||
let component: ReceiptComponent;
|
||||
let fixture: ComponentFixture<ReceiptComponent>;
|
||||
|
||||
beforeEach(
|
||||
waitForAsync(() => {
|
||||
TestBed.configureTestingModule({
|
||||
imports: [MatDialogModule, ReactiveFormsModule, RouterTestingModule],
|
||||
declarations: [ReceiptComponent],
|
||||
}).compileComponents();
|
||||
}),
|
||||
);
|
||||
beforeEach(waitForAsync(() => {
|
||||
TestBed.configureTestingModule({
|
||||
imports: [MatDialogModule, ReactiveFormsModule, RouterTestingModule],
|
||||
declarations: [ReceiptComponent],
|
||||
}).compileComponents();
|
||||
}));
|
||||
|
||||
beforeEach(() => {
|
||||
fixture = TestBed.createComponent(ReceiptComponent);
|
||||
|
||||
@ -173,7 +173,10 @@ export class ReceiptComponent implements OnInit, AfterViewInit, OnDestroy {
|
||||
}
|
||||
|
||||
addRow() {
|
||||
const amount = this.math.parseAmount((this.form.get('addRow') as UntypedFormControl).value.amount, 2);
|
||||
const amount = this.math.parseAmount(
|
||||
(this.form.get('addRow') as UntypedFormControl).value.amount,
|
||||
2,
|
||||
);
|
||||
const debit = -1;
|
||||
if (this.account === null || amount <= 0) {
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user