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

disable hardware acceleration so tests are deterministic but let user enable it again on demand with environment variable #84

Open kayahr opened 3 years ago

kayahr commented 3 years ago

This PR disables hardware acceleration by default so tests are deterministic and doesn't produce different results on different hardware. If user needs hardware acceleration it can be enabled again with the environment variable JEST_ELECTRON_RUNNER_ENABLE_HARDWARE_ACCELERATION

Closes #82