diff options
author | Amir Bandeali <abandeali1@gmail.com> | 2018-06-23 08:41:38 +0800 |
---|---|---|
committer | Amir Bandeali <abandeali1@gmail.com> | 2018-06-26 07:19:07 +0800 |
commit | a2ff63daa5dce79cd5109a01f645a7075335565d (patch) | |
tree | 58d9aa0e385e5dea182ff3effc3c94cb3d4ee340 /packages/contracts/test | |
parent | 7ce0f9682f5af7510d6bf8e5d731fd28ddbc4d3a (diff) | |
download | dexon-0x-contracts-a2ff63daa5dce79cd5109a01f645a7075335565d.tar dexon-0x-contracts-a2ff63daa5dce79cd5109a01f645a7075335565d.tar.gz dexon-0x-contracts-a2ff63daa5dce79cd5109a01f645a7075335565d.tar.bz2 dexon-0x-contracts-a2ff63daa5dce79cd5109a01f645a7075335565d.tar.lz dexon-0x-contracts-a2ff63daa5dce79cd5109a01f645a7075335565d.tar.xz dexon-0x-contracts-a2ff63daa5dce79cd5109a01f645a7075335565d.tar.zst dexon-0x-contracts-a2ff63daa5dce79cd5109a01f645a7075335565d.zip |
Run prettier and fix linting errors
Diffstat (limited to 'packages/contracts/test')
-rw-r--r-- | packages/contracts/test/asset_proxy/proxies.ts | 24 |
1 files changed, 6 insertions, 18 deletions
diff --git a/packages/contracts/test/asset_proxy/proxies.ts b/packages/contracts/test/asset_proxy/proxies.ts index 4823cc7b0..43aea9a79 100644 --- a/packages/contracts/test/asset_proxy/proxies.ts +++ b/packages/contracts/test/asset_proxy/proxies.ts @@ -176,15 +176,9 @@ describe('Asset Transfer Proxies', () => { // Perform a transfer from makerAddress to takerAddress const amount = new BigNumber(10); return expectRevertOrAlwaysFailingTransactionAsync( - erc20Proxy.transferFrom.sendTransactionAsync( - encodedAssetData, - makerAddress, - takerAddress, - amount, - { - from: notAuthorized, - }, - ), + erc20Proxy.transferFrom.sendTransactionAsync(encodedAssetData, makerAddress, takerAddress, amount, { + from: notAuthorized, + }), ); }); }); @@ -411,15 +405,9 @@ describe('Asset Transfer Proxies', () => { // Perform a transfer; expect this to fail. const amount = new BigNumber(1); return expectRevertOrAlwaysFailingTransactionAsync( - erc20Proxy.transferFrom.sendTransactionAsync( - encodedAssetData, - makerAddress, - takerAddress, - amount, - { - from: notAuthorized, - }, - ), + erc20Proxy.transferFrom.sendTransactionAsync(encodedAssetData, makerAddress, takerAddress, amount, { + from: notAuthorized, + }), ); }); |