sootsim detox

Drop-in Detox runner. Existing import from 'detox' suites run unchanged via a Jest moduleNameMapper rewrite — no code edits, no config churn. Auto-launches a sootsim shell if none is running.

terminal

sootsim detox [options] [-- <jest args>]

Options

flagdescription
--config <path>use a specific jest config instead of the default
--watchjest watch mode
--headedkeep the sootsim shell window visible
-t <pattern>pass a Jest —testNamePattern
--no-launchskip auto-launching a sootsim shell (manage it yourself)

Examples

terminal

sootsim detox
sootsim detox --watch
sootsim detox -t "login flow"
sootsim detox --headed

Drop-in Detox

sootsim detox runs your existing Detox test suite against sootsim with no code changes. It auto-launches a sootsim shell, sets up the Jest module mapping (^detox$sootsim/detox), and runs your tests.

terminal

bun sootsim detox # discover e2e/ and run
bun sootsim detox init # scaffold config + sample test
bun sootsim detox --watch # jest watch mode
bun sootsim detox -t "login" # filter by name

Users can also add preset: 'sootsim/detox/jest-preset' to their own Jest config to run tests via plain npx jest.