We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 40357fe commit 9ea5ffaCopy full SHA for 9ea5ffa
packages/react-devtools-shared/src/__tests__/setupTests.js
@@ -150,7 +150,10 @@ function patchConsoleForTestingBeforeHookInstallation() {
150
firstArg.startsWith(
151
'The current testing environment is not configured to support act',
152
) ||
153
- firstArg.startsWith('You seem to have overlapping act() calls'))
+ firstArg.startsWith('You seem to have overlapping act() calls') ||
154
+ firstArg.startsWith(
155
+ 'ReactDOM.render is no longer supported in React 18.',
156
+ ))
157
) {
158
// DevTools intentionally wraps updates with acts from both DOM and test-renderer,
159
// since test updates are expected to impact both renderers.
0 commit comments