test: dedupe and optimize test suites

This commit is contained in:
Peter Steinberger
2026-02-19 15:18:50 +00:00
parent b0e55283d5
commit a1cb700a05
80 changed files with 2627 additions and 2962 deletions

View File

@@ -0,0 +1,10 @@
import { Command } from "commander";
export async function runRegisteredCli(params: {
register: (program: Command) => void;
argv: string[];
}): Promise<void> {
const program = new Command();
params.register(program);
await program.parseAsync(params.argv, { from: "user" });
}