Skip to content

Loading tests from URL - No test files found #214

@adventurist

Description

@adventurist

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions