poanetwork / poa-popa

DApp for proof of physical address (PoPA) attestation for validators of POA Network
https://popa.poa.network
GNU General Public License v3.0
24 stars 18 forks source link

(Feature) Check that contract is deployed by requesting owner #55

Closed phahulin closed 6 years ago

phahulin commented 6 years ago
phahulin commented 6 years ago

@fvictorio please advise how to resolve ci error:

 FAIL  src/components/App.test.js
  ● Test suite failed to run
    Cannot find module '../contract-output' from 'App.js'

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

On my local machine where I have contract-output.json it passes, but I'm not sure how to do it here, tried to use mocked version from test/server/_utils/mock-contract-output.json but no luck.

Can we just tell travis to install and run ganache-cli and deploy the contract on test network?

coveralls commented 6 years ago

Pull Request Test Coverage Report for Build 121


Changes Missing Coverage Covered Lines Changed/Added Lines %
web-dapp/src/components/App.js 2 28 7.14%
<!-- Total: 2 28 7.14% -->
Totals Coverage Status
Change from base Build 120: -0.6%
Covered Lines: 328
Relevant Lines: 1023

💛 - Coveralls