brewman/overlord/src/app/purchase/purchase-dialog.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

28 lines
787 B
TypeScript

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