aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2017-09-06 21:10:59 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2017-09-06 21:10:59 +0800
commit9ae56485a9695c487313665f5dd920616884502e (patch)
tree0da62eb6a4cf6c7ff8e935ce790d0aadb70b1d0f
parenta7ba16ef4ad976bd6f80611b95d46f174b509e82 (diff)
downloaddexon-sol-tools-9ae56485a9695c487313665f5dd920616884502e.tar
dexon-sol-tools-9ae56485a9695c487313665f5dd920616884502e.tar.gz
dexon-sol-tools-9ae56485a9695c487313665f5dd920616884502e.tar.bz2
dexon-sol-tools-9ae56485a9695c487313665f5dd920616884502e.tar.lz
dexon-sol-tools-9ae56485a9695c487313665f5dd920616884502e.tar.xz
dexon-sol-tools-9ae56485a9695c487313665f5dd920616884502e.tar.zst
dexon-sol-tools-9ae56485a9695c487313665f5dd920616884502e.zip
Fix type error
-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,