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