aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2017-11-09 23:21:38 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2017-11-10 03:11:46 +0800
commitc7c81a1f7e11daf0768617501657cb0266c0096a (patch)
tree2aa72525f61958b15866672727232fa2bb321912
parentae74965774e8b0f12165d02135097f25f8fa927b (diff)
downloaddexon-sol-tools-c7c81a1f7e11daf0768617501657cb0266c0096a.tar
dexon-sol-tools-c7c81a1f7e11daf0768617501657cb0266c0096a.tar.gz
dexon-sol-tools-c7c81a1f7e11daf0768617501657cb0266c0096a.tar.bz2
dexon-sol-tools-c7c81a1f7e11daf0768617501657cb0266c0096a.tar.lz
dexon-sol-tools-c7c81a1f7e11daf0768617501657cb0266c0096a.tar.xz
dexon-sol-tools-c7c81a1f7e11daf0768617501657cb0266c0096a.tar.zst
dexon-sol-tools-c7c81a1f7e11daf0768617501657cb0266c0096a.zip
Fix tests by making the expected balance be 2^27 not 2^26
-rw-r--r--test/token_wrapper_test.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/token_wrapper_test.ts b/test/token_wrapper_test.ts
index 2f6f126c1..23020c47a 100644
--- a/test/token_wrapper_test.ts
+++ b/test/token_wrapper_test.ts
@@ -162,7 +162,7 @@ describe('TokenWrapper', () => {
const token = tokens[0];
const ownerAddress = coinbase;
const balance = await zeroEx.token.getBalanceAsync(token.address, ownerAddress);
- const expectedBalance = new BigNumber('100000000000000000000000000');
+ const expectedBalance = new BigNumber('1000000000000000000000000000');
return expect(balance).to.be.bignumber.equal(expectedBalance);
});
it('should throw a CONTRACT_DOES_NOT_EXIST error for a non-existent token contract', async () => {
@@ -190,7 +190,7 @@ describe('TokenWrapper', () => {
const token = tokens[0];
const ownerAddress = coinbase;
const balance = await zeroExWithoutAccounts.token.getBalanceAsync(token.address, ownerAddress);
- const expectedBalance = new BigNumber('100000000000000000000000000');
+ const expectedBalance = new BigNumber('1000000000000000000000000000');
return expect(balance).to.be.bignumber.equal(expectedBalance);
});
});