Skip to content

Commit fecf988

Browse files
committed
test: fix recieved -> received typos in W3C pointer event tests
1 parent e02990c commit fecf988

2 files changed

Lines changed: 7 additions & 7 deletions

File tree

‎packages/rn-tester/js/examples/Experimental/W3CPointerEventPlatformTests/PointerEventPointerCancelTouch.js‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ function PointerEventPointerCancelTouchTestCase(
2323
) {
2424
const {harness} = props;
2525

26-
const testPointerEvent = harness.useAsyncTest('pointercancel event recieved');
26+
const testPointerEvent = harness.useAsyncTest('pointercancel event received');
2727

2828
const pointerDownEventRef = useRef<PointerEvent | null>(null);
2929
const pointerCancelEventRef = useRef<PointerEvent | null>(null);
@@ -40,7 +40,7 @@ function PointerEventPointerCancelTouchTestCase(
4040

4141
testPointerEvent.step(({assert_equals, assert_not_equals}) => {
4242
const pointerDownEvent = pointerDownEventRef.current;
43-
assert_not_equals(pointerDownEvent, null, 'pointerdown was recieved: ');
43+
assert_not_equals(pointerDownEvent, null, 'pointerdown was received: ');
4444
if (pointerDownEvent != null) {
4545
assert_equals(
4646
event.nativeEvent.pointerId,
@@ -87,7 +87,7 @@ function PointerEventPointerCancelTouchTestCase(
8787
assert_not_equals(
8888
pointerCancelEvent,
8989
null,
90-
'pointercancel was recieved: ',
90+
'pointercancel was received: ',
9191
);
9292
if (pointerCancelEvent != null) {
9393
assert_equals(
@@ -118,7 +118,7 @@ function PointerEventPointerCancelTouchTestCase(
118118
assert_not_equals(
119119
pointerCancelEvent,
120120
null,
121-
'pointercancel was recieved: ',
121+
'pointercancel was received: ',
122122
);
123123
if (pointerCancelEvent != null) {
124124
assert_equals(

‎packages/rn-tester/js/examples/Experimental/W3CPointerEventPlatformTests/PointerEventPointerOverOut.js‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ function PointerEventPointerOverOutTestCase(
7878
assert_equals(
7979
innerOverRef.current,
8080
innerOutRef.current,
81-
'pointerover is recieved before pointerout',
81+
'pointerover is received before pointerout',
8282
);
8383
switch (innerOverRef.current) {
8484
case 0: {
@@ -144,7 +144,7 @@ function PointerEventPointerOverOutTestCase(
144144
assert_equals(
145145
outerOwnOverRef.current,
146146
outerOwnOutRef.current,
147-
'outer: pointerover is recieved before pointerout',
147+
'outer: pointerover is received before pointerout',
148148
);
149149
outerOwnOverRef.current++;
150150
} else {
@@ -167,7 +167,7 @@ function PointerEventPointerOverOutTestCase(
167167
assert_equals(
168168
outerOwnOverRef.current,
169169
outerOwnOutRef.current + 1,
170-
'outer: pointerout is recieved after pointerover',
170+
'outer: pointerout is received after pointerover',
171171
);
172172
if (outerOwnOutRef.current === 1) {
173173
assert_equals(innerOutRef.current, 2, 'inner should be done now');

0 commit comments

Comments
 (0)