Monday, April 17, 2017

If you need to set breakpoints in a .spec Jasmine/Karma test for an Angular 2 component...

You can swap out using PhantomJS with Google Chrome (in karma.config.js change the browsers setting) and hit breakpoints there. It is either do that or start logging stuff to the console.

No comments:

Post a Comment