import { async, ComponentFixture, TestBed } from '@angular/core/testing'; import { BlogComponent } from './blog.component'; describe('BlogComponent', () => { let component: BlogComponent; let fixture: ComponentFixture; beforeEach(async(() => { TestBed.configureTestingModule({ declarations: [ BlogComponent ] }) .compileComponents(); })); beforeEach(() => { fixture = TestBed.createComponent(BlogComponent); component = fixture.componentInstance; fixture.detectChanges(); }); it('should create', () => { expect(component).toBeTruthy(); }); });