Files
brewman/overlord/src/app/cost-centre/cost-centre-list/cost-centre-list.component.spec.ts
T
tanshu cefb3ebdcc Removed old rules from eslint
Tried hand at testing by fixing the spec files with import. However, still many errors and given up now.
2020-10-02 16:24:29 +05:30

25 lines
763 B
TypeScript

import { ComponentFixture, fakeAsync, TestBed } from '@angular/core/testing';
import { RouterTestingModule } from '@angular/router/testing';
import { CostCentreListComponent } from './cost-centre-list.component';
describe('CostCentreListComponent', () => {
let component: CostCentreListComponent;
let fixture: ComponentFixture<CostCentreListComponent>;
beforeEach(fakeAsync(() => {
TestBed.configureTestingModule({
imports: [RouterTestingModule],
declarations: [CostCentreListComponent],
}).compileComponents();
fixture = TestBed.createComponent(CostCentreListComponent);
component = fixture.componentInstance;
fixture.detectChanges();
}));
it('should compile', () => {
expect(component).toBeTruthy();
});
});