Forgot to lint earlier
This commit is contained in:
@@ -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),
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user