27 lines
774 B
TypeScript
27 lines
774 B
TypeScript
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
|
|
import { MatDialogRef } from '@angular/material/dialog';
|
|
|
|
import { ReceiptDialogComponent } from './receipt-dialog.component';
|
|
|
|
describe('ReceiptDialogComponent', () => {
|
|
let component: ReceiptDialogComponent;
|
|
let fixture: ComponentFixture<ReceiptDialogComponent>;
|
|
|
|
beforeEach(waitForAsync(() => {
|
|
TestBed.configureTestingModule({
|
|
imports: [MatDialogRef],
|
|
declarations: [ReceiptDialogComponent],
|
|
}).compileComponents();
|
|
}));
|
|
|
|
beforeEach(() => {
|
|
fixture = TestBed.createComponent(ReceiptDialogComponent);
|
|
component = fixture.componentInstance;
|
|
fixture.detectChanges();
|
|
});
|
|
|
|
it('should create', () => {
|
|
expect(component).toBeTruthy();
|
|
});
|
|
});
|