I updated the react version with 16.0.0 and enzyme with 2.8.6 but still getting error can't find module react/lib/React .
How to fix these issues
Configuring Mocha... Warning: ReactTestUtils has been moved to react-dom/test-utils. Update references to remove this warning. module.js:471 throw err;
Error: Cannot find module 'react/lib/React'
at Function.Module._resolveFilename (module.js:469:15)
at Function.Module._load (module.js:417:25)
at Module.require (module.js:497:17)
at require (internal/module.js:20:19)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
at Function.Module._load (module.js:438:3)