test: stabilize CLI hint assertions under CLAWDBOT_PROFILE (#2507)
This commit is contained in:
1 parent
959ddae612
commit
b151b8d196
9 files changed
+22
-9
No files matched your search
@@ -36,7 +36,10 @@ describe("buildPairingReply", () => {
|
||||
const text = buildPairingReply(testCase);
|
||||
expect(text).toContain(testCase.idLine);
|
||||
expect(text).toContain(`Pairing code: ${testCase.code}`);
|
||||
expect(text).toContain(`clawdbot pairing approve ${testCase.channel} <code>`);
|
||||
// CLI commands should respect CLAWDBOT_PROFILE when set (most tests run with isolated profile)
|
||||
expect(text).toContain(
|
||||
`clawdbot --profile isolated pairing approve ${testCase.channel} <code>`,
|
||||
);
|
||||
});
|
||||
}
|
||||
});
|
||||
Reference in new issue
Block a user