Add sol-cover implementation
This commit is contained in:
@@ -4,7 +4,10 @@ import * as path from 'path';
|
||||
|
||||
import { constants } from '../../util/constants';
|
||||
|
||||
import { web3 } from './web3_wrapper';
|
||||
|
||||
const deployerOpts = {
|
||||
web3Provider: web3.currentProvider,
|
||||
artifactsDir: path.resolve('src', 'artifacts'),
|
||||
jsonrpcPort: devConstants.RPC_PORT,
|
||||
networkId: constants.TESTRPC_NETWORK_ID,
|
||||
|
||||
5
packages/contracts/test/utils/web3_wrapper.ts
Normal file
5
packages/contracts/test/utils/web3_wrapper.ts
Normal file
@@ -0,0 +1,5 @@
|
||||
import { web3Factory } from '@0xproject/dev-utils';
|
||||
import { Web3Wrapper } from '@0xproject/web3-wrapper';
|
||||
|
||||
export const web3 = web3Factory.create();
|
||||
export const web3Wrapper = new Web3Wrapper(web3.currentProvider);
|
||||
Reference in New Issue
Block a user