2020-11-23 11:42:27 +00:00
|
|
|
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
|
2020-10-02 10:54:29 +00:00
|
|
|
import { MatDialogModule } from '@angular/material/dialog';
|
2018-05-25 13:49:00 +00:00
|
|
|
|
|
|
|
import { PurchaseDialogComponent } from './purchase-dialog.component';
|
|
|
|
|
|
|
|
describe('PurchaseDialogComponent', () => {
|
|
|
|
let component: PurchaseDialogComponent;
|
|
|
|
let fixture: ComponentFixture<PurchaseDialogComponent>;
|
|
|
|
|
2020-11-24 02:33:43 +00:00
|
|
|
beforeEach(
|
|
|
|
waitForAsync(() => {
|
|
|
|
TestBed.configureTestingModule({
|
|
|
|
declarations: [MatDialogModule, PurchaseDialogComponent],
|
|
|
|
}).compileComponents();
|
|
|
|
}),
|
|
|
|
);
|
2018-05-25 13:49:00 +00:00
|
|
|
|
|
|
|
beforeEach(() => {
|
|
|
|
fixture = TestBed.createComponent(PurchaseDialogComponent);
|
|
|
|
component = fixture.componentInstance;
|
|
|
|
fixture.detectChanges();
|
|
|
|
});
|
|
|
|
|
|
|
|
it('should create', () => {
|
|
|
|
expect(component).toBeTruthy();
|
|
|
|
});
|
|
|
|
});
|