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

Feature request: json response from /interactions/verification #123

Open
TimothyJones opened this issue May 14, 2020 · 0 comments
Open

Feature request: json response from /interactions/verification #123

TimothyJones opened this issue May 14, 2020 · 0 comments

Comments

@TimothyJones
Copy link
Contributor

In pact-js, I'd like to be able to programatically query the verification of an interaction (especially when it is a failure) so that we can avoid the need to go to the logs, and can also do things like print out nice coloured diffs for different test frameworks.

At the moment, the endpoint returns a string that pact-js prints. Is it possible to get the option to return json instead (ideally includes all the diff information that is in the log file).

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