prc b6c02717e6 Upload complete no-internet building environment. 1 рік тому
..
node_modules b6c02717e6 Upload complete no-internet building environment. 1 рік тому
src b6c02717e6 Upload complete no-internet building environment. 1 рік тому
.eslintrc b6c02717e6 Upload complete no-internet building environment. 1 рік тому
.gitattributes b6c02717e6 Upload complete no-internet building environment. 1 рік тому
.npmignore b6c02717e6 Upload complete no-internet building environment. 1 рік тому
.travis.yml b6c02717e6 Upload complete no-internet building environment. 1 рік тому
CODE_OF_CONDUCT.md b6c02717e6 Upload complete no-internet building environment. 1 рік тому
COPYING b6c02717e6 Upload complete no-internet building environment. 1 рік тому
README.md b6c02717e6 Upload complete no-internet building environment. 1 рік тому
build.sh b6c02717e6 Upload complete no-internet building environment. 1 рік тому
package.json b6c02717e6 Upload complete no-internet building environment. 1 рік тому

README.md

xvfb-maybe

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

Usage:

## 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