We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1ea38c4 commit 75944e4Copy full SHA for 75944e4
__tests__/index.tsx
@@ -1,7 +1,6 @@
1
-import React from 'react';
+import React, { act } from 'react';
2
import ReactDOM from 'react-dom';
3
-import { render, fireEvent } from '@testing-library/react';
4
-import { renderHook, act } from '@testing-library/react-hooks';
+import { render, fireEvent, renderHook } from '@testing-library/react';
5
import ClickAwayListener from '../src';
6
7
/**
0 commit comments