aboutsummaryrefslogtreecommitdiffstats
path: root/packages/0x.js
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2017-11-22 03:18:29 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2017-11-22 03:18:29 +0800
commit0747e162fa41a281d1fdce60cad494e265d09bb0 (patch)
treec81ccb5f0da0d7077e463bb4c158090f1081bb30 /packages/0x.js
parent8d6ba6ee7a73cdc00e089f0c493864cd02e5a833 (diff)
downloaddexon-sol-tools-0747e162fa41a281d1fdce60cad494e265d09bb0.tar
dexon-sol-tools-0747e162fa41a281d1fdce60cad494e265d09bb0.tar.gz
dexon-sol-tools-0747e162fa41a281d1fdce60cad494e265d09bb0.tar.bz2
dexon-sol-tools-0747e162fa41a281d1fdce60cad494e265d09bb0.tar.lz
dexon-sol-tools-0747e162fa41a281d1fdce60cad494e265d09bb0.tar.xz
dexon-sol-tools-0747e162fa41a281d1fdce60cad494e265d09bb0.tar.zst
dexon-sol-tools-0747e162fa41a281d1fdce60cad494e265d09bb0.zip
Add instanceOf assertion
Diffstat (limited to 'packages/0x.js')
-rw-r--r--packages/0x.js/test/token_wrapper_test.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/0x.js/test/token_wrapper_test.ts b/packages/0x.js/test/token_wrapper_test.ts
index 07276877d..c32c528e6 100644
--- a/packages/0x.js/test/token_wrapper_test.ts
+++ b/packages/0x.js/test/token_wrapper_test.ts
@@ -363,6 +363,7 @@ describe('TokenWrapper', () => {
expect(logEvent).to.not.be.undefined();
expect(logEvent.logIndex).to.be.equal(0);
expect(logEvent.transactionIndex).to.be.equal(0);
+ expect(logEvent.blockNumber).to.be.instanceOf(Number);
const args = logEvent.args;
expect(args._from).to.be.equal(coinbase);
expect(args._to).to.be.equal(addressWithoutFunds);