title: Maven run Angular tests during build
body: <p>I have a Maven based project with Spring in the backend and Angular 8 in the frontend, I would like to run the Angular unit tests automatically during the build.</p>
  
  <p>I have read that usually PhantomJS was used, but it is not maintained anymore, so I would like to see a complete, even though basic, example of an application that is able to run Angular tests during the build.</p>
  
  <p>I have also read that there is headless chrome available, but it is not clear to me how to wire things to make the tests run.</p>
  
  <p>Does anyone can provide me with an example, please?</p>