We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When the consumer or provider name contains a slash, the slash is passed through to the file system, which creates folders:
Full pact file is present in the pacts/ folder, something like: pacts/a_b client-a_b api.json
pacts/
pacts/a_b client-a_b api.json
Alternatively, some kind of error that provider/consumer names are not allowed to contain slashes.
Pact file in a few folders deep: pacts/a/b client-a/b api.json
pacts/a/b client-a/b api.json
Use the following pact() call when using pact-js:
pact()
pact-js
const provider = pact({ consumer: 'A/B Client', provider: 'A/B API', port, done: error => expect(error).to.be.null });
The text was updated successfully, but these errors were encountered:
Originally opened as pact-foundation/pact-js#126
Sorry, something went wrong.
No branches or pull requests
When the consumer or provider name contains a slash, the slash is passed through to the file system, which creates folders:
Expected behaviour
Full pact file is present in the
pacts/
folder, something like:pacts/a_b client-a_b api.json
Alternatively, some kind of error that provider/consumer names are not allowed to contain slashes.
Actual behaviour
Pact file in a few folders deep:
pacts/a/b client-a/b api.json
Steps to reproduce
Use the following
pact()
call when usingpact-js
:The text was updated successfully, but these errors were encountered: