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

Add ability to debug matcher #6

Open
reagent opened this issue Mar 22, 2023 · 1 comment
Open

Add ability to debug matcher #6

reagent opened this issue Mar 22, 2023 · 1 comment

Comments

@reagent
Copy link
Owner

reagent commented Mar 22, 2023

Sometimes when doing a complex match (e.g. JSON body on POST) it's hard to know why the request is failing and I have to dig into the internals to debug what's going on. It would be good to have a debug flag that would make this easier.

@reagent
Copy link
Owner Author

reagent commented Mar 22, 2023

The exception raised by deepEqual will have some details about the discrepancy between the two values -- this may be good for debugging or just reporting match failures.

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

No branches or pull requests

1 participant