Issue getting Karma 1.1.0 and Angular 2 tests working
问题 I use Karma 1.1.0. Here is my karma.shim: 'use strict'; // Tun on full stack traces in errors to help debugging Error.stackTraceLimit = Infinity; jasmine.DEFAULT_TIMEOUT_INTERVAL = 1000; // // Cancel Karma's synchronous start, // // we will call `__karma__.start()` later, once all the specs are loaded. __karma__.loaded = function() {}; var map = { 'app': 'base/app', 'rxjs': 'base/node_modules/rxjs', '@angular': 'base/node_modules/@angular' }; // packages tells the System loader how to load