The runner does not seem to work on Electron 12. By using
JEST_ELECTRON_RUNNER_RENDERER_THREAD_DEBUG_PORT=9222 jest
and inspecting the error, the problems seem to be in the new default settings and security policy of Electron 12 (nodeIntegration also requires contextIsolation=false but contextIsolation is true by default in Electron 12).
The runner does not seem to work on Electron 12. By using
and inspecting the error, the problems seem to be in the new default settings and security policy of Electron 12 (
nodeIntegration
also requirescontextIsolation=false
butcontextIsolation
istrue
by default in Electron 12).