import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing'; import { ReactiveFormsModule } from '@angular/forms'; import { RouterTestingModule } from '@angular/router/testing'; import { ProductGroupDetailComponent } from './product-group-detail.component'; describe('ProductGroupDetailComponent', () => { let component: ProductGroupDetailComponent; let fixture: ComponentFixture; beforeEach( waitForAsync(() => { TestBed.configureTestingModule({ imports: [ReactiveFormsModule, RouterTestingModule], declarations: [ProductGroupDetailComponent], }).compileComponents(); }), ); beforeEach(() => { fixture = TestBed.createComponent(ProductGroupDetailComponent); component = fixture.componentInstance; fixture.detectChanges(); }); it('should create', () => { expect(component).toBeTruthy(); }); });