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
I saw #4117 and #7496, which said that it should be fixed in #7498 (released in Jest 24.8.0), but apparently not in my use case where projects is set in root's jest.config.js.
kenrick95
changed the title
Jest mutli-project-runner still cannot handle exactly one project
Jest multi-project-runner still cannot handle exactly one project
Nov 23, 2019
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
I saw #4117 and #7496, which said that it should be fixed in #7498 (released in Jest 24.8.0), but apparently not in my use case where
projects
is set in root's jest.config.js.To Reproduce
Steps to reproduce the behavior:
See this repository
At the root's jest.config.js:
Specifying
projects
as only['packages/p1']
makes "jest-config" fails to readpackages/p1/jest.config.js
But if I specify
projects
as['packages/p1', 'packages/p2']
, both configs are successfully readExpected behavior
"jest-config" correctly read the configs when there is only one project specified in root's jest.config.js
Link to repl or repo (highly encouraged)
https://github.com/kenrick95/jest-multi-project-runner-config-repro
envinfo
System: OS: macOS 10.14.6 CPU: (8) x64 Intel(R) Core(TM) i7-4980HQ CPU @ 2.80GHz Binaries: Node: 12.5.0 - /usr/local/bin/node Yarn: 1.16.0 - /usr/local/bin/yarn npm: 6.9.0 - /usr/local/bin/npm npmPackages: jest: ^24.9.0 => 24.9.0
The text was updated successfully, but these errors were encountered: