18

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?

James G.
  • 2,852
  • 3
  • 28
  • 52

1 Answers1

24

You want to call it with --single-run=false.

Try following this article: https://glebbahmutov.com/blog/debugging-karma-unit-tests/

Stout01
  • 1,116
  • 1
  • 10
  • 20