Fix ReactNativeReloads test case (#45011)

Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/45011

Changelog: [Internal]

Fixes an inspector-proxy test case that was (silently) incorrect. This is in preparation for an upcoming rewrite of the core of inspector-proxy to more strictly isolate session state, which causes the incorrect test to fail.

Reviewed By: hoxyq

Differential Revision: D58193527

fbshipit-source-id: bdc27179210117ca9249b272f2e4aff19ba8a06c
This commit is contained in:
Moti Zilberman
2024-06-18 02:53:18 -07:00
committed by Facebook GitHub Bot
parent 5df5ed1a88
commit 43d69ee26c
@@ -236,7 +236,7 @@ describe('inspector proxy React Native reloads', () => {
* We can reuse our existing debugger connection to the synthetic page.
* Messages from the updated page will be routed to the debugger.
*/
device1.sendWrappedEvent('originalPage-initial', {
device1.sendWrappedEvent('originalPage-updated', {
error: 'Another mock error',
});