barker/bookie/src/app/sales/home/sales-home.component.spec.ts
tanshu 6567f560ab Updated to angular 11
Now compiling with strict mode in typescript
Need to error checking now
2020-11-22 10:13:37 +05:30

27 lines
675 B
TypeScript

import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
import { SalesHomeComponent } from './sales-home.component';
describe('SalesHomeComponent', () => {
let component: SalesHomeComponent;
let fixture: ComponentFixture<SalesHomeComponent>;
beforeEach(
waitForAsync(() => {
TestBed.configureTestingModule({
declarations: [SalesHomeComponent],
}).compileComponents();
}),
);
beforeEach(() => {
fixture = TestBed.createComponent(SalesHomeComponent);
component = fixture.componentInstance;
fixture.detectChanges();
});
it('should create', () => {
expect(component).toBeTruthy();
});
});