Skip to content

Commit c131447

Browse files
author
pierrezimmermann
committed
refactor: rename file isPointerEventsEnabled to pointer-events
1 parent b6b0d30 commit c131447

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

src/fireEvent.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { ReactTestInstance } from 'react-test-renderer';
22
import act from './act';
33
import { isHostElement } from './helpers/component-tree';
44
import { getHostComponentNames } from './helpers/host-component-names';
5-
import { isPointerEventEnabled } from './helpers/isPointerEventEnabled';
5+
import { isPointerEventEnabled } from './helpers/pointer-events';
66

77
type EventHandler = (...args: unknown[]) => unknown;
88

File renamed without changes.

src/user-event/press/press.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { wait } from '../utils';
55
import act from '../../act';
66
import { getHostParent } from '../../helpers/component-tree';
77
import { filterNodeByType } from '../../helpers/filterNodeByType';
8-
import { isPointerEventEnabled } from '../../helpers/isPointerEventEnabled';
8+
import { isPointerEventEnabled } from '../../helpers/pointer-events';
99
import { getHostComponentNames } from '../../helpers/host-component-names';
1010
import { jestFakeTimersAreEnabled } from '../../helpers/timers';
1111
import { DEFAULT_MIN_PRESS_DURATION } from './constants';

0 commit comments

Comments
 (0)