diff --git a/src/plugin-sdk/test-helpers/stt-live-audio.ts b/src/plugin-sdk/test-helpers/stt-live-audio.ts index 530cccdcb23..a9161206de3 100644 --- a/src/plugin-sdk/test-helpers/stt-live-audio.ts +++ b/src/plugin-sdk/test-helpers/stt-live-audio.ts @@ -14,7 +14,7 @@ export function normalizeTranscriptForMatch(value: string): string { type ExpectedTranscriptMatch = RegExp | string; -export const OPENCLAW_LIVE_TRANSCRIPT_MARKER_RE = /open(?:claw|flaw|clar|core)/; +export const OPENCLAW_LIVE_TRANSCRIPT_MARKER_RE = /open(?:claw|cl|flaw|clar|core)/; export function expectOpenClawLiveTranscriptMarker(value: string): void { expect(normalizeTranscriptForMatch(value)).toMatch(OPENCLAW_LIVE_TRANSCRIPT_MARKER_RE); diff --git a/test/helpers/stt-live-audio.test.ts b/test/helpers/stt-live-audio.test.ts index 6a42950b6c1..a30de379eb2 100644 --- a/test/helpers/stt-live-audio.test.ts +++ b/test/helpers/stt-live-audio.test.ts @@ -14,6 +14,9 @@ describe("normalizeTranscriptForMatch", () => { expect(normalizeTranscriptForMatch("OpenCore xAI realtime transcription")).toMatch( OPENCLAW_LIVE_TRANSCRIPT_MARKER_RE, ); + expect(normalizeTranscriptForMatch("OpenCL xAI realtime transcription")).toMatch( + OPENCLAW_LIVE_TRANSCRIPT_MARKER_RE, + ); expectOpenClawLiveTranscriptMarker("OpenClar integration OK"); }); });