hadron-spectron
Installation
npm install --save-dev hadron-spectron
Usage
With Mocha, create an App instance in the before hook and launch it, and quit it in the after hook. For examples and more details, see Compass' functional test README.
const App selector = ; /** * The path to the root of the application, as well as the electron app. */const ROOT = path; { // Add custom commands to the client here.} { return ROOT;} { return app;} ;
chai-as-promised
support is provided automatically as a convenience.
License
Apache 2.0