aboutsummaryrefslogtreecommitdiffstats
path: root/test/0x.js_test.ts
diff options
context:
space:
mode:
authorLeonid <logvinov.leon@gmail.com>2017-09-06 21:26:29 +0800
committerGitHub <noreply@github.com>2017-09-06 21:26:29 +0800
commitcb44b77d0b64bf4a0808cf1fea488ab2e1a60cf3 (patch)
treef7630683357f6a2273557d7027a1985f8a28f94b /test/0x.js_test.ts
parent92eb68bf2c412d42322ab7f483af91666ccbdcb1 (diff)
parent1baf06531755597e37498005eb2c29aef5114fab (diff)
downloaddexon-sol-tools-cb44b77d0b64bf4a0808cf1fea488ab2e1a60cf3.tar
dexon-sol-tools-cb44b77d0b64bf4a0808cf1fea488ab2e1a60cf3.tar.gz
dexon-sol-tools-cb44b77d0b64bf4a0808cf1fea488ab2e1a60cf3.tar.bz2
dexon-sol-tools-cb44b77d0b64bf4a0808cf1fea488ab2e1a60cf3.tar.lz
dexon-sol-tools-cb44b77d0b64bf4a0808cf1fea488ab2e1a60cf3.tar.xz
dexon-sol-tools-cb44b77d0b64bf4a0808cf1fea488ab2e1a60cf3.tar.zst
dexon-sol-tools-cb44b77d0b64bf4a0808cf1fea488ab2e1a60cf3.zip
Merge pull request #156 from 0xProject/feature/custom-abi-decoder
Custom abi decoder
Diffstat (limited to 'test/0x.js_test.ts')
-rw-r--r--test/0x.js_test.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/0x.js_test.ts b/test/0x.js_test.ts
index c453b8dab..5182275a8 100644
--- a/test/0x.js_test.ts
+++ b/test/0x.js_test.ts
@@ -9,6 +9,7 @@ import {constants} from './utils/constants';
import {TokenUtils} from './utils/token_utils';
import {web3Factory} from './utils/web3_factory';
import {BlockchainLifecycle} from './utils/blockchain_lifecycle';
+import {LogWithDecodedArgs} from '../src';
const blockchainLifecycle = new BlockchainLifecycle();
chaiSetup.configure();
@@ -223,7 +224,7 @@ describe('ZeroEx library', () => {
const proxyAddress = await zeroEx.proxy.getContractAddressAsync();
const txHash = await zeroEx.token.setUnlimitedProxyAllowanceAsync(zrxTokenAddress, coinbase);
const txReceiptWithDecodedLogs = await zeroEx.awaitTransactionMinedAsync(txHash);
- const log = txReceiptWithDecodedLogs.logs[0];
+ const log = txReceiptWithDecodedLogs.logs[0] as LogWithDecodedArgs;
expect(log.event).to.be.equal('Approval');
expect(log.args).to.be.deep.equal({
_owner: coinbase,