Finalize test migration: remove legacy dependencies and test helpers (#4797)

This commit is contained in:
Hadrien Croubois
2023-12-26 23:46:06 +01:00
committed by GitHub
parent abcf9dd8b7
commit a72c9561b9
96 changed files with 951 additions and 6503 deletions

View File

@ -39,7 +39,7 @@ describe('Pausable', function () {
});
it('emits a Paused event', async function () {
await expect(this.tx).to.emit(this.mock, 'Paused').withArgs(this.pauser.address);
await expect(this.tx).to.emit(this.mock, 'Paused').withArgs(this.pauser);
});
it('cannot perform normal process in pause', async function () {
@ -67,7 +67,7 @@ describe('Pausable', function () {
});
it('emits an Unpaused event', async function () {
await expect(this.tx).to.emit(this.mock, 'Unpaused').withArgs(this.pauser.address);
await expect(this.tx).to.emit(this.mock, 'Unpaused').withArgs(this.pauser);
});
it('should resume allowing normal process', async function () {