* Build an env dict that prepends `bindir` to PATH. Bun's spawnSync does NOT * pick up runtime mutations of `process.env.PATH` — the env must be passed * explicitly to each spawn for the override to take effect.
(bindir: string)
| 652 | * explicitly to each spawn for the override to take effect. |
| 653 | */ |
| 654 | function envWithBindir(bindir: string): NodeJS.ProcessEnv { |
| 655 | return { ...process.env, PATH: `${bindir}:${process.env.PATH || ""}` }; |
| 656 | } |
| 657 | |
| 658 | describe("planHostnameFoldMigration", () => { |
| 659 | let bindir: string; |
no outgoing calls
no test coverage detected