Fix tests

This commit is contained in:
Leonid Logvinov
2017-11-21 14:03:32 -06:00
parent e3cc283478
commit 66750f7349

View File

@@ -363,7 +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);
expect(logEvent.blockNumber).to.be.a('number');
const args = logEvent.args;
expect(args._from).to.be.equal(coinbase);
expect(args._to).to.be.equal(addressWithoutFunds);