Closed blopez2010 closed 4 years ago
Thanks for reporting the problem. We have added support for using jest-runner-groups
. This is available in the latest version of Wallaby core, v1.0.863. Wallaby should update automatically with the latest version within a few minutes after starting your editor. If it does not, or you want to update sooner, you may force a core update.
Please note that while Wallaby now supports using jest-runner-groups, the way that Wallaby integrates with jest, and the way that the jest-runner-groups works means that it is not possible to tell wallaby to only run one group of tests. The jest-runner-groups assumes that tests are launched using the jest CLI and using the process argv
to determine which groups to run.
If you would like Wallaby to only run a subset of your tests (e.g. for one group) then you may override automatic configuration defaults and add the tests you do not want to run in the tests
setting of your overridden configuration.
Issue description or question
Because of the need to run unit tests and integration tests with Jest, we have to make use of this package
jest-runner-groups
(https://www.npmjs.com/package/jest-runner-groups).After adding the specified configuration, Wallaby stops working.
We have to add the following lines to the
jest.config.js
:After running WallabyJs we have this error in the console:
If I delete those lines and rerun WallabyJs, everything works as expected.
Current jest.config.js file
Current package.json