Added inTransaction tests.

This commit is contained in:
Nicolás Venturo
2018-11-22 12:41:59 -03:00
parent 5471fc808a
commit 4469c55358

View File

@ -229,4 +229,11 @@ describe('expectEvent', function () {
});
});
});
describe('inTransaction', function () {
it('processes the logs inside a transaction', async function () {
const tx = await this.emitter.emitShortUint(5);
expectEvent.inTransaction(tx, 'ShortInt', { value: 5 });
});
});
});