title: Is there any shortcut/command available to skip karma tests? like -DskipTests for Maven
body: <p>I have created Maven Web application and I generally use </p>
  
  <pre><code>mvn clean install
  </code></pre>
  
  <p>So it execute <code>npm install</code> command as its one of the execution goal and then it run karma tests
  So my question is, is there any shortcut or command available to skip karma tests conditionally?
  Like we have -DskipTests for Maven project to skip tests.</p>
  
  <p>Off course we can simply remove the <code>npm run test</code> from the <code>package.json</code> file but I want to skip tests using command.</p>
  
  <p><strong>pom.xml</strong></p>
  
  <p><code></p>
  
  <pre><code>&lt;build&gt;
      &lt;plugins&gt;
          &lt;plugin&gt;
              &lt;groupId&gt;com.github.eirslett&lt;/groupId&gt;
              &lt;artifactId&gt;frontend-maven-plugin&lt;/artifactId&gt;
              &lt;version&gt;1.5&lt;/version&gt;
              &lt;executions&gt;
                  &lt;execution&gt;
                      &lt;id&gt;npm install&lt;/id&gt;
                      &lt;goals&gt;
                          &lt;goal&gt;npm&lt;/goal&gt;
                      &lt;/goals&gt;
                      &lt;configuration&gt;
                          &lt;workingDirectory&gt;web/app&lt;/workingDirectory&gt;
                          &lt;installDirectory&gt;build&lt;/installDirectory&gt;
                          &lt;arguments&gt;install
                              --registry=${npm.registry}
                          &lt;/arguments&gt;
                      &lt;/configuration&gt;
                  &lt;/execution&gt;
              &lt;/executions&gt;
          &lt;/plugin&gt;
      &lt;/plugins&gt;
  &lt;/build&gt;
  </code></pre>
  
  <p>
  </code></p>