prc b6c02717e6 Upload complete no-internet building environment. | hai 1 ano | |
---|---|---|
.. | ||
node_modules | hai 1 ano | |
src | hai 1 ano | |
.eslintrc | hai 1 ano | |
.gitattributes | hai 1 ano | |
.npmignore | hai 1 ano | |
.travis.yml | hai 1 ano | |
CODE_OF_CONDUCT.md | hai 1 ano | |
COPYING | hai 1 ano | |
README.md | hai 1 ano | |
build.sh | hai 1 ano | |
package.json | hai 1 ano |
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