aboutsummaryrefslogtreecommitdiffstats
path: root/packages/contracts/test/ts/erc20Token.ts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/contracts/test/ts/erc20Token.ts')
-rw-r--r--packages/contracts/test/ts/erc20Token.ts5
1 files changed, 4 insertions, 1 deletions
diff --git a/packages/contracts/test/ts/erc20Token.ts b/packages/contracts/test/ts/erc20Token.ts
index 9aa93180b..1edcfcbbd 100644
--- a/packages/contracts/test/ts/erc20Token.ts
+++ b/packages/contracts/test/ts/erc20Token.ts
@@ -15,7 +15,10 @@ chaiSetup.configure();
const expect = chai.expect;
contract('ERC20Token', (accounts: string[]) => {
- const zeroEx = new ZeroEx(web3.currentProvider);
+ const config = {
+ networkId: constants.TESTRPC_NETWORK_ID,
+ };
+ const zeroEx = new ZeroEx(web3.currentProvider, config);
const owner = accounts[0];
const spender = accounts[1];