You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/react-test-renderer/__tests__/shallow-test.js
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -16,7 +16,7 @@ describe('shallow', () => {
16
16
// eslint-disable-next-line no-new
17
17
newReactShallowRenderer();
18
18
}).toThrow(
19
-
'react-test-renderer is deprecated. To use react-test-renderer/shallow, import react-shallow-renderer directly. See https://react.dev/warnings/react-test-renderer'
19
+
'react-test-renderer/shallow has been removed. See https://react.dev/warnings/react-test-renderer.'
Copy file name to clipboardExpand all lines: packages/react-test-renderer/npm/shallow.js
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
3
3
functionReactShallowRenderer(){
4
4
thrownewError(
5
-
'react-test-renderer is deprecated. To use react-test-renderer/shallow, import react-shallow-renderer directly. See https://react.dev/warnings/react-test-renderer'
5
+
'react-test-renderer/shallow has been removed. See https://react.dev/warnings/react-test-renderer.'
0 commit comments