novo-elements
Version:
Bullhorn's NOVO Element Repository for Angular 2
19 lines (14 loc) • 405 B
text/typescript
// APP
import { TimeControl } from './TimeControl';
describe('Control: TimeControl', () => {
let control;
beforeEach(() => {
control = new TimeControl({});
});
it('should have the right control type', () => {
expect(control.controlType).toEqual('time');
});
it('should set the validators', () => {
expect(control.validators.length).toBe(0);
});
});