I have an Angular libraries project with a component in there that includes this simple line for HTML:
<img src="../../../assets/logos/Logo.png" />
Any unit test that is run that includes this component shows an error in the browsers dev tools console. The error is:
Failed to load resource: the server responded with a status of 404 (Not Found) :9876/assets/logos/Logo.png:1
What can I do to suppress this error or stop the image loading?
The unit tests work fine with the error.