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