Skip to content

Is there a way to capture STDERR (either from console.error or process.stderr.write)? #218

@CMCDragonkai

Description

@CMCDragonkai

I have tests that tests code that prints log messages to STDERR.

STDERR is the standard way of outputting log messages on unix operating systems.

I'm wondering why includeConsoleOutput doesn't affect STDERR.

Can we get an option to also include STDERR? Maybe something like includeConsoleError?

I'd prefer that it also captured process.stderr.write, but could settle for console.error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions