Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
isTouched: () => touched,
isBad: () => bad,
setDirty: sinon.spy(),
setTouched: sinon.spy(),
setBad: sinon.spy(),
register: sinon.spy(),
unregister: sinon.spy(),
validate: sinon.spy(),
getValidationEvent: () => 'formCtrlValidationEvent',
validation: {},
parent: null,
},
},
};
component = new AvCheckbox(props);
component.context = options.context;
});