Skip to content

Commit 5d2b2ed

Browse files
authored
fix: harden react native overlay dismissal (#641)
1 parent 4f8e0af commit 5d2b2ed

11 files changed

Lines changed: 938 additions & 195 deletions

File tree

src/__tests__/runtime-snapshot.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -446,5 +446,5 @@ function assertReactNativeOverlayWarning(warnings: string[] | undefined) {
446446
assert.equal(warnings?.length, 1);
447447
assert.match(warnings[0] ?? '', /Hint: React Native warning\/error overlay detected/);
448448
assert.match(warnings[0] ?? '', /agent-device react-native dismiss-overlay/);
449-
assert.match(warnings[0] ?? '', /agent-device snapshot -i -c/);
449+
assert.match(warnings[0] ?? '', /verifies the overlay is gone/);
450450
}

0 commit comments

Comments
 (0)