Skip to content

Commit 18c9de1

Browse files
strzhaoclaude
andcommitted
fix(harmonyos): format the bridge and pin the replay fixture for the new key
Co-Authored-By: Claude Code <[email protected]>
1 parent 4565eba commit 18c9de1

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

‎packages/daemon/src/sessions/__tests__/replay-maestro/session-replay-runtime-maestro-dispatch.test.ts‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,7 @@ test('.ad replay normalizes resolved gesture and swipe syntax into structured da
182182
pointerCount: 2,
183183
durationMs: 500,
184184
trajectory: undefined,
185+
trajectoryTransport: undefined,
185186
},
186187
},
187188
{

‎packages/platform-harmonyos/src/trajectory-driver.ts‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -133,9 +133,7 @@ function renderHarmonyDriverScript(trajJson: string, timeoutMs: number): string
133133
}
134134

135135
/** Parses the carrier's `ADTRAJ_RESULT {json}` hilog line out of the combined script output. */
136-
function parseCarrierResult(
137-
scriptOutput: string,
138-
): { ok: boolean; error: string } | undefined {
136+
function parseCarrierResult(scriptOutput: string): { ok: boolean; error: string } | undefined {
139137
const line = /ADTRAJ_RESULT (\{.*)/.exec(scriptOutput)?.[1];
140138
if (!line) return undefined;
141139
const end = line.indexOf('}');

0 commit comments

Comments
 (0)