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
My project is currently configured using multiple Lerna packages, each with their own jest.config.js setup.
If I copy and paste the wallaby.js config to each package root directory and select the configuration every time I change packages, everything works well.
However, this becomes very tiresome with the more packages I add to the project.
Instead I'd prefer to have a single master wallaby.js configuration in the project root and load all the configured packages (including their independent jest.config.js files) at once, so that I don't have to keep switching configurations.
To get Wallaby working, Jest must be installed in the mono-repo root. You must also configure jest to run from your mono-repo root (i.e. from the CLI with npx jest). To do this:
Install jest in your <root> directory.
Configure jest to run for your entire mono-repo using npx jest from the CLI at the mono-repo root. For example:
My project is currently configured using multiple Lerna packages, each with their own
jest.config.js
setup.If I copy and paste the
wallaby.js
config to each package root directory and select the configuration every time I change packages, everything works well.However, this becomes very tiresome with the more packages I add to the project.
Instead I'd prefer to have a single master
wallaby.js
configuration in the project root and load all the configured packages (including their independentjest.config.js
files) at once, so that I don't have to keep switching configurations.Experimenting with the config, I was unable to achieve this.
The text was updated successfully, but these errors were encountered: