form submition angular test case code example
Example: anguler test submit form
fixture.debugElement
.query(By.css('form'))
.triggerEventHandler('ngSubmit', null);
fixture.debugElement
.query(By.css('form'))
.triggerEventHandler('ngSubmit', null);