diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-06-03 00:13:22 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-06-03 00:13:22 +0800 |
commit | 199843718fba26db72db6196be5036339e0cf9f9 (patch) | |
tree | f688f2d28618ca24ca654c78ea4dfdbd60ef78ba /test | |
parent | 76280dd5dbc5a5a2fb5f7230fa73d594f822c7e6 (diff) | |
download | dexon-sol-tools-199843718fba26db72db6196be5036339e0cf9f9.tar.gz dexon-sol-tools-199843718fba26db72db6196be5036339e0cf9f9.tar.zst dexon-sol-tools-199843718fba26db72db6196be5036339e0cf9f9.zip |
Remove spaces
Diffstat (limited to 'test')
-rw-r--r-- | test/exchange_wrapper_test.ts | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/test/exchange_wrapper_test.ts b/test/exchange_wrapper_test.ts index 87a6fbb85..ed6f68954 100644 --- a/test/exchange_wrapper_test.ts +++ b/test/exchange_wrapper_test.ts @@ -115,7 +115,7 @@ describe('ExchangeWrapper', () => { let zrxTokenAddress: string; const fillTakerAmount = new BigNumber(5); const shouldCheckTransfer = false; - before('fetch tokens', async () => { + before(async () => { [coinbase, makerAddress, takerAddress, feeRecipient] = userAddresses; tokens = await zeroEx.tokenRegistry.getTokensAsync(); const tokenUtils = new TokenUtils(tokens); @@ -171,7 +171,6 @@ describe('ExchangeWrapper', () => { ); }); it('should throw when taker balance is less than fill amount', async () => { - await zeroEx.token.transferAsync(takerTokenAddress, takerAddress, coinbase, lackingBalance); zeroEx.setTransactionSenderAccount(takerAddress); return expect(zeroEx.exchange.fillOrderAsync( @@ -267,7 +266,6 @@ describe('ExchangeWrapper', () => { const signedOrder = await fillScenarios.createFillableSignedOrderAsync( makerTokenAddress, takerTokenAddress, makerAddress, takerAddress, fillableAmount, ); - expect(await zeroEx.token.getBalanceAsync(makerTokenAddress, makerAddress)) .to.be.bignumber.equal(fillableAmount); expect(await zeroEx.token.getBalanceAsync(takerTokenAddress, makerAddress)) |