Remove async from describe blocks and add missing await in tests (#4942)
Co-authored-by: ernestognw <ernestognw@gmail.com> Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
This commit is contained in:
@ -48,7 +48,7 @@ describe('Ownable2Step', function () {
|
||||
});
|
||||
});
|
||||
|
||||
describe('renouncing ownership', async function () {
|
||||
describe('renouncing ownership', function () {
|
||||
it('changes owner after renouncing ownership', async function () {
|
||||
await expect(this.ownable2Step.connect(this.owner).renounceOwnership())
|
||||
.to.emit(this.ownable2Step, 'OwnershipTransferred')
|
||||
|
||||
Reference in New Issue
Block a user