aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2017-06-03 00:13:22 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2017-06-03 00:13:22 +0800
commit199843718fba26db72db6196be5036339e0cf9f9 (patch)
treef688f2d28618ca24ca654c78ea4dfdbd60ef78ba
parent76280dd5dbc5a5a2fb5f7230fa73d594f822c7e6 (diff)
downloaddexon-sol-tools-199843718fba26db72db6196be5036339e0cf9f9.tar
dexon-sol-tools-199843718fba26db72db6196be5036339e0cf9f9.tar.gz
dexon-sol-tools-199843718fba26db72db6196be5036339e0cf9f9.tar.bz2
dexon-sol-tools-199843718fba26db72db6196be5036339e0cf9f9.tar.lz
dexon-sol-tools-199843718fba26db72db6196be5036339e0cf9f9.tar.xz
dexon-sol-tools-199843718fba26db72db6196be5036339e0cf9f9.tar.zst
dexon-sol-tools-199843718fba26db72db6196be5036339e0cf9f9.zip
Remove spaces
-rw-r--r--test/exchange_wrapper_test.ts4
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))