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