The Jest suite you already have, on a runner built to be faster: same config, same command line, same matchers, same snapshots.
provino jest runs a Jest project as it is: the same jest.config and Jest's flags, matchers and mocks. It writes snapshot files byte for byte as Jest does, and exits with Jest's exit codes. There's nothing to migrate: you change the command. Underneath, it's built not to redo work for every test file. Why Provino →
$ pnpm exec provino jest
✅ src/cart.test.ts · 3 tests · 6ms
✅ src/checkout.test.ts · 1 test · 1ms
🎉 4 tests passed in 2 files · 44ms
🐢 slowest: src/cart.test.ts 6ms · src/checkout.test.ts 1ms
snapshots: 1 passedOn a terminal, Provino draws its own live view while the run goes. A pipe, CI, an editor, an AI agent, --verbose and --watch get Jest's text, byte for byte. The output, its flags and the HTML report →
| Your project has | Under provino jest |
|---|---|
jest.config.ts (or .js, .json, a jest key) |
Read and validated as Jest reads it, presets and projects included |
jest --ci -t "checkout" |
provino jest --ci -t "checkout" |
expect, jest.fn, jest.mock |
Jest's matchers and mock semantics, hoisting included |
__snapshots__/*.snap |
Read and written byte for byte as Jest writes them |
babel-jest, ts-jest, @swc/jest |
Run as Jest runs them; with none, Oxc compiles TypeScript and JSX |
- 🔁 A drop-in command. Jest's command line and config, as they are. A flag Provino can't run yet is refused by name, never silently ignored.
- 🧪 Checked against the real Jest. Behaviour is checked against goldens recorded from Jest 30.5, and against real Jest running beside it.
- 📸 Snapshots byte for byte, with
-u,--ciand obsolete snapshots handled as Jest handles them. - 🧩 Your setup, as it is:
projects,moduleNameMapper, your transformers,jsdomand custom environments, andglobalSetup. - ✏️ Your editor, vscode-jest and neotest-jest, with
provino jestas the Jest command. - 🦥 Lazy variables, RSpec style:
import { lazy } from 'provino'for values that are built on first read, memoized per test and overridden in a nesteddescribe. Lazy variables → - 📊 Coverage with
--coverage: Istanbul or V8, Jest's reports and thresholds. - 🧵 Sharding that balances: Jest's split, or by recorded time.
- 🤖 Output for people, CI and agents: Provino's own live view in a terminal (
--treeand--mapadd a folder tree and a status map), Jest's text byte for byte wherever a machine reads it, annotations on GitHub Actions, and a compact report under an AI agent, and a single-file HTML report.
- Node.js 22.15 or later, or 24 or later (24 recommended).
- A Jest project. Provino matches Jest 30.5's behaviour.
import { lazy } from 'provino'
const $ = lazy.let('user', () => ({ name: 'Ada' })).let('greeting', ({ user }) => `hello ${user.name}`)
describe('greeting', () => {
it('reads what it needs', () => expect($.greeting).toBe('hello Ada'))
describe('for Grace', () => {
$.override('user', () => ({ name: 'Grace' }))
it('sees the override', () => expect($.greeting).toBe('hello Grace'))
})
})Provino is a release candidate. Add it to your Jest project with its Jest dialect (with -w at a pnpm workspace root):
pnpm add -D provino@rc @provino/dialect-jest@rcA project that uses only provino.config and import … from 'provino' needs provino alone, and installs nothing from Jest.
pnpm exec provino jest --listTests # the files it would run
pnpm exec provino jest src/cart.test.ts # one file first
pnpm exec provino jest # the whole suite| Command | Description |
|---|---|
provino jest [flags] [patterns] |
Run a Jest project, with Jest's command line and exit codes |
provino jest --listTests |
List the test files without running them |
provino jest --showConfig |
Print the config as Provino resolved it |
provino jest --clearCache |
Remove Provino's cache |
provino jest --shard=i/n |
Run one shard; add --timings <file> to cut by recorded time |
provino jest --watch |
Rerun the tests a change reaches; --watchAll reruns them all |
provino jest -o |
Run only the tests for files changed since the last commit |
provino --help |
Every command and option |
provino vitest comes next. Watch mode (--watch, --watchAll) works, except that --coverage, --collectTests and --detectOpenHandles are refused by name with it, and coverage from saved reports (--merge-reports) is planned. Jest compatibility has the full list. If a test passes under Jest and fails under Provino, that's a bug: please open an issue.
- Why Provino: the problem, the goal, and the go/no-go bar.
- Jest compatibility: what works, and every gap.
- Output: the terminal view, its flags, and the HTML report.
- Lazy variables:
lazy, scopes, shared examples. - How it works
- Troubleshooting
Contributions are welcome! See CONTRIBUTING.md to get started.
MIT © Tyler Robertson @ Pixel Perfect Software Inc.. See LICENSE for details, and THIRD_PARTY_NOTICES.md for the code Provino includes from Jest, Vitest and others.
