test: finish pi-subagents rename and regression cleanup
This commit is contained in:
@@ -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'",
|
||||
);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user