Skip to content

Commit d4f7e48

Browse files
committed
fix: harden react native overlay dismissal
1 parent 096785b commit d4f7e48

9 files changed

Lines changed: 795 additions & 156 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)