Skip to content

Commit

Permalink
change act import
Browse files Browse the repository at this point in the history
  • Loading branch information
krzotki committed Jul 31, 2024
1 parent 48e3ac4 commit add21ec
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/components/utils/useReducedMotion.spec.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import useReducedMotion from './useReducedMotion';
import {renderHook} from '@testing-library/react';
import {renderHook, act} from '@testing-library/react';
import MatchMedia from './__mocks__/mq';
import {act} from 'react';

const MOTION_MQ = {
reduced: '(prefers-reduced-motion: reduce)',
Expand Down

0 comments on commit add21ec

Please sign in to comment.