Reputation: 2904
I'm currently trying to implement jasmine testing using karma and webpack, and the code is getting transpiled incorrectly, but I can't see what it is transpiled down to because the browser closes as soon as it opens and finds the syntax error. How can I configure karma or jasmine to keep the browser window open after an error occurs?
Upvotes: 18
Views: 16901
Reputation: 1126
You want to call it with --single-run=false
.
Try following this article: https://glebbahmutov.com/blog/debugging-karma-unit-tests/
Upvotes: 24