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

change autoRun default #906

Merged
merged 3 commits into from
Sep 13, 2022

Conversation

connectdotz
Copy link
Collaborator

This is a breaking change, mainly to disable "full test run at start-up" as the default behavior. This should improve most projects' start-up time, especially for big projects.

Summary of the change:

  • introduce some short-hand to make configuring jest.autoRun easier.
  • change default jest.autoRun to be {watch: true} instead of {watch: true, onStartup: ["all-tests"]}.
  • updated README

Note, This only impacts users without the existing jest.autoRun setting. People with "jest.runAllTestsFirst": true will continue to use the "legacy" autoRun.

@coveralls
Copy link

coveralls commented Sep 13, 2022

Pull Request Test Coverage Report for Build 3047429216

  • 26 of 26 (100.0%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.03%) to 95.614%

Totals Coverage Status
Change from base Build 3025065977: 0.03%
Covered Lines: 2697
Relevant Lines: 2762

💛 - Coveralls

@connectdotz connectdotz merged commit 48c0423 into jest-community:master Sep 13, 2022
@connectdotz connectdotz deleted the change-autoRun-default branch September 13, 2022 18:43
legend1202 pushed a commit to legend1202/vscode-jest that referenced this pull request Jun 18, 2023
* change autoRun default

* update autoRun readme

* remove unnecessary "null" setting types in package.json
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants