You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@NicolasWent thank you for the report. This is coming soon by adding count (which you can set to 0) on expectEmit with #9405
Closing as dupe for #509 Thank you!
Component
Forge
Describe the feature you would like
Hello,
It would be nice to have a new cheatcode
vm.expectNoEmit
This cheatcode would allow to test that no event was actually emited during the execution
Additional context
This feature can be useful if we like to test that our function doesn't do anything, currently I didn't found a way to do it
The text was updated successfully, but these errors were encountered: