diff options
author | Fabio Berger <me@fabioberger.com> | 2017-11-09 23:21:38 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2017-11-09 23:21:38 +0800 |
commit | a8585df81bed4a1d4da8b0bb1f50e7f6e39c73ad (patch) | |
tree | eb23ffea29fd40f9b6463681e9f646ae4bf2f0b9 /test/token_wrapper_test.ts | |
parent | c96c681758a9bb62b4444ce21747c3781e9dc742 (diff) | |
download | dexon-sol-tools-a8585df81bed4a1d4da8b0bb1f50e7f6e39c73ad.tar dexon-sol-tools-a8585df81bed4a1d4da8b0bb1f50e7f6e39c73ad.tar.gz dexon-sol-tools-a8585df81bed4a1d4da8b0bb1f50e7f6e39c73ad.tar.bz2 dexon-sol-tools-a8585df81bed4a1d4da8b0bb1f50e7f6e39c73ad.tar.lz dexon-sol-tools-a8585df81bed4a1d4da8b0bb1f50e7f6e39c73ad.tar.xz dexon-sol-tools-a8585df81bed4a1d4da8b0bb1f50e7f6e39c73ad.tar.zst dexon-sol-tools-a8585df81bed4a1d4da8b0bb1f50e7f6e39c73ad.zip |
Fix tests by making the expected balance be 2^27 not 2^26
Diffstat (limited to 'test/token_wrapper_test.ts')
-rw-r--r-- | test/token_wrapper_test.ts | 4 |
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); }); }); |