mirror of
https://github.com/pnpm/pnpm.git
synced 2026-07-21 05:02:30 -04:00
The pnpm CLI e2e tests already exercise the bundled `pnpm.mjs` end-to-end, so they can serve as a parity probe for the Rust port too. A new `PNPM_E2E_BIN` env var swaps the spawned binary in `execPnpm`/`execPnpmSync`/ `spawnPnpm`, and a `skipIfPacquet` helper gates the per-test cases that the port doesn't yet pass. Every failing test in the existing suite was marked from a local sweep against `target/release/pacquet`; pacquet-CI gets a new job that builds the binary, builds the pnpm bundle, and runs jest with the env var set so future regressions surface in CI. Written by an agent (Claude Code, claude-opus-4-7).