From 6be7466c4a6b7f7006ec7afbd7ddfe379c28d541 Mon Sep 17 00:00:00 2001 From: Leonid Logvinov Date: Thu, 12 Apr 2018 14:07:53 +0200 Subject: Fix tests --- .prettierignore | 1 + packages/dev-utils/src/coverage.ts | 4 ++-- 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); -- cgit v1.2.3