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

Expose jest's slowTestThreshold option #9883

Open
dargue3 opened this issue Oct 24, 2020 · 0 comments
Open

Expose jest's slowTestThreshold option #9883

dargue3 opened this issue Oct 24, 2020 · 0 comments

Comments

@dargue3
Copy link

dargue3 commented Oct 24, 2020

Hello CRA, thanks for bringing the new update :)

I often do large integration tests in lieu of unit testing, and as such, test suites that test an entire page often take around 15 seconds.

Jest 26.2 released a feature called slowTestThreshold where you could set a threshold for when jest would highlight the run time of your tests as red. View the docs here

This option is unfortunately not green-lighted by CRA's out of the box jest setup. I would love to have this as an option exposed from CRA's package.json 🙏 If this is something that's first-issue-level and I was pointed in the right direction, I could manage making a PR.

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

1 participant