aboutsummaryrefslogtreecommitdiffstats
path: root/packages/dev-utils/src/coverage.ts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/dev-utils/src/coverage.ts')
-rw-r--r--packages/dev-utils/src/coverage.ts5
1 files changed, 3 insertions, 2 deletions
diff --git a/packages/dev-utils/src/coverage.ts b/packages/dev-utils/src/coverage.ts
index 6f7640835..caf04672f 100644
--- a/packages/dev-utils/src/coverage.ts
+++ b/packages/dev-utils/src/coverage.ts
@@ -1,4 +1,4 @@
-import { CoverageSubprovider } from '@0xproject/sol-cov';
+import { CoverageSubprovider, ZeroExArtifactAdapter } from '@0xproject/sol-cov';
import * as _ from 'lodash';
import { constants } from './constants';
@@ -16,6 +16,7 @@ export const coverage = {
const artifactsPath = '../migrations/artifacts/1.0.0';
const contractsPath = 'src/contracts';
const defaultFromAddress = constants.TESTRPC_FIRST_ADDRESS;
- return new CoverageSubprovider(artifactsPath, contractsPath, defaultFromAddress);
+ const zeroExArtifactsAdapter = new ZeroExArtifactAdapter(artifactsPath, contractsPath);
+ return new CoverageSubprovider(zeroExArtifactsAdapter, defaultFromAddress);
},
};