Skip to content

[Feature]: Increase Jest stack trace #13131

@calvintwr

Description

@calvintwr

🚀 Feature Proposal

Right now the error stack trace seems to be limited to 4.

Motivation

With option to increase stack trace, it is much easier for debugging.

Example

Provide a stackTraceLimit flag to allow user to specify. Like:

jest test --stackTraceLimit 20

Pitch

Because from time to time, we do need more stack trace to more expeditiously locate the errors.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions