prc b6c02717e6 Upload complete no-internet building environment. | vor 1 Jahr | |
---|---|---|
.. | ||
node_modules | vor 1 Jahr | |
src | vor 1 Jahr | |
.eslintrc | vor 1 Jahr | |
.gitattributes | vor 1 Jahr | |
.npmignore | vor 1 Jahr | |
.travis.yml | vor 1 Jahr | |
CODE_OF_CONDUCT.md | vor 1 Jahr | |
COPYING | vor 1 Jahr | |
README.md | vor 1 Jahr | |
build.sh | vor 1 Jahr | |
package.json | vor 1 Jahr |
This package runs an arbitrary executable / args under xvfb-run
if the
platform is Linux and DISPLAY isn't set. This is super useful for making
Electron unit tests run correctly in CI environments while still working
locally
## On Windows or OS X, this just invokes electron-mocha
## On Linux, if we are in a headless environment, this will be equivalent
## to xvfb-run electron-mocha ./test/*.js
xvfb-maybe electron-mocha ./test/*.js