Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot find module 'react/addons' #907

Open
MyWKing opened this issue Mar 23, 2018 · 0 comments
Open

Cannot find module 'react/addons' #907

MyWKing opened this issue Mar 23, 2018 · 0 comments

Comments

@MyWKing
Copy link

MyWKing commented Mar 23, 2018

Hello!
I wanted to change the slightly graphical appearance of the wallet (change the positions of some modules).
But, unfortunately, during the assembly I encountered the following problem.

Graphene-UI@1.1.0 test /home/king/proj/graphene-ui/web
NODE_ENV=test jest

● The settings scriptPreprocessor and preprocessorIgnorePatterns were replaced by transform and transformIgnorePatterns which support multiple preprocessors.

Jest now treats your current settings as:

"transform": {".*": "<rootDir>/__tests__/jest-preprocessor.js"}

Please update your configuration.

Jest changed the default configuration for tests.

Configuration Documentation: https://facebook.github.io/jest/docs/configuration.html
Jest Issue Tracker: https://github.com/facebook/jest/issues

Error: Unknown config option "testFileExtensions" with value "js,jsx". This is either a typing error or a user mistake and fixing it will remove this message.
FAIL tests/components/Account/Identicon-test.jsx
● Test suite failed to run

Cannot find module 'react/addons' from 'Identicon-test.jsx'
  
  at Resolver.resolveModule (node_modules/jest-resolve/build/index.js:151:17)
  at Object.<anonymous> (__tests__/components/Account/Identicon-test.jsx:1:169)

FAIL tests/components/Utility/FormattedAsset-test.jsx
● Test suite failed to run

Cannot find module 'react/addons' from 'FormattedAsset-test.jsx'
  
  at Resolver.resolveModule (node_modules/jest-resolve/build/index.js:151:17)
  at Object.<anonymous> (__tests__/components/Utility/FormattedAsset-test.jsx:1:169)

Test Suites: 2 failed, 2 total
Tests: 0 total
Snapshots: 0 total
Time: 17.041s
Ran all test suites.
npm ERR! Test failed. See above for more details.

Tell me, please, with what it can be connected and what needs to be done to solve this problem!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant