UNPKG

novo-elements

Version:

Bullhorn's NOVO Element Repository for Angular 2

28 lines (24 loc) 794 B
// NG2 import { TestBed, async } from '@angular/core/testing'; // App import { NovoSliderElement } from './Slider'; import { NovoLabelService } from '../../services/novo-label-service'; describe('Elements: NovoSliderElement', () => { let fixture; let component; beforeEach(async(() => { TestBed.configureTestingModule({ declarations: [ NovoSliderElement ], providers: [ { provide: NovoLabelService, useClass: NovoLabelService } ] }).compileComponents(); fixture = TestBed.createComponent(NovoSliderElement); component = fixture.debugElement.componentInstance; })); it('should initialize correctly', () => { expect(component).toBeTruthy(); }); });