Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion tests/integration/cli-flag-shapes.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,11 @@
*/

import { describe, test, expect } from 'bun:test';
import { execSync, spawnSync } from 'child_process';
// Use the `node:` prefix to bypass bun module mocks. Other test files
// (e.g. pr-merge-github.test.ts) mock 'child_process' to override execSync,
// and that mock leaks across the shared test-runner module space — without
// the prefix, `spawnSync` resolves to the partial mock and is undefined.
import { execSync, spawnSync } from 'node:child_process';

// --- Helper ----------------------------------------------------------------
// `gh` and `glab` may write `--help` output to either stdout or stderr
Expand Down
Loading