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
This all works fine but it is a bit annoying having three config sources. What I propose is the ability to pass configuration objects instead of paths in the "projects" array.
For example, we could express all three of the above configuration components with one file:
I like it 🙂 Would make custom runners even easier to use, and your example of an easy way of doing lint and test together seems really compelling for Jest as more than a test runner (combined with presets and we're really getting places).
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.
Do you want to request a feature or report a bug?
Feature.
A pattern I have been repeating recently is using the "projects" feature to run many runners in the same build. To do this I do:
package.json:
jest.eslint.config.js:
jest.test.config.js:
This all works fine but it is a bit annoying having three config sources. What I propose is the ability to pass configuration objects instead of paths in the
"projects"
array.For example, we could express all three of the above configuration components with one file:
jest.config.js:
The text was updated successfully, but these errors were encountered: