diff options
author | Amir Bandeali <abandeali1@gmail.com> | 2018-06-23 07:27:41 +0800 |
---|---|---|
committer | Amir Bandeali <abandeali1@gmail.com> | 2018-06-26 07:19:07 +0800 |
commit | 7ce0f9682f5af7510d6bf8e5d731fd28ddbc4d3a (patch) | |
tree | 754f744293c8d82731a2574a3562cd49a5b43512 /packages/contracts/test/asset_proxy | |
parent | 3c6d0dc3e01c844f0765650dcb19e8d331a6b230 (diff) | |
download | dexon-sol-tools-7ce0f9682f5af7510d6bf8e5d731fd28ddbc4d3a.tar dexon-sol-tools-7ce0f9682f5af7510d6bf8e5d731fd28ddbc4d3a.tar.gz dexon-sol-tools-7ce0f9682f5af7510d6bf8e5d731fd28ddbc4d3a.tar.bz2 dexon-sol-tools-7ce0f9682f5af7510d6bf8e5d731fd28ddbc4d3a.tar.lz dexon-sol-tools-7ce0f9682f5af7510d6bf8e5d731fd28ddbc4d3a.tar.xz dexon-sol-tools-7ce0f9682f5af7510d6bf8e5d731fd28ddbc4d3a.tar.zst dexon-sol-tools-7ce0f9682f5af7510d6bf8e5d731fd28ddbc4d3a.zip |
Fix tests
Diffstat (limited to 'packages/contracts/test/asset_proxy')
-rw-r--r-- | packages/contracts/test/asset_proxy/decoder.ts | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/packages/contracts/test/asset_proxy/decoder.ts b/packages/contracts/test/asset_proxy/decoder.ts index b5a457933..902255caf 100644 --- a/packages/contracts/test/asset_proxy/decoder.ts +++ b/packages/contracts/test/asset_proxy/decoder.ts @@ -44,7 +44,6 @@ describe('TestAssetDataDecoders', () => { it('should correctly decode ERC721 asset data', async () => { const tokenId = generatePseudoRandomSalt(); const encodedAssetData = assetProxyUtils.encodeERC721AssetData(testAddress, tokenId); - console.log(encodedAssetData); const expectedDecodedAssetData = assetProxyUtils.decodeERC721AssetData(encodedAssetData); let decodedTokenAddress: string; let decodedTokenId: BigNumber; @@ -54,7 +53,7 @@ describe('TestAssetDataDecoders', () => { decodedTokenId, decodedData, ] = await testAssetProxyDecoder.publicDecodeERC721Data.callAsync(encodedAssetData); - expect(decodedTokenAddress).to.be.equal( expectedDecodedAssetData.tokenAddress); + expect(decodedTokenAddress).to.be.equal(expectedDecodedAssetData.tokenAddress); expect(decodedTokenId).to.be.bignumber.equal(expectedDecodedAssetData.tokenId); expect(decodedData).to.be.equal(expectedDecodedAssetData.receiverData); }); |