Skip to content

Option to surpress console.log #744

Closed

Description

@binarykitchen

When I run my e2e tests with PhantomJS over Karma I see lots of console outputs. They are good for development but I do not want to pollute my screen with them while running tests.

Can you please add an option to suppress console.log ?

Activity

  1. vojtajina commented on Nov 16, 2013

    @vojtajina
    Contributor

    That might be client.captureConsole (true by default).

  2. jhchen commented on Dec 5, 2013

    @jhchen

    Can this be set in the config? I added captureConsole: false and it did not work. I also grepped the 0.11.9 code and there's no reference to captureConsole.

  3. vojtajina commented on Dec 7, 2013

    @vojtajina
    Contributor

    This is not implemented yet, this issue is a feature request.

    This is however pretty simple to implement. Anybody willing to give it a try?

  4. added a commit that references this issue on Dec 7, 2013
    4734962
  5. sedghi commented on Mar 4, 2022

    @sedghi

    is it possible to only suppress console.warn?

  6. jginsburgn commented on Mar 4, 2022

    @jginsburgn

    is it possible to only suppress console.warn?

    You could probably use grep to filter out all logs with the warn tag.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions