Skip to content

Commit 75944e4

Browse files
authored
fix: Upgrade package and test console warnings (#92)
1 parent 1ea38c4 commit 75944e4

File tree

3 files changed

+4117
-3757
lines changed

3 files changed

+4117
-3757
lines changed

__tests__/index.tsx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1-
import React from 'react';
1+
import React, { act } from 'react';
22
import ReactDOM from 'react-dom';
3-
import { render, fireEvent } from '@testing-library/react';
4-
import { renderHook, act } from '@testing-library/react-hooks';
3+
import { render, fireEvent, renderHook } from '@testing-library/react';
54
import ClickAwayListener from '../src';
65

76
/**

0 commit comments

Comments
 (0)