Forgot to lint earlier

This commit is contained in:
2022-07-11 20:14:22 +05:30
parent d44c5b3e02
commit facf2df91e
69 changed files with 411 additions and 424 deletions
@@ -8,14 +8,12 @@ describe('ProductGroupDetailComponent', () => {
let component: RecipeDetailComponent;
let fixture: ComponentFixture<RecipeDetailComponent>;
beforeEach(
waitForAsync(() => {
TestBed.configureTestingModule({
imports: [ReactiveFormsModule, RouterTestingModule],
declarations: [RecipeDetailComponent],
}).compileComponents();
}),
);
beforeEach(waitForAsync(() => {
TestBed.configureTestingModule({
imports: [ReactiveFormsModule, RouterTestingModule],
declarations: [RecipeDetailComponent],
}).compileComponents();
}));
beforeEach(() => {
fixture = TestBed.createComponent(RecipeDetailComponent);
@@ -144,9 +144,9 @@ export class RecipeDetailComponent implements OnInit, AfterViewInit {
this.ser
.getIngredientDetails(ingredient.id, item.validFrom, item.validTill)
.subscribe((x) =>
((this.form.get('addRow') as UntypedFormControl).get('rate') as UntypedFormControl).setValue(
'' + x.costPrice,
),
(
(this.form.get('addRow') as UntypedFormControl).get('rate') as UntypedFormControl
).setValue('' + x.costPrice),
);
}