Fix nohover pointerevent attributes test

Summary:
Changelog: [RNTester][Internal] nohover pointerevent attributes platform test fixes

In implementing full support of nohover pointerevents I discovered a couple issues with my initial port of the web platform test — specifically I forgot to update the calls to `checkPointerEventAttributes` to be "touch" instead of "mouse" and I had forgotten to remove the `pointerMove` event from the expected pointer event order.

Reviewed By: lunaleaps

Differential Revision: D38718994

fbshipit-source-id: d189a4b5cf3042c9f493ac876062f4f60219ae2b
This commit is contained in:
Vincent Riemer 2022-08-16 12:02:19 -07:00 коммит произвёл Facebook GitHub Bot
Родитель 4dce39d2c4
Коммит 6442543933
1 изменённых файлов: 2 добавлений и 3 удалений

Просмотреть файл

@ -24,7 +24,6 @@ import {check_PointerEvent, useTestEventHandler} from './PointerEventSupport';
const eventList = [
'pointerOver',
'pointerEnter',
'pointerMove',
'pointerDown',
'pointerUp',
'pointerOut',
@ -151,7 +150,7 @@ function PointerEventAttributesNoHoverPointersTestCase(
eventType,
{x: pageX, y: pageY, width, height},
'',
'mouse',
'touch',
);
if (
Object.keys(detected_eventTypesRef.current).length ===
@ -176,7 +175,7 @@ function PointerEventAttributesNoHoverPointersTestCase(
eventType,
{x: pageX, y: pageY, width, height},
'Inner frame ',
'mouse',
'touch',
);
if (
Object.keys(detected_eventTypesRef.current).length ===