Skip to content

Commit

Permalink
Run tests during frontend Maven build
Browse files Browse the repository at this point in the history
  • Loading branch information
yurloc committed Apr 10, 2019
1 parent af8df6a commit 29caf92
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions optaweb-vehicle-routing-frontend/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,20 @@
<arguments>install</arguments>
</configuration>
</execution>
<execution>
<id>npm test</id>
<phase>test</phase>
<goals>
<goal>npm</goal>
</goals>
<configuration>
<arguments>test</arguments>
<environmentVariables>
<!-- Prevent CRA scripts from running Jest in watch mode -->
<CI>true</CI>
</environmentVariables>
</configuration>
</execution>
<execution>
<id>npm run build</id>
<goals>
Expand Down

0 comments on commit 29caf92

Please sign in to comment.