requestAnimationFrame + jest-electron causes unstable behavoir includes crush of elecron.
To replace requestAnimationFrame with setTimeout solves the problem for now.
solution
ts
OK
ts
resolved / Timeout - Async callback was not invoked within the 5000
ts
OK
ts
resolved / Timeout
ts
Unstable Behavoir: Fails as expected, crush, or Timeout
ts
This page is auto-translated from [/nishio/requestAnimationFrame + jest-electron = unstable behavoir](https://scrapbox.io/nishio/requestAnimationFrame + jest-electron = unstable behavoir) using DeepL. If you looks something interesting but the auto-translated English is not good enough to understand it, feel free to let me know at @nishio_en. I’m very happy to spread my thought to non-Japanese readers.