test: stabilize CLI hint assertions under CLAWDBOT_PROFILE (#2507)

This commit is contained in:
Vignesh
2026-01-26 19:20:54 -08:00
committed by GitHub
parent 959ddae612
commit b151b8d196
9 changed files with 22 additions and 9 deletions

View File

@@ -239,7 +239,7 @@ describe("onboard-hooks", () => {
// Second note should confirm configuration
expect(noteCalls[1][0]).toContain("Enabled 1 hook: session-memory");
expect(noteCalls[1][0]).toContain("clawdbot hooks list");
expect(noteCalls[1][0]).toMatch(/clawdbot( --profile isolated)? hooks list/);
});
});
});