facebook-atom / jest-electron-runner

custom test runner for Jest that allows tests to be run in Electron environment
MIT License
189 stars 33 forks source link

Fix electron runner on Windows #7

Closed streeter closed 5 years ago

streeter commented 5 years ago

On Windows, we cannot run the electron binary since it is using a shebang, and those aren't supported 😞

We could use something like cross-spawn or we can use node directly to execute the script.

aaronabramov commented 5 years ago

hey! thanks for the PR! i jest landed https://github.com/facebook-atom/jest-electron-runner/pull/11 that uses execPath i'll release a new patch in a few

aaronabramov commented 5 years ago

just published @jest-runner/electron@0.1.0

streeter commented 5 years ago

Great, thanks!