diff options
author | Fabio Berger <me@fabioberger.com> | 2018-04-25 17:07:22 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2018-04-25 17:07:22 +0800 |
commit | 9dc4ec6fb5cad36f8308643b42aea119a2732ada (patch) | |
tree | 984d31e1429141b693fccb11c9bdf4acc299ede6 /packages/contracts | |
parent | 0baaf1767bd8245af1135d785997ccd800dce950 (diff) | |
download | dexon-0x-contracts-9dc4ec6fb5cad36f8308643b42aea119a2732ada.tar.gz dexon-0x-contracts-9dc4ec6fb5cad36f8308643b42aea119a2732ada.tar.zst dexon-0x-contracts-9dc4ec6fb5cad36f8308643b42aea119a2732ada.zip |
Fix prettier
Diffstat (limited to 'packages/contracts')
-rw-r--r-- | packages/contracts/test/zrx_token.ts | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/packages/contracts/test/zrx_token.ts b/packages/contracts/test/zrx_token.ts index ddb7f0b35..a5de67f64 100644 --- a/packages/contracts/test/zrx_token.ts +++ b/packages/contracts/test/zrx_token.ts @@ -109,7 +109,9 @@ describe('ZRXToken', () => { await zeroEx.token.setAllowanceAsync(zrxAddress, owner, spender, amountToTransfer, { gasLimit: constants.MAX_TOKEN_APPROVE_GAS, }); - const didReturnTrue = await zrxToken.transferFrom.callAsync(owner, spender, amountToTransfer, { from: spender }); + const didReturnTrue = await zrxToken.transferFrom.callAsync(owner, spender, amountToTransfer, { + from: spender, + }); expect(didReturnTrue).to.be.false(); }); @@ -121,13 +123,17 @@ describe('ZRXToken', () => { const spenderAllowanceIsInsufficient = spenderAllowance.cmp(amountToTransfer) < 0; expect(spenderAllowanceIsInsufficient).to.be.true(); - const didReturnTrue = await zrxToken.transferFrom.callAsync(owner, spender, amountToTransfer, { from: spender }); + const didReturnTrue = await zrxToken.transferFrom.callAsync(owner, spender, amountToTransfer, { + from: spender, + }); expect(didReturnTrue).to.be.false(); }); it('should return true on a 0 value transfer', async () => { const amountToTransfer = new BigNumber(0); - const didReturnTrue = await zrxToken.transferFrom.callAsync(owner, spender, amountToTransfer, { from: spender }); + const didReturnTrue = await zrxToken.transferFrom.callAsync(owner, spender, amountToTransfer, { + from: spender, + }); expect(didReturnTrue).to.be.true(); }); |