I'll try to see if I can publish a repo with a simple reproduction... but as the title says, I get failures when the runner launches Electron that indicate the app could not be found inside a project using Yarn v2 (pnp).
I unplugged the runner and modified the child process spawn from process.execPath to yarn with the first argument being node (so... yarn node ...). That got further, and Electron started. However, it then failed trying to import from the @jest-runner/rpc package.
It would be great if this runner could support Yarn v2.
I'll try to see if I can publish a repo with a simple reproduction... but as the title says, I get failures when the runner launches Electron that indicate the app could not be found inside a project using Yarn v2 (pnp).
I unplugged the runner and modified the child process spawn from
process.execPath
toyarn
with the first argument beingnode
(so...yarn node ...
). That got further, and Electron started. However, it then failed trying to import from the@jest-runner/rpc
package.It would be great if this runner could support Yarn v2.