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).
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).