angular2-testing
angular2-testing copied to clipboard
Karma-client Chrome could not be started
I got an error: Error: XHR error (404 Not Found) loading http://localhost:9876/angular2/src/core/dom/browser_adapter.
The solution was to change karma-test-shim.js line 31 *from * System.import('angular2/src/core/dom/browser_adapter') *to * System.import('angular2/src/platform/browser/browser_adapter')
Hello I have the same issue but the path is correct. I don't really understand where I can ensure the localhost:9876 is well serving the angular2 browser_adapter... Any idea?
If you have problems with your paths you can config them on System.config:
System.config({
paths: {
'angular2/*': 'node_modules/angular2/*'
},
format: 'register',
defaultJSExtensions: true
});