Closed Jacobtmaas closed 6 years ago
May have found my own answer.
This seems related to how electron-mocha handles electron See Here. This can be solved by explicitly setting the path to electron before running electron-mocha:
ELECTRON_PATH=node_modules/.bin/electron
It's seems like from #65 and #74 that using electron-compile alongside electron-mocha is possible. The problem is that I can't seem to get electron-compile to initialize while running electron-mocha tests in --renderer. Am I missing something, or am I simply misunderstanding electron-compile's capabilities?