Skip to content

Commit 017c3aa

Browse files
Merge branch 'master' into mrickert/feat/analytics
2 parents aafcf64 + ca11840 commit 017c3aa

File tree

11 files changed

+210
-45
lines changed

11 files changed

+210
-45
lines changed

apps/reactotron-app/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@
8383
"@storybook/addon-links": "^5.2.8",
8484
"@storybook/addons": "^5.2.8",
8585
"@storybook/react": "^5.2.8",
86-
"@testing-library/react-hooks": "^8.0.1",
86+
"@testing-library/react": "^14.1.2",
8787
"@types/jest": "^29.5.7",
8888
"@types/react": "18.2.35",
8989
"@types/react-dom": "18.2.14",

apps/reactotron-app/src/renderer/contexts/Layout/useLayout.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { act, renderHook } from "@testing-library/react-hooks/dom"
1+
import { act, renderHook } from "@testing-library/react"
22

33
import useLayout from "./useLayout"
44

apps/reactotron-app/src/renderer/contexts/Standalone/useStandalone.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { act, renderHook } from "@testing-library/react-hooks/dom"
1+
import { act, renderHook } from "@testing-library/react"
22

33
import useStandalone from "./useStandalone"
44

lib/reactotron-core-ui/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,8 @@
5555
"stringify-object": "5.0.0"
5656
},
5757
"peerDependencies": {
58-
"react": ">=17.0.2",
59-
"react-dom": ">=17.0.2",
58+
"react": ">=18.2.0",
59+
"react-dom": ">=18.2.0",
6060
"react-icons": ">=4.2.0",
6161
"react-modal": ">=3.16.1",
6262
"react-motion": ">=0.5.2",
@@ -74,7 +74,7 @@
7474
"@storybook/addon-links": "6.1.21",
7575
"@storybook/addons": "6.1.21",
7676
"@storybook/react": "6.1.21",
77-
"@testing-library/react-hooks": "8.0.1",
77+
"@testing-library/react": "^14.1.2",
7878
"@types/jest": "^29.5.7",
7979
"@types/react": "18.2.35",
8080
"@types/react-dom": "18.2.14",

lib/reactotron-core-ui/src/contexts/CustomCommands/useCustomCommands.test.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/* eslint-disable react/display-name */
22
import React from "react"
3-
import { act, renderHook } from "@testing-library/react-hooks"
3+
import { act, renderHook } from "@testing-library/react"
44

55
import ReactotronContext from "../Reactotron"
66
import { CommandType } from "reactotron-core-contract"

lib/reactotron-core-ui/src/contexts/ReactNative/useStorybook.test.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/* eslint-disable react/display-name */
22
import React from "react"
3-
import { act, renderHook } from "@testing-library/react-hooks"
3+
import { act, renderHook } from "@testing-library/react"
44

55
import ReactotronContext from "../Reactotron"
66
import { CommandType } from "reactotron-core-contract"

lib/reactotron-core-ui/src/contexts/Reactotron/useReactotron.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { act, renderHook } from "@testing-library/react-hooks"
1+
import { act, renderHook } from "@testing-library/react"
22

33
import useReactotron from "./useReactotron"
44

lib/reactotron-core-ui/src/contexts/State/useSnapshots.test.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/* eslint-disable react/display-name */
22
import React from "react"
3-
import { act, renderHook } from "@testing-library/react-hooks"
3+
import { act, renderHook } from "@testing-library/react"
44

55
import { CommandType } from "reactotron-core-contract"
66
import ReactotronContext from "../Reactotron"

lib/reactotron-core-ui/src/contexts/State/useSubscriptions.test.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/* eslint-disable react/display-name */
22
import React from "react"
3-
import { act, renderHook } from "@testing-library/react-hooks"
3+
import { act, renderHook } from "@testing-library/react"
44

55
import ReactotronContext from "../Reactotron"
66

lib/reactotron-core-ui/src/contexts/Timeline/useTimeline.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { act, renderHook } from "@testing-library/react-hooks"
1+
import { act, renderHook } from "@testing-library/react"
22

33
import { CommandType } from "reactotron-core-contract"
44

0 commit comments

Comments
 (0)