Skip to content

Commit 7847b4b

Browse files
author
vivi
committed
Update test setup
1 parent 367b093 commit 7847b4b

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

testing/setup.ts

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
11
import "@testing-library/jest-dom/extend-expect"
22
import "fake-indexeddb/auto"
3-
import "mobx-react-lite/batchingForReactDom"
3+
import { useStaticRendering } from "mobx-react-lite"
4+
5+
// eslint-disable-next-line react-hooks/rules-of-hooks
6+
useStaticRendering(true)

0 commit comments

Comments
 (0)