diff options
author | Fabio Berger <me@fabioberger.com> | 2017-12-19 17:23:07 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-12-19 17:23:07 +0800 |
commit | 79bd416c61d9ecabd8fc7903203b5a2cd5ee0936 (patch) | |
tree | 82cd863141547f1e14aeffc2075672dc6449484b /packages/0x.js/test/0x.js_test.ts | |
parent | 1af427e4a777f4e1ee1b689037e8c0c1431619f6 (diff) | |
parent | 7710989dee4b198bd817dca5277fffd77da7ddc4 (diff) | |
download | dexon-0x-contracts-79bd416c61d9ecabd8fc7903203b5a2cd5ee0936.tar.gz dexon-0x-contracts-79bd416c61d9ecabd8fc7903203b5a2cd5ee0936.tar.zst dexon-0x-contracts-79bd416c61d9ecabd8fc7903203b5a2cd5ee0936.zip |
Merge pull request #267 from 0xProject/refactor/passInEtherTokenAddress
Refactor EtherToken wrapper to accept address in method args
Diffstat (limited to 'packages/0x.js/test/0x.js_test.ts')
-rw-r--r-- | packages/0x.js/test/0x.js_test.ts | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/packages/0x.js/test/0x.js_test.ts b/packages/0x.js/test/0x.js_test.ts index 56585fea0..819ac12f9 100644 --- a/packages/0x.js/test/0x.js_test.ts +++ b/packages/0x.js/test/0x.js_test.ts @@ -244,14 +244,6 @@ describe('ZeroEx library', () => { const zeroExWithWrongExchangeAddress = new ZeroEx(web3.currentProvider, zeroExConfig); expect(zeroExWithWrongExchangeAddress.exchange.getContractAddress()).to.be.equal(ZeroEx.NULL_ADDRESS); }); - it('allows to specify ether token contract address', async () => { - const zeroExConfig = { - etherTokenContractAddress: ZeroEx.NULL_ADDRESS, - networkId: constants.TESTRPC_NETWORK_ID, - }; - const zeroExWithWrongEtherTokenAddress = new ZeroEx(web3.currentProvider, zeroExConfig); - expect(zeroExWithWrongEtherTokenAddress.etherToken.getContractAddress()).to.be.equal(ZeroEx.NULL_ADDRESS); - }); it('allows to specify token registry token contract address', async () => { const zeroExConfig = { tokenRegistryContractAddress: ZeroEx.NULL_ADDRESS, |