kayahr / jest-electron-runner

Custom test runner for Jest that allows tests to be run in Electron environment
https://www.npmjs.com/package/@kayahr/jest-electron-runner
MIT License
19 stars 4 forks source link

Test freezes when using Jest options `--runInBand` or `--maxWorkers 1` #1

Closed kayahr closed 2 years ago

kayahr commented 2 years ago

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

der-ranjit commented 2 years ago

when will this be fixed? i'm waiting for at least a minute now!

byzanth commented 2 years ago

This is a critical issue for us. Please fix this fast!

kayahr commented 2 years ago

With co-workers like you who needs enemies...

kayahr commented 2 years ago

Fixed in v4.4.0