electron-mocha
electron-mocha copied to clipboard
Loading tests from URL - No test files found
Issue
I am serving mocha tests that I wish to consume using Electron's loadURL function.
When I attempt to do this using electron-mocha, I get this error:
Error: No test files found: "test"
Assumption
electron-mocha has been designed with the expectation that test files are always available locally.
Setup
Dependencies
...
"electron": "^32.0.1",
"electron-mocha": "^13.0.0"
...
Running
node_modules/.bin/electron-mocha --url=http://localhost:8891 --main=electron-main.js --renderer=true
Any guidance would be greatly appreciated!