mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Fix robolectric tests for touch events
Summary: Touch event logic has been recently modified to contain surfaceId only in the new renderer. This change aligns OSS tests that have been failing for them. Changelog: [Internal] Reviewed By: mdvacca Differential Revision: D28749961 fbshipit-source-id: 483ab3ac97bbdc4f1fbdb2a8c699ef060cca9f77
This commit is contained in:
committed by
Facebook GitHub Bot
parent
726e689269
commit
fff0107e5a
@@ -152,7 +152,7 @@ public class RootViewTest {
|
||||
"identifier",
|
||||
0.,
|
||||
"targetSurface",
|
||||
rootViewId));
|
||||
-1));
|
||||
|
||||
// Test ACTION_UP event
|
||||
reset(eventEmitterModuleMock, eventDispatcher);
|
||||
@@ -190,7 +190,7 @@ public class RootViewTest {
|
||||
"identifier",
|
||||
0.,
|
||||
"targetSurface",
|
||||
rootViewId));
|
||||
-1));
|
||||
|
||||
// Test other action
|
||||
reset(eventDispatcher);
|
||||
|
||||
Reference in New Issue
Block a user