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