In Karma v5.0.9 server the “console.log” statements, inside the spec tests as well as in your web application code, are logged to the terminal running the karma server by default.

If you want to turn this off, you can set the “client => captureConsole” to false.

You can also change the log level by setting the “logLevel” setting e.g. “logLevel: config.LOG_INFO” to log info messages and above.




Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.