jest-electron-runner
jest-electron-runner copied to clipboard
The "options.context" property must be an vm.Context.
TypeError: The "options.context" property must be an vm.Context. Received an instance of Object
at Runtime.loadEsmModule (../../node_modules/.pnpm/[email protected]/node_modules/jest-runtime/build/index.js:516:20)
Getting this error when using NODE_OPTIONS=--experimental-vm-modules
.
It could be a non-issue as electron doesn't really support ESM yet (although latest version starts supporting it), but opening this issue for reference.