diff options
author | Amir Bandeali <abandeali1@gmail.com> | 2017-12-07 16:45:41 +0800 |
---|---|---|
committer | Amir Bandeali <abandeali1@gmail.com> | 2017-12-13 07:05:27 +0800 |
commit | 2cc410e61f75a43ce36416b7d15f897d6e7fc92c (patch) | |
tree | db2a73fe71f1f59d4f99c7ad041b705566435cdc /packages/contracts/test/ts/erc20Token.ts | |
parent | 548fda8dbaadc4827137d4b90753b306fdfd554b (diff) | |
download | dexon-0x-contracts-2cc410e61f75a43ce36416b7d15f897d6e7fc92c.tar dexon-0x-contracts-2cc410e61f75a43ce36416b7d15f897d6e7fc92c.tar.gz dexon-0x-contracts-2cc410e61f75a43ce36416b7d15f897d6e7fc92c.tar.bz2 dexon-0x-contracts-2cc410e61f75a43ce36416b7d15f897d6e7fc92c.tar.lz dexon-0x-contracts-2cc410e61f75a43ce36416b7d15f897d6e7fc92c.tar.xz dexon-0x-contracts-2cc410e61f75a43ce36416b7d15f897d6e7fc92c.tar.zst dexon-0x-contracts-2cc410e61f75a43ce36416b7d15f897d6e7fc92c.zip |
Update 0x.js version, fix build errors
Diffstat (limited to 'packages/contracts/test/ts/erc20Token.ts')
-rw-r--r-- | packages/contracts/test/ts/erc20Token.ts | 5 |
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]; |