jest-runner-mocha
jest-runner-mocha copied to clipboard
bug: Use of worker-farm breaks jest's --runInBand & --max-concurrent-workers options
Usage of worker-farm in a jest runner:
- breaks jest's
--runInBandoption - breaks jest's
--max-concurrent-workersoption jest-workeris already handling the concurrency behavior- the spawning of child.processes will perplex between
jest-workerandworker-farm. - this actually makes it very dangerous for CI environments
Instead, i recommend:
- dropping usage of
worker-farmall together - use the same approach which
jest-runner-eslintis using
I agree, we should just migrate to use create-jest-runner cc: @SimenB
Yup yup! Really straight forward to use 🙂