Skip to content

Test failed  #71

@fones

Description

@fones

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions