diff --git a/test/token/ERC6909/ERC6909.behavior.js b/test/token/ERC6909/ERC6909.behavior.js index 68d60949ade..abc6b06ff68 100644 --- a/test/token/ERC6909/ERC6909.behavior.js +++ b/test/token/ERC6909/ERC6909.behavior.js @@ -67,7 +67,7 @@ function shouldBehaveLikeERC6909() { }); it('emits an Approval event', async function () { - expect(this.tx) + await expect(this.tx) .to.emit(this.token, 'Approval') .withArgs(this.holder, this.operator, firstTokenId, firstTokenAmount); }); @@ -135,7 +135,7 @@ function shouldBehaveLikeERC6909() { }); it('should emit transfer event', async function () { - expect(this.tx) + await expect(this.tx) .to.emit(this.token, 'Transfer') .withArgs(this.operator, this.alice, this.bruce, firstTokenId, firstTokenAmount - 1n); }); diff --git a/test/token/ERC6909/ERC6909.test.js b/test/token/ERC6909/ERC6909.test.js index ec018e25de3..f2dc83afcf7 100644 --- a/test/token/ERC6909/ERC6909.test.js +++ b/test/token/ERC6909/ERC6909.test.js @@ -10,12 +10,12 @@ async function fixture() { return { token, operator, holder, otherAccounts }; } -describe.only('ERC6909', function () { +describe('ERC6909', function () { beforeEach(async function () { Object.assign(this, await loadFixture(fixture)); }); - // shouldBehaveLikeERC6909(); + shouldBehaveLikeERC6909(); describe('internal functions', function () { const tokenId = 1990n;