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:
Andrei Shikov
2021-05-27 10:13:22 -07:00
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);