diff --git a/test/metatx/ERC2771Context.test.js b/test/metatx/ERC2771Context.test.js index 0fe7092232b..8db92ab83e3 100644 --- a/test/metatx/ERC2771Context.test.js +++ b/test/metatx/ERC2771Context.test.js @@ -76,9 +76,7 @@ contract('ERC2771Context', function (accounts) { }; const sign = ethSigUtil.signTypedMessage(this.wallet.getPrivateKey(), { data: { ...this.data, message: req } }); - - // rejected by lint :/ - // expect(await this.forwarder.verify(req, sign)).to.equal(true); + expect(await this.forwarder.verify(req, sign)).to.equal(true); const { tx } = await this.forwarder.execute(req, sign); await expectEvent.inTransaction(tx, ERC2771ContextMock, 'Sender', { sender: this.sender }); @@ -101,9 +99,7 @@ contract('ERC2771Context', function (accounts) { }; const sign = ethSigUtil.signTypedMessage(this.wallet.getPrivateKey(), { data: { ...this.data, message: req } }); - - // rejected by lint :/ - // expect(await this.forwarder.verify(req, sign)).to.be.true; + expect(await this.forwarder.verify(req, sign)).to.equal(true); const { tx } = await this.forwarder.execute(req, sign); await expectEvent.inTransaction(tx, ERC2771ContextMock, 'Data', { data, integerValue, stringValue });