UNPKG

novo-elements

Version:

Bullhorn's NOVO Element Repository for Angular 2

30 lines (27 loc) 850 B
// NG2 import { TestBed, async } from '@angular/core/testing'; import { FormsModule } from '@angular/forms'; // App import { NovoCheckboxElement } from './Checkbox'; describe('Elements: NovoCheckboxElement', () => { let fixture; let component; beforeEach(async(() => { TestBed.configureTestingModule({ declarations: [ NovoCheckboxElement ], imports: [ FormsModule ], providers: [ // { provide: NovoLabelService, useClass: NovoLabelService } ] }).compileComponents(); fixture = TestBed.createComponent(NovoCheckboxElement); component = fixture.debugElement.componentInstance; })); it('should initialize correctly.', () => { expect(component).toBeDefined(); }); });