Skip to content

Commit dca7260

Browse files
committed
add jest-environment-jsdom for localStorage calls
1 parent 5654e74 commit dca7260

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/app/containers/Contracts.test.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
/**
2+
* @jest-environment jsdom
3+
*/
14
import { act, renderHook } from "@testing-library/react-hooks";
25
import { useContracts } from "./Contracts";
36

0 commit comments

Comments
 (0)