Chore: Updated linter changed this.

This commit is contained in:
2022-04-03 07:26:40 +05:30
parent 1f1a9a13cd
commit d43aab0b23
44 changed files with 220 additions and 308 deletions

View File

@ -6,13 +6,11 @@ describe('BeerSaleReportComponent', () => {
let component: BeerSaleReportComponent;
let fixture: ComponentFixture<BeerSaleReportComponent>;
beforeEach(
waitForAsync(() => {
beforeEach(waitForAsync(() => {
TestBed.configureTestingModule({
declarations: [BeerSaleReportComponent],
}).compileComponents();
}),
);
}));
beforeEach(() => {
fixture = TestBed.createComponent(BeerSaleReportComponent);

View File

@ -6,13 +6,11 @@ describe('BillSettlementReportComponent', () => {
let component: BillSettlementReportComponent;
let fixture: ComponentFixture<BillSettlementReportComponent>;
beforeEach(
waitForAsync(() => {
beforeEach(waitForAsync(() => {
TestBed.configureTestingModule({
declarations: [BillSettlementReportComponent],
}).compileComponents();
}),
);
}));
beforeEach(() => {
fixture = TestBed.createComponent(BillSettlementReportComponent);

View File

@ -6,13 +6,11 @@ describe('CashierReportComponent', () => {
let component: CashierReportComponent;
let fixture: ComponentFixture<CashierReportComponent>;
beforeEach(
waitForAsync(() => {
beforeEach(waitForAsync(() => {
TestBed.configureTestingModule({
declarations: [CashierReportComponent],
}).compileComponents();
}),
);
}));
beforeEach(() => {
fixture = TestBed.createComponent(CashierReportComponent);

View File

@ -6,13 +6,11 @@ describe('CustomerDetailComponent', () => {
let component: CustomerDetailComponent;
let fixture: ComponentFixture<CustomerDetailComponent>;
beforeEach(
waitForAsync(() => {
beforeEach(waitForAsync(() => {
TestBed.configureTestingModule({
declarations: [CustomerDetailComponent],
}).compileComponents();
}),
);
}));
beforeEach(() => {
fixture = TestBed.createComponent(CustomerDetailComponent);

View File

@ -6,13 +6,11 @@ describe('DeviceDetailComponent', () => {
let component: DeviceDetailComponent;
let fixture: ComponentFixture<DeviceDetailComponent>;
beforeEach(
waitForAsync(() => {
beforeEach(waitForAsync(() => {
TestBed.configureTestingModule({
declarations: [DeviceDetailComponent],
}).compileComponents();
}),
);
}));
beforeEach(() => {
fixture = TestBed.createComponent(DeviceDetailComponent);

View File

@ -6,13 +6,11 @@ describe('DiscountReportComponent', () => {
let component: DiscountReportComponent;
let fixture: ComponentFixture<DiscountReportComponent>;
beforeEach(
waitForAsync(() => {
beforeEach(waitForAsync(() => {
TestBed.configureTestingModule({
declarations: [DiscountReportComponent],
}).compileComponents();
}),
);
}));
beforeEach(() => {
fixture = TestBed.createComponent(DiscountReportComponent);

View File

@ -6,13 +6,11 @@ describe('HeaderFooterComponent', () => {
let component: HeaderFooterComponent;
let fixture: ComponentFixture<HeaderFooterComponent>;
beforeEach(
waitForAsync(() => {
beforeEach(waitForAsync(() => {
TestBed.configureTestingModule({
declarations: [HeaderFooterComponent],
}).compileComponents();
}),
);
}));
beforeEach(() => {
fixture = TestBed.createComponent(HeaderFooterComponent);

View File

@ -6,13 +6,11 @@ describe('HomeComponent', () => {
let component: HomeComponent;
let fixture: ComponentFixture<HomeComponent>;
beforeEach(
waitForAsync(() => {
beforeEach(waitForAsync(() => {
TestBed.configureTestingModule({
declarations: [HomeComponent],
}).compileComponents();
}),
);
}));
beforeEach(() => {
fixture = TestBed.createComponent(HomeComponent);

View File

@ -6,13 +6,11 @@ describe('MenuCategoryDetailComponent', () => {
let component: MenuCategoryDetailComponent;
let fixture: ComponentFixture<MenuCategoryDetailComponent>;
beforeEach(
waitForAsync(() => {
beforeEach(waitForAsync(() => {
TestBed.configureTestingModule({
declarations: [MenuCategoryDetailComponent],
}).compileComponents();
}),
);
}));
beforeEach(() => {
fixture = TestBed.createComponent(MenuCategoryDetailComponent);

View File

@ -6,13 +6,11 @@ describe('ModifierCategoryDetailComponent', () => {
let component: ModifierCategoryDetailComponent;
let fixture: ComponentFixture<ModifierCategoryDetailComponent>;
beforeEach(
waitForAsync(() => {
beforeEach(waitForAsync(() => {
TestBed.configureTestingModule({
declarations: [ModifierCategoryDetailComponent],
}).compileComponents();
}),
);
}));
beforeEach(() => {
fixture = TestBed.createComponent(ModifierCategoryDetailComponent);

View File

@ -6,13 +6,11 @@ describe('ModifierDetailComponent', () => {
let component: ModifierDetailComponent;
let fixture: ComponentFixture<ModifierDetailComponent>;
beforeEach(
waitForAsync(() => {
beforeEach(waitForAsync(() => {
TestBed.configureTestingModule({
declarations: [ModifierDetailComponent],
}).compileComponents();
}),
);
}));
beforeEach(() => {
fixture = TestBed.createComponent(ModifierDetailComponent);

View File

@ -6,13 +6,11 @@ describe('NavBarComponent', () => {
let component: NavBarComponent;
let fixture: ComponentFixture<NavBarComponent>;
beforeEach(
waitForAsync(() => {
beforeEach(waitForAsync(() => {
TestBed.configureTestingModule({
declarations: [NavBarComponent],
}).compileComponents();
}),
);
}));
beforeEach(() => {
fixture = TestBed.createComponent(NavBarComponent);

View File

@ -6,13 +6,11 @@ describe('PrinterDetailComponent', () => {
let component: PrinterDetailComponent;
let fixture: ComponentFixture<PrinterDetailComponent>;
beforeEach(
waitForAsync(() => {
beforeEach(waitForAsync(() => {
TestBed.configureTestingModule({
declarations: [PrinterDetailComponent],
}).compileComponents();
}),
);
}));
beforeEach(() => {
fixture = TestBed.createComponent(PrinterDetailComponent);

View File

@ -6,13 +6,11 @@ describe('ProductSaleReportComponent', () => {
let component: ProductSaleReportComponent;
let fixture: ComponentFixture<ProductSaleReportComponent>;
beforeEach(
waitForAsync(() => {
beforeEach(waitForAsync(() => {
TestBed.configureTestingModule({
declarations: [ProductSaleReportComponent],
}).compileComponents();
}),
);
}));
beforeEach(() => {
fixture = TestBed.createComponent(ProductSaleReportComponent);

View File

@ -6,13 +6,11 @@ describe('ProductUpdatesReportComponent', () => {
let component: ProductUpdatesReportComponent;
let fixture: ComponentFixture<ProductUpdatesReportComponent>;
beforeEach(
waitForAsync(() => {
beforeEach(waitForAsync(() => {
TestBed.configureTestingModule({
declarations: [ProductUpdatesReportComponent],
}).compileComponents();
}),
);
}));
beforeEach(() => {
fixture = TestBed.createComponent(ProductUpdatesReportComponent);

View File

@ -6,13 +6,11 @@ describe('ProductDetailComponent', () => {
let component: ProductDetailComponent;
let fixture: ComponentFixture<ProductDetailComponent>;
beforeEach(
waitForAsync(() => {
beforeEach(waitForAsync(() => {
TestBed.configureTestingModule({
declarations: [ProductDetailComponent],
}).compileComponents();
}),
);
}));
beforeEach(() => {
fixture = TestBed.createComponent(ProductDetailComponent);

View File

@ -6,13 +6,11 @@ describe('RoleDetailComponent', () => {
let component: RoleDetailComponent;
let fixture: ComponentFixture<RoleDetailComponent>;
beforeEach(
waitForAsync(() => {
beforeEach(waitForAsync(() => {
TestBed.configureTestingModule({
declarations: [RoleDetailComponent],
}).compileComponents();
}),
);
}));
beforeEach(() => {
fixture = TestBed.createComponent(RoleDetailComponent);

View File

@ -6,13 +6,11 @@ describe('SaleCategoryDetailComponent', () => {
let component: SaleCategoryDetailComponent;
let fixture: ComponentFixture<SaleCategoryDetailComponent>;
beforeEach(
waitForAsync(() => {
beforeEach(waitForAsync(() => {
TestBed.configureTestingModule({
declarations: [SaleCategoryDetailComponent],
}).compileComponents();
}),
);
}));
beforeEach(() => {
fixture = TestBed.createComponent(SaleCategoryDetailComponent);

View File

@ -6,13 +6,11 @@ describe('SaleReportComponent', () => {
let component: SaleReportComponent;
let fixture: ComponentFixture<SaleReportComponent>;
beforeEach(
waitForAsync(() => {
beforeEach(waitForAsync(() => {
TestBed.configureTestingModule({
declarations: [SaleReportComponent],
}).compileComponents();
}),
);
}));
beforeEach(() => {
fixture = TestBed.createComponent(SaleReportComponent);

View File

@ -6,13 +6,11 @@ describe('QuantityComponent', () => {
let component: BillNumberComponent;
let fixture: ComponentFixture<BillNumberComponent>;
beforeEach(
waitForAsync(() => {
beforeEach(waitForAsync(() => {
TestBed.configureTestingModule({
declarations: [BillNumberComponent],
}).compileComponents();
}),
);
}));
beforeEach(() => {
fixture = TestBed.createComponent(BillNumberComponent);

View File

@ -6,13 +6,11 @@ describe('BillTypeComponent', () => {
let component: BillTypeComponent;
let fixture: ComponentFixture<BillTypeComponent>;
beforeEach(
waitForAsync(() => {
beforeEach(waitForAsync(() => {
TestBed.configureTestingModule({
declarations: [BillTypeComponent],
}).compileComponents();
}),
);
}));
beforeEach(() => {
fixture = TestBed.createComponent(BillTypeComponent);

View File

@ -6,13 +6,11 @@ describe('BillsComponent', () => {
let component: BillsComponent;
let fixture: ComponentFixture<BillsComponent>;
beforeEach(
waitForAsync(() => {
beforeEach(waitForAsync(() => {
TestBed.configureTestingModule({
declarations: [BillsComponent],
}).compileComponents();
}),
);
}));
beforeEach(() => {
fixture = TestBed.createComponent(BillsComponent);

View File

@ -6,13 +6,11 @@ describe('ChooseCustomerComponent', () => {
let component: ChooseCustomerComponent;
let fixture: ComponentFixture<ChooseCustomerComponent>;
beforeEach(
waitForAsync(() => {
beforeEach(waitForAsync(() => {
TestBed.configureTestingModule({
declarations: [ChooseCustomerComponent],
}).compileComponents();
}),
);
}));
beforeEach(() => {
fixture = TestBed.createComponent(ChooseCustomerComponent);

View File

@ -6,13 +6,11 @@ describe('DiscountComponent', () => {
let component: DiscountComponent;
let fixture: ComponentFixture<DiscountComponent>;
beforeEach(
waitForAsync(() => {
beforeEach(waitForAsync(() => {
TestBed.configureTestingModule({
declarations: [DiscountComponent],
}).compileComponents();
}),
);
}));
beforeEach(() => {
fixture = TestBed.createComponent(DiscountComponent);

View File

@ -6,13 +6,11 @@ describe('SalesHomeComponent', () => {
let component: SalesHomeComponent;
let fixture: ComponentFixture<SalesHomeComponent>;
beforeEach(
waitForAsync(() => {
beforeEach(waitForAsync(() => {
TestBed.configureTestingModule({
declarations: [SalesHomeComponent],
}).compileComponents();
}),
);
}));
beforeEach(() => {
fixture = TestBed.createComponent(SalesHomeComponent);

View File

@ -6,13 +6,11 @@ describe('MenuCategoriesComponent', () => {
let component: MenuCategoriesComponent;
let fixture: ComponentFixture<MenuCategoriesComponent>;
beforeEach(
waitForAsync(() => {
beforeEach(waitForAsync(() => {
TestBed.configureTestingModule({
declarations: [MenuCategoriesComponent],
}).compileComponents();
}),
);
}));
beforeEach(() => {
fixture = TestBed.createComponent(MenuCategoriesComponent);

View File

@ -6,13 +6,11 @@ describe('ModifiersComponent', () => {
let component: ModifiersComponent;
let fixture: ComponentFixture<ModifiersComponent>;
beforeEach(
waitForAsync(() => {
beforeEach(waitForAsync(() => {
TestBed.configureTestingModule({
declarations: [ModifiersComponent],
}).compileComponents();
}),
);
}));
beforeEach(() => {
fixture = TestBed.createComponent(ModifiersComponent);

View File

@ -6,13 +6,11 @@ describe('PaxComponent', () => {
let component: PaxComponent;
let fixture: ComponentFixture<PaxComponent>;
beforeEach(
waitForAsync(() => {
beforeEach(waitForAsync(() => {
TestBed.configureTestingModule({
declarations: [PaxComponent],
}).compileComponents();
}),
);
}));
beforeEach(() => {
fixture = TestBed.createComponent(PaxComponent);

View File

@ -6,13 +6,11 @@ describe('ProductsComponent', () => {
let component: ProductsComponent;
let fixture: ComponentFixture<ProductsComponent>;
beforeEach(
waitForAsync(() => {
beforeEach(waitForAsync(() => {
TestBed.configureTestingModule({
declarations: [ProductsComponent],
}).compileComponents();
}),
);
}));
beforeEach(() => {
fixture = TestBed.createComponent(ProductsComponent);

View File

@ -6,13 +6,11 @@ describe('QuantityComponent', () => {
let component: QuantityComponent;
let fixture: ComponentFixture<QuantityComponent>;
beforeEach(
waitForAsync(() => {
beforeEach(waitForAsync(() => {
TestBed.configureTestingModule({
declarations: [QuantityComponent],
}).compileComponents();
}),
);
}));
beforeEach(() => {
fixture = TestBed.createComponent(QuantityComponent);

View File

@ -6,13 +6,11 @@ describe('VoidReasonComponent', () => {
let component: ReasonComponent;
let fixture: ComponentFixture<ReasonComponent>;
beforeEach(
waitForAsync(() => {
beforeEach(waitForAsync(() => {
TestBed.configureTestingModule({
declarations: [ReasonComponent],
}).compileComponents();
}),
);
}));
beforeEach(() => {
fixture = TestBed.createComponent(ReasonComponent);

View File

@ -6,13 +6,11 @@ describe('ReceivePaymentComponent', () => {
let component: ReceivePaymentComponent;
let fixture: ComponentFixture<ReceivePaymentComponent>;
beforeEach(
waitForAsync(() => {
beforeEach(waitForAsync(() => {
TestBed.configureTestingModule({
declarations: [ReceivePaymentComponent],
}).compileComponents();
}),
);
}));
beforeEach(() => {
fixture = TestBed.createComponent(ReceivePaymentComponent);

View File

@ -6,13 +6,11 @@ describe('RunningTablesComponent', () => {
let component: RunningTablesComponent;
let fixture: ComponentFixture<RunningTablesComponent>;
beforeEach(
waitForAsync(() => {
beforeEach(waitForAsync(() => {
TestBed.configureTestingModule({
declarations: [RunningTablesComponent],
}).compileComponents();
}),
);
}));
beforeEach(() => {
fixture = TestBed.createComponent(RunningTablesComponent);

View File

@ -6,13 +6,11 @@ describe('SplitBillComponent', () => {
let component: SplitBillComponent;
let fixture: ComponentFixture<SplitBillComponent>;
beforeEach(
waitForAsync(() => {
beforeEach(waitForAsync(() => {
TestBed.configureTestingModule({
declarations: [SplitBillComponent],
}).compileComponents();
}),
);
}));
beforeEach(() => {
fixture = TestBed.createComponent(SplitBillComponent);

View File

@ -6,13 +6,11 @@ describe('TablesDialogComponent', () => {
let component: TablesDialogComponent;
let fixture: ComponentFixture<TablesDialogComponent>;
beforeEach(
waitForAsync(() => {
beforeEach(waitForAsync(() => {
TestBed.configureTestingModule({
declarations: [TablesDialogComponent],
}).compileComponents();
}),
);
}));
beforeEach(() => {
fixture = TestBed.createComponent(TablesDialogComponent);

View File

@ -6,13 +6,11 @@ describe('SectionPrinterComponent', () => {
let component: SectionPrinterComponent;
let fixture: ComponentFixture<SectionPrinterComponent>;
beforeEach(
waitForAsync(() => {
beforeEach(waitForAsync(() => {
TestBed.configureTestingModule({
declarations: [SectionPrinterComponent],
}).compileComponents();
}),
);
}));
beforeEach(() => {
fixture = TestBed.createComponent(SectionPrinterComponent);

View File

@ -6,13 +6,11 @@ describe('SectionDetailComponent', () => {
let component: SectionDetailComponent;
let fixture: ComponentFixture<SectionDetailComponent>;
beforeEach(
waitForAsync(() => {
beforeEach(waitForAsync(() => {
TestBed.configureTestingModule({
declarations: [SectionDetailComponent],
}).compileComponents();
}),
);
}));
beforeEach(() => {
fixture = TestBed.createComponent(SectionDetailComponent);

View File

@ -6,13 +6,11 @@ describe('SettleOptionDetailComponent', () => {
let component: SettleOptionDetailComponent;
let fixture: ComponentFixture<SettleOptionDetailComponent>;
beforeEach(
waitForAsync(() => {
beforeEach(waitForAsync(() => {
TestBed.configureTestingModule({
declarations: [SettleOptionDetailComponent],
}).compileComponents();
}),
);
}));
beforeEach(() => {
fixture = TestBed.createComponent(SettleOptionDetailComponent);

View File

@ -6,13 +6,11 @@ describe('TableDetailComponent', () => {
let component: TableDetailComponent;
let fixture: ComponentFixture<TableDetailComponent>;
beforeEach(
waitForAsync(() => {
beforeEach(waitForAsync(() => {
TestBed.configureTestingModule({
declarations: [TableDetailComponent],
}).compileComponents();
}),
);
}));
beforeEach(() => {
fixture = TestBed.createComponent(TableDetailComponent);

View File

@ -6,13 +6,11 @@ describe('TaxReportComponent', () => {
let component: TaxReportComponent;
let fixture: ComponentFixture<TaxReportComponent>;
beforeEach(
waitForAsync(() => {
beforeEach(waitForAsync(() => {
TestBed.configureTestingModule({
declarations: [TaxReportComponent],
}).compileComponents();
}),
);
}));
beforeEach(() => {
fixture = TestBed.createComponent(TaxReportComponent);

View File

@ -6,13 +6,11 @@ describe('TaxDetailComponent', () => {
let component: TaxDetailComponent;
let fixture: ComponentFixture<TaxDetailComponent>;
beforeEach(
waitForAsync(() => {
beforeEach(waitForAsync(() => {
TestBed.configureTestingModule({
declarations: [TaxDetailComponent],
}).compileComponents();
}),
);
}));
beforeEach(() => {
fixture = TestBed.createComponent(TaxDetailComponent);

View File

@ -6,13 +6,11 @@ describe('TemporalProductDetailComponent', () => {
let component: TemporalProductDetailComponent;
let fixture: ComponentFixture<TemporalProductDetailComponent>;
beforeEach(
waitForAsync(() => {
beforeEach(waitForAsync(() => {
TestBed.configureTestingModule({
declarations: [TemporalProductDetailComponent],
}).compileComponents();
}),
);
}));
beforeEach(() => {
fixture = TestBed.createComponent(TemporalProductDetailComponent);

View File

@ -6,13 +6,11 @@ describe('UpdateProductPricesComponent', () => {
let component: UpdateProductPricesComponent;
let fixture: ComponentFixture<UpdateProductPricesComponent>;
beforeEach(
waitForAsync(() => {
beforeEach(waitForAsync(() => {
TestBed.configureTestingModule({
declarations: [UpdateProductPricesComponent],
}).compileComponents();
}),
);
}));
beforeEach(() => {
fixture = TestBed.createComponent(UpdateProductPricesComponent);

View File

@ -6,13 +6,11 @@ describe('UserDetailComponent', () => {
let component: UserDetailComponent;
let fixture: ComponentFixture<UserDetailComponent>;
beforeEach(
waitForAsync(() => {
beforeEach(waitForAsync(() => {
TestBed.configureTestingModule({
declarations: [UserDetailComponent],
}).compileComponents();
}),
);
}));
beforeEach(() => {
fixture = TestBed.createComponent(UserDetailComponent);