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

"to emit with error from": allow matching via "satisfies" #19

Open
boneskull opened this issue Jul 23, 2022 · 0 comments
Open

"to emit with error from": allow matching via "satisfies" #19

boneskull opened this issue Jul 23, 2022 · 0 comments

Comments

@boneskull
Copy link
Owner

Currently, "to emit with error from" expects an Error instance, and we should be able to provide a string, regexp, etc.--same as with "to reject with error satisfying ".

This may not be possible if it would introduce ambiguity.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant