30 lines
895 B
TypeScript
30 lines
895 B
TypeScript
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
|
|
import { ReactiveFormsModule } from '@angular/forms';
|
|
import { RouterTestingModule } from '@angular/router/testing';
|
|
|
|
import { PurchaseEntriesComponent } from './purchase-entries.component';
|
|
|
|
describe('PurchaseEntriesComponent', () => {
|
|
let component: PurchaseEntriesComponent;
|
|
let fixture: ComponentFixture<PurchaseEntriesComponent>;
|
|
|
|
beforeEach(
|
|
waitForAsync(() => {
|
|
TestBed.configureTestingModule({
|
|
imports: [ReactiveFormsModule, RouterTestingModule],
|
|
declarations: [PurchaseEntriesComponent],
|
|
}).compileComponents();
|
|
}),
|
|
);
|
|
|
|
beforeEach(() => {
|
|
fixture = TestBed.createComponent(PurchaseEntriesComponent);
|
|
component = fixture.componentInstance;
|
|
fixture.detectChanges();
|
|
});
|
|
|
|
it('should create', () => {
|
|
expect(component).toBeTruthy();
|
|
});
|
|
});
|