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