mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
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:
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',
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user