Files
brewman/overlord/src/app/purchase-entries/purchase-entries.component.spec.ts
tanshu 2972203148 Removed the use of any and enabled the rule in eslint.
Now according to me the conversion is final.
Testing is required.
2020-11-24 08:03:43 +05:30

30 lines
895 B
TypeScript

import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
import { ReactiveFormsModule } from '@angular/forms';
import { RouterTestingModule } from '@angular/router/testing';
import { PurchaseEntriesComponent } from './purchase-entries.component';
describe('PurchaseEntriesComponent', () => {
let component: PurchaseEntriesComponent;
let fixture: ComponentFixture<PurchaseEntriesComponent>;
beforeEach(
waitForAsync(() => {
TestBed.configureTestingModule({
imports: [ReactiveFormsModule, RouterTestingModule],
declarations: [PurchaseEntriesComponent],
}).compileComponents();
}),
);
beforeEach(() => {
fixture = TestBed.createComponent(PurchaseEntriesComponent);
component = fixture.componentInstance;
fixture.detectChanges();
});
it('should create', () => {
expect(component).toBeTruthy();
});
});