anguler test submit form

JavaScript
 fixture.debugElement
      .query(By.css('form'))
      .triggerEventHandler('ngSubmit', null);
Source

Also in JavaScript: