Skip to content

Commit

Permalink
Use correct act function.
Browse files Browse the repository at this point in the history
  • Loading branch information
justinkambic committed Jan 31, 2023
1 parent 73e17d0 commit 791f036
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/hooks/useGlobalToasts.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
*/

import { act } from '@testing-library/react';
import { renderHook } from '@testing-library/react-hooks';
import { act, renderHook } from '@testing-library/react-hooks';
import { useGlobalToasts } from './useGlobalToasts';

describe('useGlobalToasts', () => {
Expand Down

0 comments on commit 791f036

Please sign in to comment.