Fix tests

This commit is contained in:
Leonid Logvinov 2018-04-12 14:07:53 +02:00
parent eb89926cee
commit 6be7466c4a
No known key found for this signature in database
GPG Key ID: 0DD294BFDE8C95D4
2 changed files with 3 additions and 2 deletions

View File

@ -2,5 +2,6 @@ lib
.nyc_output
/packages/contracts/src/artifacts
/packages/metacoin/artifacts
/packages/migrations/src/artifacts
package.json
scripts/postpublish_utils.js

View File

@ -13,8 +13,8 @@ export const coverage = {
return coverageSubprovider;
},
_getCoverageSubprovider(): CoverageSubprovider {
const artifactsPath = './src/artifacts';
const contractsPath = './src/contracts';
const artifactsPath = '../migrations/src/artifacts';
const contractsPath = 'src/contracts';
const networkId = 50;
const defaultFromAddress = constants.TESTRPC_FIRST_ADDRESS;
return new CoverageSubprovider(artifactsPath, contractsPath, networkId, defaultFromAddress);