import { async, ComponentFixture, TestBed } from '@angular/core/testing'; import { SimpleLoaderComponent } from './simple-loader.component'; describe('SimpleLoaderComponent', () => { let component: SimpleLoaderComponent; let fixture: ComponentFixture; beforeEach(async(() => { TestBed.configureTestingModule({ declarations: [ SimpleLoaderComponent ] }) .compileComponents(); })); beforeEach(() => { fixture = TestBed.createComponent(SimpleLoaderComponent); component = fixture.componentInstance; fixture.detectChanges(); }); it('should not be created', () => { expect(component).toBeNull(); }); });