#!/bin/sh
# UNIT HARNESS ONLY; no UIKit or microphone trigger.
set -eu
git -C /home/ubuntu/t3code worktree add /home/ubuntu/wt/pr-33512-base2 bbdc7dca320ee4fbc7131498aaffef2fa1eb3d41
cd /home/ubuntu/wt/pr-33512-base2
vp install
git show bb8005d7d71765e9284f6be12076392ce749983b:apps/mobile/src/components/ComposerEditor.ios.test.tsx > apps/mobile/src/components/ComposerEditor.ios.test.tsx
cd apps/mobile
# Expected exit 1: the voice-lock recovery test fails, ten pass.
vp test run src/components/ComposerEditor.ios.test.tsx || test "$?" = 1
cd /home/ubuntu/wt/pr-33512/apps/mobile
# Expected exit 0: all eleven bridge tests pass.
vp test run src/components/ComposerEditor.ios.test.tsx
vp test run src/native/composerEditorRevision.test.ts
