我正在使用语义-ui-react,并且正在尝试使用 jest 创建快照测试。但是,我不断收到此消息。有人可以对此有所了解吗?我在 nextjs 中使用语义。
console.error node_modules/fbjs/lib/warning.js:36
Warning: ReactTestUtils has been moved to react-dom/test-utils. Update references to remove this warning.
console.error node_modules/semantic-ui-react/dist/commonjs/lib/debug.js:30
Semantic-UI-React could not enable debug.
console.error node_modules/semantic-ui-react/dist/commonjs/lib/debug.js:31
TypeError: Cannot read property 'debug' of undefined