We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c4f0b93 commit 9dfe973Copy full SHA for 9dfe973
packages/react-reconciler/src/ReactFiberWorkLoop.js
@@ -2505,12 +2505,12 @@ export function warnIfNotScopedWithMatchingAct(fiber: Fiber): void {
2505
'Be sure to use the matching version of act() corresponding to your renderer:\n\n' +
2506
'// for react-dom:\n' +
2507
"import {act} from 'react-dom/test-utils';\n" +
2508
- '//...\n' +
+ '// ...\n' +
2509
'act(() => ...);\n\n' +
2510
'// for react-test-renderer:\n' +
2511
"import TestRenderer from 'react-test-renderer';\n" +
2512
'const {act} = TestRenderer;\n' +
2513
2514
'act(() => ...);' +
2515
'%s',
2516
getStackByFiberInDevAndProd(fiber),
0 commit comments