From 0865d7b73a1059a576759cec8195aa588c2f5507 Mon Sep 17 00:00:00 2001 From: Oscar Busk Date: Tue, 19 Apr 2022 11:23:47 +0200 Subject: [PATCH] chore(test): Replace usage of tl/react-hooks to tl/react. https://github.com/testing-library/react-hooks-testing-library/issues/654#issuecomment-1100377254 --- src/lib/hooks/useAsyncState.test.ts | 2 +- src/lib/hooks/useThrottle.test.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/hooks/useAsyncState.test.ts b/src/lib/hooks/useAsyncState.test.ts index 0463f8ed..085f969a 100644 --- a/src/lib/hooks/useAsyncState.test.ts +++ b/src/lib/hooks/useAsyncState.test.ts @@ -2,7 +2,7 @@ * @jest-environment jsdom */ -import { act, renderHook } from "@testing-library/react-hooks"; +import { act, renderHook } from "@testing-library/react"; import useAsyncState from "./useAsyncState"; describe("useAsyncState", () => { diff --git a/src/lib/hooks/useThrottle.test.ts b/src/lib/hooks/useThrottle.test.ts index e98cb4b0..37058c4f 100644 --- a/src/lib/hooks/useThrottle.test.ts +++ b/src/lib/hooks/useThrottle.test.ts @@ -2,7 +2,7 @@ * @jest-environment jsdom */ -import { renderHook } from "@testing-library/react-hooks"; +import { renderHook } from "@testing-library/react"; import * as throttle from "../utils/throttle"; import useThrottle from "./useThrottle";