mjhm / create-react-dapp

Create React Ethereum dApps with no configuration.
MIT License
109 stars 19 forks source link

fix component test #7

Closed celeduc closed 6 years ago

celeduc commented 6 years ago

After creating a new app from the template, the component test returns the following error:

 FAIL  src/components/App.test.js
  ● Test suite failed to run

    Cannot find module './app' from 'App.test.js'

      at Resolver.resolveModule (node_modules/jest-resolve/build/index.js:179:17)
      at Object.<anonymous> (src/components/App.test.js:5:12)

Test Suites: 1 failed, 1 total

This commit fixes it.

mjhm commented 6 years ago

@celeduc Thank you!