aboutsummaryrefslogtreecommitdiffstats
path: root/packages/0x.js/test/0x.js_test.ts
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2017-12-19 17:23:07 +0800
committerGitHub <noreply@github.com>2017-12-19 17:23:07 +0800
commit79bd416c61d9ecabd8fc7903203b5a2cd5ee0936 (patch)
tree82cd863141547f1e14aeffc2075672dc6449484b /packages/0x.js/test/0x.js_test.ts
parent1af427e4a777f4e1ee1b689037e8c0c1431619f6 (diff)
parent7710989dee4b198bd817dca5277fffd77da7ddc4 (diff)
downloaddexon-sol-tools-79bd416c61d9ecabd8fc7903203b5a2cd5ee0936.tar.gz
dexon-sol-tools-79bd416c61d9ecabd8fc7903203b5a2cd5ee0936.tar.zst
dexon-sol-tools-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.ts8
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,