aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2018-04-12 20:07:53 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2018-04-12 20:47:03 +0800
commit6be7466c4a6b7f7006ec7afbd7ddfe379c28d541 (patch)
treef41477cc3976e0a68bede24b2e4fd055f28ef5e2
parenteb89926cee2c50ef657b3c033b5637f527d73c6a (diff)
downloaddexon-sol-tools-6be7466c4a6b7f7006ec7afbd7ddfe379c28d541.tar
dexon-sol-tools-6be7466c4a6b7f7006ec7afbd7ddfe379c28d541.tar.gz
dexon-sol-tools-6be7466c4a6b7f7006ec7afbd7ddfe379c28d541.tar.bz2
dexon-sol-tools-6be7466c4a6b7f7006ec7afbd7ddfe379c28d541.tar.lz
dexon-sol-tools-6be7466c4a6b7f7006ec7afbd7ddfe379c28d541.tar.xz
dexon-sol-tools-6be7466c4a6b7f7006ec7afbd7ddfe379c28d541.tar.zst
dexon-sol-tools-6be7466c4a6b7f7006ec7afbd7ddfe379c28d541.zip
Fix tests
-rw-r--r--.prettierignore1
-rw-r--r--packages/dev-utils/src/coverage.ts4
2 files changed, 3 insertions, 2 deletions
diff --git a/.prettierignore b/.prettierignore
index b3e217fb0..024d0b548 100644
--- a/.prettierignore
+++ b/.prettierignore
@@ -2,5 +2,6 @@ lib
.nyc_output
/packages/contracts/src/artifacts
/packages/metacoin/artifacts
+/packages/migrations/src/artifacts
package.json
scripts/postpublish_utils.js
diff --git a/packages/dev-utils/src/coverage.ts b/packages/dev-utils/src/coverage.ts
index 40bb47e2d..67c87ec30 100644
--- a/packages/dev-utils/src/coverage.ts
+++ b/packages/dev-utils/src/coverage.ts
@@ -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);