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