You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug]: Multiple --projects specified causes --config to not be used #14586
I'm always a bit confused by the differentiation of project and global config 😅 Specifically, testTimeout seems very much like a project config thing (e.g. integration tests should probably have a higher timeout than unit tests). Regardless, this is obviously a bug!
Definitely would be up for it! At this point Jest seems like a pretty large project, if you have any pointers on where files to get started / where you think the problem is located, that would be most welcome. Otherwise I'll try to find time to start digging around at some point and see where I wind up.
I came across this while troubleshooting similar behavior, specifically behavior 4 in the description:
yarn jest --projects=src/project1 --showConfig shows global config not set (no testTimeout specified)
I'm not clear whether @AndrewSouthpaw or @SimenB are saying this is part of the bug, but for me it's quite surprising behavior. Other flags that have analogues in the config file (e.g. --globalSetup, --testTimeout) don't behave this way.
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Please note this issue tracker is not a help forum. We recommend using StackOverflow or our discord channel for questions.
Activity
github-actions commentedon Nov 1, 2023
AndrewSouthpaw commentedon Nov 11, 2023
github-actions commentedon Dec 11, 2023
AndrewSouthpaw commentedon Dec 11, 2023
github-actions commentedon Jan 10, 2024
AndrewSouthpaw commentedon Jan 10, 2024
3 remaining items
github-actions commentedon Mar 11, 2024
AndrewSouthpaw commentedon Mar 12, 2024
SimenB commentedon Mar 12, 2024
I'm always a bit confused by the differentiation of project and global config 😅 Specifically,
testTimeoutseems very much like a project config thing (e.g. integration tests should probably have a higher timeout than unit tests). Regardless, this is obviously a bug!Would you be up for sending a PR?
AndrewSouthpaw commentedon Apr 29, 2024
Definitely would be up for it! At this point Jest seems like a pretty large project, if you have any pointers on where files to get started / where you think the problem is located, that would be most welcome. Otherwise I'll try to find time to start digging around at some point and see where I wind up.
jonscheiding commentedon Oct 28, 2025
I came across this while troubleshooting similar behavior, specifically behavior 4 in the description:
I'm not clear whether @AndrewSouthpaw or @SimenB are saying this is part of the bug, but for me it's quite surprising behavior. Other flags that have analogues in the config file (e.g.
--globalSetup,--testTimeout) don't behave this way.SimenB commentedon Aug 28, 2026
https://github.com/jestjs/jest/releases/tag/v30.5.0
github-actions commentedon Sep 28, 2026
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Please note this issue tracker is not a help forum. We recommend using StackOverflow or our discord channel for questions.