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

how to keep the electron window? #50

Closed hustcc closed 5 years ago

hustcc commented 5 years ago
require('electron').remote.getCurrentWindow().show();

add code above into test cases, can not work! The window flash and exit.