We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f00fce5 commit 0861867Copy full SHA for 0861867
test/lifecycle/Pausable.test.js
@@ -64,4 +64,12 @@ contract('Pausable', function () {
64
const drasticMeasureTaken = await this.Pausable.drasticMeasureTaken();
65
drasticMeasureTaken.should.be.false;
66
});
67
+
68
+ it('should log events appropriately', async function () {
69
+ const setPauseLogs = (await this.Pausable.pause()).logs;
70
+ setPauseLogs.find(e => e.event === 'Pause');
71
72
+ const setUnPauseLogs = (await this.Pausable.unpause()).logs;
73
+ setUnPauseLogs.find(e => e.event === 'UnPause');
74
+ });
75
0 commit comments