diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-11-22 03:18:29 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-11-22 03:18:29 +0800 |
commit | 0747e162fa41a281d1fdce60cad494e265d09bb0 (patch) | |
tree | c81ccb5f0da0d7077e463bb4c158090f1081bb30 /packages/0x.js/test | |
parent | 8d6ba6ee7a73cdc00e089f0c493864cd02e5a833 (diff) | |
download | dexon-sol-tools-0747e162fa41a281d1fdce60cad494e265d09bb0.tar.gz dexon-sol-tools-0747e162fa41a281d1fdce60cad494e265d09bb0.tar.zst dexon-sol-tools-0747e162fa41a281d1fdce60cad494e265d09bb0.zip |
Add instanceOf assertion
Diffstat (limited to 'packages/0x.js/test')
-rw-r--r-- | packages/0x.js/test/token_wrapper_test.ts | 1 |
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); |