UNPKG

novo-elements

Version:

Bullhorn's NOVO Element Repository for Angular 2

43 lines (36 loc) 1.13 kB
// NG2 import { TestBed, async } from '@angular/core/testing'; // App import { NovoLoadingElement, NovoSpinnerElement } from './Loading'; describe('Elements: NovoHeaderElement', () => { let fixture; let component; beforeEach(async(() => { TestBed.configureTestingModule({ declarations: [ NovoLoadingElement ] }).compileComponents(); fixture = TestBed.createComponent(NovoLoadingElement); component = fixture.debugElement.componentInstance; })); it('should initialize correctly', () => { expect(component).toBeTruthy(); }); }); describe('Elements: NovoSpinnerElement', () => { let fixture; let component; beforeEach(async(() => { TestBed.configureTestingModule({ declarations: [ NovoSpinnerElement ] }).compileComponents(); fixture = TestBed.createComponent(NovoSpinnerElement); component = fixture.debugElement.componentInstance; })); it('should initialize correctly', () => { expect(component).toBeTruthy(); }); });