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