Angular-cli and Karma with jQuery
问题 I have searched the web and could not find a solution for my current problem, even though seems to be a very common issue ... When running ng test I find that the Karma browser opens and shows nothing: Also, this is my console: In order to use jQuery, I have done the things explained here. This is my lib.ts (basically the same as vendor.ts ) : // jQuery declare let jQuery: any; // RxJS import 'rxjs/add/operator/map'; import 'rxjs/add/operator/mergeMap'; // Dependencies window['jQuery'] =