test: tolerate xAI realtime STT brand spelling

This commit is contained in:
Peter Steinberger
2026-04-28 00:45:09 +01:00
parent f3d53ce22c
commit 09c39463bb

View File

@@ -14,7 +14,7 @@ export function normalizeTranscriptForMatch(value: string): string {
type ExpectedTranscriptMatch = RegExp | string;
const DEFAULT_OPENCLAW_TRANSCRIPT_MATCH = /open(?:claw|flaw)/;
const DEFAULT_OPENCLAW_TRANSCRIPT_MATCH = /open(?:claw|flaw|clar)/;
export async function waitForLiveExpectation(expectation: () => void, timeoutMs = 30_000) {
const started = Date.now();