From 651195005aede22643b975c43e974bf464f8f0ba Mon Sep 17 00:00:00 2001 From: Echo Ito Date: Wed, 11 Feb 2026 07:47:04 +0800 Subject: [PATCH] test(pairing): update test to expect actual code instead of placeholder --- src/pairing/pairing-messages.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pairing/pairing-messages.test.ts b/src/pairing/pairing-messages.test.ts index d8994e88c9..d12be19c3a 100644 --- a/src/pairing/pairing-messages.test.ts +++ b/src/pairing/pairing-messages.test.ts @@ -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} `, + `(?:openclaw|openclaw) --profile isolated pairing approve ${testCase.channel} ${testCase.code}`, ); expect(text).toMatch(commandRe); });