When running Jest with only a single concurrent process (By using --runInBand or --maxWorkers 1) then the second test suite run with jest-electron-runner just hangs. It works when using at least two workers.
This can even be reproduced with the jest-electron-runner tests itself. Simply create a second test suite (Duplicating the existing one) and then run npm run check -- --maxWorkers 1
When running Jest with only a single concurrent process (By using
--runInBand
or--maxWorkers 1
) then the second test suite run with jest-electron-runner just hangs. It works when using at least two workers.This can even be reproduced with the jest-electron-runner tests itself. Simply create a second test suite (Duplicating the existing one) and then run
npm run check -- --maxWorkers 1