test: finish pi-subagents rename and regression cleanup

This commit is contained in:
pi
2026-04-11 00:02:44 +01:00
parent 7b85b3fe1e
commit 2ef892df11
7 changed files with 11 additions and 11 deletions

View File

@@ -14,13 +14,13 @@ test("isInsideTmux reads the TMUX environment variable", () => {
test("buildWrapperShellCommand single-quotes paths safely", () => {
const command = buildWrapperShellCommand({
nodePath: "/usr/local/bin/node",
wrapperPath: "/repo/tmux-subagent/src/wrapper/cli.mjs",
wrapperPath: "/repo/subagents/src/wrapper/cli.mjs",
metaPath: "/repo/.pi/subagents/runs/run-1/meta.json",
});
assert.equal(
command,
"'/usr/local/bin/node' '/repo/tmux-subagent/src/wrapper/cli.mjs' '/repo/.pi/subagents/runs/run-1/meta.json'",
"'/usr/local/bin/node' '/repo/subagents/src/wrapper/cli.mjs' '/repo/.pi/subagents/runs/run-1/meta.json'",
);
});