title: How do I turn off source maps for Angular 6 ng test?
body: <p>I am trying to turn off sourcemaps for my tests in Angular 6. I know the sourcemaps switch has been removed, e.g., <code>ng test --sourcemaps=false</code>.</p>
  <p>I have tried modifying my tsconfig file:</p>
  <pre><code>{
    &quot;extends&quot;: &quot;../tsconfig.json&quot;,
    &quot;compilerOptions&quot;: {
    ...
    &quot;sourceMap&quot;: false
  },
  </code></pre>
  <p>As referenced by the angular.json test -&gt; configuration block:</p>
  <pre><code>&quot;test&quot;: {
    ...
    &quot;options&quot;: {
      ...
      &quot;tsConfig&quot;: &quot;src/tsconfig.spec.json&quot;,
  </code></pre>
  <p>The source maps are still being generated.</p>