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 updated 9y ago★ 1381 open issues

Browse by type

Functions 8 Types & classes 0
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

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