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