diff --git a/test/helpers/test/expectEvent.test.js b/test/helpers/test/expectEvent.test.js index 158a9f374..8d162faec 100644 --- a/test/helpers/test/expectEvent.test.js +++ b/test/helpers/test/expectEvent.test.js @@ -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 }); + }); + }); });