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
When projects is set to a single project, the configuration for the project will not load.
However, when projects is set to multiple projects, the configuration will load.
To Reproduce
# In <rootDir>/jest.config.js
{
projects: ["<rootDir>/project1/"]
}
# running jest
jest --showConfig
# configuration at <rootDir>/project1/jest.config.js **will not** load
However
# In <rootDir>/jest.config.js
{
projects: [
"<rootDir>/project1/",
"<rootDir>/project2/"
]
}
# both configurations at# <rootDir>/project1/jest.config.js# and <rootDir>/project2/jest.config.js **will** load
Expected behavior
Configuration loading works even if projects is set to only a single project
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.
🐛 Bug Report
When
projects
is set to a single project, the configuration for the project will not load.However, when
projects
is set to multiple projects, the configuration will load.To Reproduce
However
Expected behavior
Configuration loading works even if
projects
is set to only a single projectThe text was updated successfully, but these errors were encountered: