diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-05-15 21:14:36 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-05-23 06:20:34 +0800 |
commit | 1ff34bd0f4084d2f9dfd6f07447bb63684ac51ac (patch) | |
tree | e7f1870dab995b33c381924707a17acc1feaf3c8 /packages/dev-utils/src/coverage.ts | |
parent | b86248f13fcb8f326098252beee6ca557e0175e7 (diff) | |
download | dexon-0x-contracts-1ff34bd0f4084d2f9dfd6f07447bb63684ac51ac.tar.gz dexon-0x-contracts-1ff34bd0f4084d2f9dfd6f07447bb63684ac51ac.tar.zst dexon-0x-contracts-1ff34bd0f4084d2f9dfd6f07447bb63684ac51ac.zip |
Remove web3Factory.create and remove dev-tools dependency on sol-cov
Diffstat (limited to 'packages/dev-utils/src/coverage.ts')
-rw-r--r-- | packages/dev-utils/src/coverage.ts | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/packages/dev-utils/src/coverage.ts b/packages/dev-utils/src/coverage.ts deleted file mode 100644 index caf04672f..000000000 --- a/packages/dev-utils/src/coverage.ts +++ /dev/null @@ -1,22 +0,0 @@ -import { CoverageSubprovider, ZeroExArtifactAdapter } from '@0xproject/sol-cov'; -import * as _ from 'lodash'; - -import { constants } from './constants'; - -let coverageSubprovider: CoverageSubprovider; - -export const coverage = { - getCoverageSubproviderSingleton(): CoverageSubprovider { - if (_.isUndefined(coverageSubprovider)) { - coverageSubprovider = coverage._getCoverageSubprovider(); - } - return coverageSubprovider; - }, - _getCoverageSubprovider(): CoverageSubprovider { - const artifactsPath = '../migrations/artifacts/1.0.0'; - const contractsPath = 'src/contracts'; - const defaultFromAddress = constants.TESTRPC_FIRST_ADDRESS; - const zeroExArtifactsAdapter = new ZeroExArtifactAdapter(artifactsPath, contractsPath); - return new CoverageSubprovider(zeroExArtifactsAdapter, defaultFromAddress); - }, -}; |