26 lines
674 B
TypeScript
26 lines
674 B
TypeScript
|
import {async, ComponentFixture, TestBed} from '@angular/core/testing';
|
||
|
|
||
|
import {ProductDetailComponent} from './product-detail.component';
|
||
|
|
||
|
describe('ProductDetailComponent', () => {
|
||
|
let component: ProductDetailComponent;
|
||
|
let fixture: ComponentFixture<ProductDetailComponent>;
|
||
|
|
||
|
beforeEach(async(() => {
|
||
|
TestBed.configureTestingModule({
|
||
|
declarations: [ProductDetailComponent]
|
||
|
})
|
||
|
.compileComponents();
|
||
|
}));
|
||
|
|
||
|
beforeEach(() => {
|
||
|
fixture = TestBed.createComponent(ProductDetailComponent);
|
||
|
component = fixture.componentInstance;
|
||
|
fixture.detectChanges();
|
||
|
});
|
||
|
|
||
|
it('should create', () => {
|
||
|
expect(component).toBeTruthy();
|
||
|
});
|
||
|
});
|