native-starter-kit icon indicating copy to clipboard operation
native-starter-kit copied to clipboard

Test failed

Open fones opened this issue 8 years ago • 2 comments

Test failed but app starts OK. Node v7.5.0.

Documents/Git/native-starter-kit  master ✔                                                                                                                                            10d  
▶ npm test

> [email protected] test /Users/fones/Documents/Git/native-starter-kit
> jest

 FAIL  __tests__/index.ios.js
  ● Test suite failed to run

    Cannot find module 'react/lib/ReactTestRenderer' from 'index.js'
      
      at Resolver.resolveModule (node_modules/jest-resolve/build/index.js:151:17)
      at Object.<anonymous> (node_modules/react-test-renderer/index.js:4:18)
      at Object.<anonymous> (__tests__/index.ios.js:6:24)

 FAIL  __tests__/index.android.js
  ● Test suite failed to run

    Cannot find module 'react/lib/ReactTestRenderer' from 'index.js'
      
      at Resolver.resolveModule (node_modules/jest-resolve/build/index.js:151:17)
      at Object.<anonymous> (node_modules/react-test-renderer/index.js:4:18)
      at Object.<anonymous> (__tests__/index.android.js:6:24)

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

fones avatar Feb 19 '17 21:02 fones

Same problem for me. Node 7.4

Tibze avatar Mar 05 '17 13:03 Tibze

@fones @Tibze Can you share versions of node and npm along with your package.json

SupriyaKalghatgi avatar Aug 16 '17 07:08 SupriyaKalghatgi