@@ -198,7 +198,7 @@ describe('userEvent.press with real timers', () => {
198
198
) ;
199
199
await userEvent . press ( screen . getByText ( 'press me' ) ) ;
200
200
201
- expect ( getEventsNames ( events ) ) . toEqual ( [ 'pressIn' , 'press ' , 'pressOut ' ] ) ;
201
+ expect ( getEventsNames ( events ) ) . toEqual ( [ 'pressIn' , 'pressOut ' , 'press ' ] ) ;
202
202
} ) ;
203
203
204
204
test ( 'does not trigger on disabled Text' , async ( ) => {
@@ -240,7 +240,7 @@ describe('userEvent.press with real timers', () => {
240
240
expect ( events ) . toEqual ( [ ] ) ;
241
241
} ) ;
242
242
243
- test ( 'works on TetInput ' , async ( ) => {
243
+ test ( 'works on TextInput ' , async ( ) => {
244
244
const { events, logEvent } = createEventLogger ( ) ;
245
245
246
246
render (
@@ -255,7 +255,7 @@ describe('userEvent.press with real timers', () => {
255
255
expect ( getEventsNames ( events ) ) . toEqual ( [ 'pressIn' , 'pressOut' ] ) ;
256
256
} ) ;
257
257
258
- test ( 'does not call onPressIn and onPressOut on non editable TetInput ' , async ( ) => {
258
+ test ( 'does not call onPressIn and onPressOut on non editable TextInput ' , async ( ) => {
259
259
const { events, logEvent } = createEventLogger ( ) ;
260
260
261
261
render (
@@ -270,7 +270,7 @@ describe('userEvent.press with real timers', () => {
270
270
expect ( events ) . toEqual ( [ ] ) ;
271
271
} ) ;
272
272
273
- test ( 'does not call onPressIn and onPressOut on TetInput with pointer events disabled' , async ( ) => {
273
+ test ( 'does not call onPressIn and onPressOut on TextInput with pointer events disabled' , async ( ) => {
274
274
const { events, logEvent } = createEventLogger ( ) ;
275
275
276
276
render (
0 commit comments