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