I found the answer!
By default, karma settings in angular-cli (webpack) do not serve your data folder by default, but itโs very easy to add (after sifting the documentation)
below is a screenshot of my results and the code I added to make it work

On the left you can see how my image of Billy Mays is now filed, on the right, if you look at the json file section, I added the following:
{ pattern: './src/assets/**', watched: false, included:false, nocache:false, served:true }
I also added the proxies property to take in served content (the default is http: // localhost: [karma port number] / base
proxies: { '/assets/': '/base/src/assets/' },
By specifying /assets/ as the folder proxy, karma uses the localhost:[karma port number]/assets path localhost:[karma port number]/assets instead of the default value.
I am happy that I was able to answer my question, and I hope that this will help some people starting with angular-cli!
ProgrammerInProgress
source share