-
Notifications
You must be signed in to change notification settings - Fork 63
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Loading tests from URL - No test files found #214
Comments
Where are your tests at? When you run electron-mocha with the |
Thank you, the As for the tests, they are only available from a remote location. Ultimately they are on a private ip, but for now I'm doing a proof of concept where I'm simply hosting them If absolutely forced to, I could download them and make the file available for loading as a runtime argument, but I was hoping to simply load via URL, since it's the same data. Is there any way to do that, or must there always be a runtime argument? (the tests are to run in the Renderer) |
With |
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:Assumption
electron-mocha has been designed with the expectation that test files are always available locally.
Setup
Dependencies
Running
node_modules/.bin/electron-mocha --url=http://localhost:8891 --main=electron-main.js --renderer=true
Any guidance would be greatly appreciated!
The text was updated successfully, but these errors were encountered: