mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-09 14:24:30 +00:00
test: stabilize CLI hint assertions under CLAWDBOT_PROFILE (#2507)
This commit is contained in:
@@ -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