These are chat archives for systemjs/systemjs

12th
Oct 2016
Tjaart van der Walt
@tjaartvdwalt
Oct 12 2016 03:24
any ideas on how to import images in SFX bundles? The image plugin does not seem to support this.
Mark Bridgett
@brid
Oct 12 2016 13:08

Having a real nightmare getting karma/jasmine to work with angular 2 on a MEAN stack project.
When i fire up karma i'm getting

12 10 2016 13:57:39.680:WARN [web-server]: 404: /node_modules/@angular/core/testing.js
12 10 2016 13:57:39.683:WARN [web-server]: 404: /node_modules/@angular/platform-browser-dynamic/testing.js

which relates to the two entries in my karma-test-shim

System.import('@angular/core/testing'),
System.import('@angular/platform-browser-dynamic/testing')

In my System.config() i have an entry for the map to my @angular stuff:

'@angular': 'node_modules/@angular'
Anything obvious I'm missing that might be the reason karma is giving me a 404 when it tries to load those files? I have everything npm installed, so they exist on the file system of course.