Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for no event emission check #4180

Closed
Rubilmax opened this issue Jan 26, 2023 · 1 comment
Closed

Support for no event emission check #4180

Rubilmax opened this issue Jan 26, 2023 · 1 comment
Labels
T-feature Type: feature

Comments

@Rubilmax
Copy link
Contributor

Component

Forge

Describe the feature you would like

A usecase we've encountered recently in our unit tests would be to check that a specific event was not emitted when testing a specific branch of code. It seems there's no way to do this currently, am I mistaken?

This could take the form of vm.expectNoEmit and work just like vm.expectEmit

Additional context

No response

@mds1
Copy link
Collaborator

mds1 commented Jan 26, 2023

Seems to be a duplicate of #509?

@Rubilmax Rubilmax closed this as not planned Won't fix, can't repro, duplicate, stale Jan 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
T-feature Type: feature
Projects
None yet
Development

No branches or pull requests

2 participants