How do you tell Karma to keep browser window open if tests fail?

11,999

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

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

Share:
11,999
James G.
Author by

James G.

I learned to program to start my own business. Since then I've worked in various jobs in the web development space and in my free time you can catch me making cool things on the side. I've learned a lot, I still have a lot to learn.

Updated on June 07, 2022

Comments

  • James G.
    James G. about 2 years

    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?