member_webapp/@overflow/target/component/target-detail.component.spec.ts

26 lines
658 B
TypeScript
Raw Normal View History

2018-04-06 06:59:49 +00:00
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
2018-06-21 11:10:18 +00:00
import { TargetDetailComponent } from './detail.component';
2018-04-06 06:59:49 +00:00
2018-04-06 11:02:18 +00:00
describe('DetailComponent', () => {
2018-06-21 11:10:18 +00:00
let component: TargetDetailComponent;
let fixture: ComponentFixture<TargetDetailComponent>;
2018-04-06 06:59:49 +00:00
beforeEach(async(() => {
TestBed.configureTestingModule({
2018-06-21 11:10:18 +00:00
declarations: [ TargetDetailComponent ]
2018-04-06 06:59:49 +00:00
})
.compileComponents();
}));
beforeEach(() => {
2018-06-21 11:10:18 +00:00
fixture = TestBed.createComponent(TargetDetailComponent);
2018-04-06 06:59:49 +00:00
component = fixture.componentInstance;
fixture.detectChanges();
});
it('should create', () => {
expect(component).toBeTruthy();
});
});