Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

console.log doesn't work in terminal (karma 1.1.0) #67

Closed
ovrmrw opened this issue Jun 30, 2016 · 1 comment
Closed

console.log doesn't work in terminal (karma 1.1.0) #67

ovrmrw opened this issue Jun 30, 2016 · 1 comment
Assignees

Comments

@ovrmrw
Copy link

ovrmrw commented Jun 30, 2016

I'm using Karma v1.1.0, and now I have a trouble.
on v0.13.22 ... console.log to show log in terminal works.
on v1.1.0 ... doesn't work.

I think a config below is causing this trouble.
https://github.com/karma-runner/karma/blob/master/lib/config.js#L242-L246

The code below is handling "browserConsoleLogOptions".
https://github.com/karma-runner/karma/blob/master/lib/reporters/base.js#L5

sorry I don't know how to make a reporter plugin. but if this help you, I'm glad.

@4kochi 4kochi self-assigned this Jun 30, 2016
@4kochi
Copy link
Collaborator

4kochi commented Jun 30, 2016

This is caused by a bug in karma. I opened a pull request where you can track the progress.

karma-runner/karma#2220

@4kochi 4kochi closed this as completed Jun 30, 2016
robertknight added a commit to hypothesis/client that referenced this issue Jul 4, 2016
Work around a bug in Karma 1.10 [1] which caused console messages from
tests not to be propagated to the terminal.

A fix has been accepted upstream and this workaround can be removed
when the next release of Karma is made.

[1] See litixsoft/karma-mocha-reporter#67
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants