Hey everyone. Can I get a high-level view of what ...
# pact-js
d
Hey everyone. Can I get a high-level view of what I need to do to publish my contracts to Pactflow? I've got an Angular app using Jest and the contracts are already being generated in my repo. How do I actually publish them to Pactflow now?
👋 1
y
Also https://docs.pactflow.io/#consumer and select your language
d
Thanks! That was actually very easy and straight forward lol
y
Excellent! This page explains versioning as a concept but it seems that wasn't your problem! https://docs.pact.io/getting_started/versioning_in_the_pact_broker Is there any way the docs could have helped you there, or the command line tool in terms of the error messaging? @Timothy Jones provides an excellent package for versioning https://www.npmjs.com/package/absolute-version
d
I do think the command line tool error message could be more verbose in terms of mentioning what the exact issue was. e.g. "You provided a number for consumerVersion when we expected a string" as opposed to the current error message that showed which was "Must provide the consumerVersion argument" But besides that, the rest was super simple and straight forward