MCPcopy Index your code
hub / github.com/anaisbetts/xvfb-maybe

github.com/anaisbetts/xvfb-maybe @v0.2.1

Chat with this repo
repository ↗ · DeepWiki ↗ · release v0.2.1 ↗ · + Follow
8 symbols 13 edges 2 files 0 documented · 0% 10 cross-repo links
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

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

Core symbols most depended-on inside this repo

spawn
called by 3
src/xvfb-maybe.js
release
called by 3
src/xvfb-maybe.js
statSyncNoException
called by 2
src/find-actual-executable.js
showHelp
called by 1
src/xvfb-maybe.js
main
called by 1
src/xvfb-maybe.js
runDownPath
called by 0
src/find-actual-executable.js
findActualExecutable
called by 0
src/find-actual-executable.js
bufHandler
called by 0
src/xvfb-maybe.js

Shape

Function 8

Languages

TypeScript100%

Modules by API surface

src/xvfb-maybe.js5 symbols
src/find-actual-executable.js3 symbols

For agents

$ claude mcp add xvfb-maybe \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page