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

electron: Make electron a peerDependency #41

Closed rajivshah3 closed 5 years ago

rajivshah3 commented 5 years ago

electron is listed as a dependency of @jest-runner/electron. If a user is using another version of electron, they will end up with an unnecessary additional version of electron in their node_modules. This PR moves it to a peerDependency so that users know that they need electron, but not a specific version.

Fixes #31

aaronabramov commented 5 years ago

thanks @rajivshah3!