blob: 1750d19ce4e6f89736ff293df3a7b0303a77eab0 (
plain) (
tree)
|
|
import { CoverageSubprovider } from '@0xproject/sol-cov';
import * as _ from 'lodash';
let coverageSubprovider: CoverageSubprovider;
export function getCoverageSubprovider(): CoverageSubprovider {
if (_.isUndefined(coverageSubprovider)) {
const artifactsPath = './src/artifacts';
const contractsPath = './src/contracts';
const networkId = 50;
coverageSubprovider = new CoverageSubprovider(artifactsPath, contractsPath, networkId);
}
return coverageSubprovider;
}
|