Skip to content

Commit 43d69ee

Browse files
motiz88facebook-github-bot
authored andcommitted
Fix ReactNativeReloads test case (facebook#45011)
Summary: Pull Request resolved: facebook#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
1 parent 5df5ed1 commit 43d69ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/dev-middleware/src/__tests__/InspectorProxyReactNativeReloads-test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ describe('inspector proxy React Native reloads', () => {
236236
* We can reuse our existing debugger connection to the synthetic page.
237237
* Messages from the updated page will be routed to the debugger.
238238
*/
239-
device1.sendWrappedEvent('originalPage-initial', {
239+
device1.sendWrappedEvent('originalPage-updated', {
240240
error: 'Another mock error',
241241
});
242242

0 commit comments

Comments
 (0)