Angular2 Jasmine Test Image Source
<p>I have a component with an image in template</p>

<pre><code> &lt;div class="logo"&gt;&lt;img src="../images/logo.png"/&gt;&lt;/div&gt;
</code></pre>

<p>When running karma task it throws such error</p>

<pre><code>Uncaught Error: Cannot find module "../images/logo.png"
</code></pre>

<p>To mention that app renders the image fine , only karma is complaining.</p>

<p>Any advice will be appreciated.</p>