mirror of
https://github.com/openclaw/openclaw.git
synced 2026-02-19 18:39:20 -05:00
test(pairing): update test to expect actual code instead of placeholder
This commit is contained in:
committed by
Gustavo Madeira Santana
parent
2daf299ba7
commit
651195005a
@@ -52,7 +52,7 @@ describe("buildPairingReply", () => {
|
||||
expect(text).toContain(`Pairing code: ${testCase.code}`);
|
||||
// CLI commands should respect OPENCLAW_PROFILE when set (most tests run with isolated profile)
|
||||
const commandRe = new RegExp(
|
||||
`(?:openclaw|openclaw) --profile isolated pairing approve ${testCase.channel} <code>`,
|
||||
`(?:openclaw|openclaw) --profile isolated pairing approve ${testCase.channel} ${testCase.code}`,
|
||||
);
|
||||
expect(text).toMatch(commandRe);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user