Rev | Line | |
---|
[ec6ac45] | 1 | import { async, ComponentFixture, TestBed } from '@angular/core/testing';
|
---|
| 2 |
|
---|
| 3 | import { KoronaComponent } from './korona.component';
|
---|
| 4 |
|
---|
| 5 | describe('KoronaComponent', () => {
|
---|
| 6 | let component: KoronaComponent;
|
---|
| 7 | let fixture: ComponentFixture<KoronaComponent>;
|
---|
| 8 |
|
---|
| 9 | beforeEach(async(() => {
|
---|
| 10 | TestBed.configureTestingModule({
|
---|
[a8ccc2c] | 11 | declarations: [KoronaComponent]
|
---|
[ec6ac45] | 12 | })
|
---|
[a8ccc2c] | 13 | .compileComponents();
|
---|
[ec6ac45] | 14 | }));
|
---|
| 15 |
|
---|
| 16 | beforeEach(() => {
|
---|
| 17 | fixture = TestBed.createComponent(KoronaComponent);
|
---|
| 18 | component = fixture.componentInstance;
|
---|
| 19 | fixture.detectChanges();
|
---|
| 20 | });
|
---|
| 21 |
|
---|
| 22 | it('should create', () => {
|
---|
| 23 | expect(component).toBeTruthy();
|
---|
| 24 | });
|
---|
| 25 | });
|
---|
Note:
See
TracBrowser
for help on using the repository browser.