Skip to content

Commit 0865d7b

Browse files
committed
chore(test): Replace usage of tl/react-hooks to tl/react.
testing-library/react-hooks-testing-library#654 (comment)
1 parent 77ec250 commit 0865d7b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/lib/hooks/useAsyncState.test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* @jest-environment jsdom
33
*/
44

5-
import { act, renderHook } from "@testing-library/react-hooks";
5+
import { act, renderHook } from "@testing-library/react";
66
import useAsyncState from "./useAsyncState";
77

88
describe("useAsyncState", () => {

src/lib/hooks/useThrottle.test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* @jest-environment jsdom
33
*/
44

5-
import { renderHook } from "@testing-library/react-hooks";
5+
import { renderHook } from "@testing-library/react";
66
import * as throttle from "../utils/throttle";
77
import useThrottle from "./useThrottle";
88

0 commit comments

Comments
 (0)