diff --git a/CHANGELOG.md b/CHANGELOG.md index a1d979842..7e5b729ee 100755 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -345,7 +345,7 @@ All notable changes to this project will be documented in this file. See [commit ### Features * drop support for pact web incl. karma examples ([d45f898](https://github.com/pact-foundation/pact-js/commit/d45f898b29a62aa77cecff499a46ce365fd2c79a)) -* modify request body inside of verifer ([#873](https://github.com/pact-foundation/pact-js/issues/873)) ([be8ed15](https://github.com/pact-foundation/pact-js/commit/be8ed151c607b69bcf07670df211156887adb29e)) +* modify request body inside of verifier ([#873](https://github.com/pact-foundation/pact-js/issues/873)) ([be8ed15](https://github.com/pact-foundation/pact-js/commit/be8ed151c607b69bcf07670df211156887adb29e)) ### Fixes and Improvements @@ -551,7 +551,7 @@ All notable changes to this project will be documented in this file. See [commit ### Fixes and Improvements -* correct VerfierV3Options so that it doesn't clobber VeriferOptions ([5796fde](https://github.com/pact-foundation/pact-js/commit/5796fdeb96c354316fe9606f0a9a7fc0c3d43532)) +* correct VerifierV3Options so that it doesn't clobber VerifierOptions ([5796fde](https://github.com/pact-foundation/pact-js/commit/5796fdeb96c354316fe9606f0a9a7fc0c3d43532)) * You no longer need to import the verifier from /v3, it can be imported directly from @pact-foundation/pact ([c268497](https://github.com/pact-foundation/pact-js/commit/c268497e1fd848d3423d379a2671361ea56c9b53)) ## [10.0.0-beta.44](https://github.com/pact-foundation/pact-js/compare/v10.0.0-beta.43...v10.0.0-beta.44) (2021-07-22) @@ -872,7 +872,7 @@ different state phases. ### Features -* add some tests around the conusmer DSL matchers ([e6a153f](https://github.com/pact-foundation/pact-js/commit/e6a153fd62d48644b97018d69e5f23d1710e510f)) +* add some tests around the consumer DSL matchers ([e6a153f](https://github.com/pact-foundation/pact-js/commit/e6a153fd62d48644b97018d69e5f23d1710e510f)) * handle XML matching with different types of child elements ([2143ca4](https://github.com/pact-foundation/pact-js/commit/2143ca4c968969e1c6218dd8e538097733ccfa56)) * implemented consumer DSL URL matcher ([f27a444](https://github.com/pact-foundation/pact-js/commit/f27a44409aed3ece1adbab6af9e853b7684c101c)) @@ -931,7 +931,7 @@ different state phases. ### Fixes and Improvements -* accidentially commited development paths in cargo manefest ([03cc16f](https://github.com/pact-foundation/pact-js/commit/03cc16f71d5f6a6cd646cdb6cf5421a134cb159e)) +* accidentally committed development paths in cargo manifest ([03cc16f](https://github.com/pact-foundation/pact-js/commit/03cc16f71d5f6a6cd646cdb6cf5421a134cb159e)) * format the error messages in a better way ([0a15772](https://github.com/pact-foundation/pact-js/commit/0a15772a710d3d159648672470084a1c99b45cc8)) * handle error when pact file cannot be written ([82832a8](https://github.com/pact-foundation/pact-js/commit/82832a81c115d06ef2d9c1fadd18c54f6f629e59)) * throw an exception when a request is configured but no interaction defined ([b317da7](https://github.com/pact-foundation/pact-js/commit/b317da79f28dce45102a55bcdcbc415d3fbdb9ab)) @@ -1102,7 +1102,7 @@ different state phases. ### Fixes and Improvements * broken pact provider test not consistent with types ([29af342](https://github.com/pact-foundation/pact-js/commit/29af34250cdc308a5298553f5ee9bbb9daf182cb)) -* correct VerfierV3Options so that it doesn't clobber VeriferOptions ([5796fde](https://github.com/pact-foundation/pact-js/commit/5796fdeb96c354316fe9606f0a9a7fc0c3d43532)) +* correct VerifierV3Options so that it doesn't clobber VerifierOptions ([5796fde](https://github.com/pact-foundation/pact-js/commit/5796fdeb96c354316fe9606f0a9a7fc0c3d43532)) * using relative import. fixes problems with intellisense in vscode ([35de1c5](https://github.com/pact-foundation/pact-js/commit/35de1c57d744d5bc747e6af114c8d272b2a8cec4)) * You no longer need to import the verifier from /v3, it can be imported directly from @pact-foundation/pact ([c268497](https://github.com/pact-foundation/pact-js/commit/c268497e1fd848d3423d379a2671361ea56c9b53)) @@ -1422,7 +1422,7 @@ different state phases. ### Features -* add some tests around the conusmer DSL matchers ([e6a153f](https://github.com/pact-foundation/pact-js/commit/e6a153fd62d48644b97018d69e5f23d1710e510f)) +* add some tests around the consumer DSL matchers ([e6a153f](https://github.com/pact-foundation/pact-js/commit/e6a153fd62d48644b97018d69e5f23d1710e510f)) * handle XML matching with different types of child elements ([2143ca4](https://github.com/pact-foundation/pact-js/commit/2143ca4c968969e1c6218dd8e538097733ccfa56)) * implemented consumer DSL URL matcher ([f27a444](https://github.com/pact-foundation/pact-js/commit/f27a44409aed3ece1adbab6af9e853b7684c101c)) @@ -1481,7 +1481,7 @@ different state phases. ### Fixes and Improvements -* accidentially commited development paths in cargo manefest ([03cc16f](https://github.com/pact-foundation/pact-js/commit/03cc16f71d5f6a6cd646cdb6cf5421a134cb159e)) +* accidentally committed development paths in cargo manifest ([03cc16f](https://github.com/pact-foundation/pact-js/commit/03cc16f71d5f6a6cd646cdb6cf5421a134cb159e)) * format the error messages in a better way ([0a15772](https://github.com/pact-foundation/pact-js/commit/0a15772a710d3d159648672470084a1c99b45cc8)) * handle error when pact file cannot be written ([82832a8](https://github.com/pact-foundation/pact-js/commit/82832a81c115d06ef2d9c1fadd18c54f6f629e59)) * throw an exception when a request is configured but no interaction defined ([b317da7](https://github.com/pact-foundation/pact-js/commit/b317da79f28dce45102a55bcdcbc415d3fbdb9ab)) @@ -1785,7 +1785,7 @@ different state phases. ### Features -* add some tests around the conusmer DSL matchers ([e6a153f](https://github.com/pact-foundation/pact-js/commit/e6a153fd62d48644b97018d69e5f23d1710e510f)) +* add some tests around the consumer DSL matchers ([e6a153f](https://github.com/pact-foundation/pact-js/commit/e6a153fd62d48644b97018d69e5f23d1710e510f)) * handle XML matching with different types of child elements ([2143ca4](https://github.com/pact-foundation/pact-js/commit/2143ca4c968969e1c6218dd8e538097733ccfa56)) * implemented consumer DSL URL matcher ([f27a444](https://github.com/pact-foundation/pact-js/commit/f27a44409aed3ece1adbab6af9e853b7684c101c)) @@ -1844,7 +1844,7 @@ different state phases. ### Fixes and Improvements -* accidentially commited development paths in cargo manefest ([03cc16f](https://github.com/pact-foundation/pact-js/commit/03cc16f71d5f6a6cd646cdb6cf5421a134cb159e)) +* accidentally committed development paths in cargo manifest ([03cc16f](https://github.com/pact-foundation/pact-js/commit/03cc16f71d5f6a6cd646cdb6cf5421a134cb159e)) * format the error messages in a better way ([0a15772](https://github.com/pact-foundation/pact-js/commit/0a15772a710d3d159648672470084a1c99b45cc8)) * handle error when pact file cannot be written ([82832a8](https://github.com/pact-foundation/pact-js/commit/82832a81c115d06ef2d9c1fadd18c54f6f629e59)) * throw an exception when a request is configured but no interaction defined ([b317da7](https://github.com/pact-foundation/pact-js/commit/b317da79f28dce45102a55bcdcbc415d3fbdb9ab)) @@ -2029,7 +2029,7 @@ different state phases. ### Features -* add some tests around the conusmer DSL matchers ([e6a153f](https://github.com/pact-foundation/pact-js/commit/e6a153fd62d48644b97018d69e5f23d1710e510f)) +* add some tests around the consumer DSL matchers ([e6a153f](https://github.com/pact-foundation/pact-js/commit/e6a153fd62d48644b97018d69e5f23d1710e510f)) * handle XML matching with different types of child elements ([2143ca4](https://github.com/pact-foundation/pact-js/commit/2143ca4c968969e1c6218dd8e538097733ccfa56)) * implemented consumer DSL URL matcher ([f27a444](https://github.com/pact-foundation/pact-js/commit/f27a44409aed3ece1adbab6af9e853b7684c101c)) @@ -2088,7 +2088,7 @@ different state phases. ### Bug Fixes -* accidentially commited development paths in cargo manefest ([03cc16f](https://github.com/pact-foundation/pact-js/commit/03cc16f71d5f6a6cd646cdb6cf5421a134cb159e)) +* accidentally committed development paths in cargo manifest ([03cc16f](https://github.com/pact-foundation/pact-js/commit/03cc16f71d5f6a6cd646cdb6cf5421a134cb159e)) * format the error messages in a better way ([0a15772](https://github.com/pact-foundation/pact-js/commit/0a15772a710d3d159648672470084a1c99b45cc8)) * handle error when pact file cannot be written ([82832a8](https://github.com/pact-foundation/pact-js/commit/82832a81c115d06ef2d9c1fadd18c54f6f629e59)) * throw an exception when a request is configured but no interaction defined ([b317da7](https://github.com/pact-foundation/pact-js/commit/b317da79f28dce45102a55bcdcbc415d3fbdb9ab)) @@ -2241,7 +2241,7 @@ different state phases. ### Features -* add some tests around the conusmer DSL matchers ([e6a153f](https://github.com/pact-foundation/pact-js/commit/e6a153fd62d48644b97018d69e5f23d1710e510f)) +* add some tests around the consumer DSL matchers ([e6a153f](https://github.com/pact-foundation/pact-js/commit/e6a153fd62d48644b97018d69e5f23d1710e510f)) * handle XML matching with different types of child elements ([2143ca4](https://github.com/pact-foundation/pact-js/commit/2143ca4c968969e1c6218dd8e538097733ccfa56)) * implemented consumer DSL URL matcher ([f27a444](https://github.com/pact-foundation/pact-js/commit/f27a44409aed3ece1adbab6af9e853b7684c101c)) @@ -2300,7 +2300,7 @@ different state phases. ### Bug Fixes -* accidentially commited development paths in cargo manefest ([03cc16f](https://github.com/pact-foundation/pact-js/commit/03cc16f71d5f6a6cd646cdb6cf5421a134cb159e)) +* accidentally committed development paths in cargo manifest ([03cc16f](https://github.com/pact-foundation/pact-js/commit/03cc16f71d5f6a6cd646cdb6cf5421a134cb159e)) * format the error messages in a better way ([0a15772](https://github.com/pact-foundation/pact-js/commit/0a15772a710d3d159648672470084a1c99b45cc8)) * handle error when pact file cannot be written ([82832a8](https://github.com/pact-foundation/pact-js/commit/82832a81c115d06ef2d9c1fadd18c54f6f629e59)) * throw an exception when a request is configured but no interaction defined ([b317da7](https://github.com/pact-foundation/pact-js/commit/b317da79f28dce45102a55bcdcbc415d3fbdb9ab)) @@ -2430,7 +2430,7 @@ different state phases. ### Features -* add some tests around the conusmer DSL matchers ([e6a153f](https://github.com/pact-foundation/pact-js/commit/e6a153fd62d48644b97018d69e5f23d1710e510f)) +* add some tests around the consumer DSL matchers ([e6a153f](https://github.com/pact-foundation/pact-js/commit/e6a153fd62d48644b97018d69e5f23d1710e510f)) * handle XML matching with different types of child elements ([2143ca4](https://github.com/pact-foundation/pact-js/commit/2143ca4c968969e1c6218dd8e538097733ccfa56)) * implemented consumer DSL URL matcher ([f27a444](https://github.com/pact-foundation/pact-js/commit/f27a44409aed3ece1adbab6af9e853b7684c101c)) @@ -2489,7 +2489,7 @@ different state phases. ### Bug Fixes -* accidentially commited development paths in cargo manefest ([03cc16f](https://github.com/pact-foundation/pact-js/commit/03cc16f71d5f6a6cd646cdb6cf5421a134cb159e)) +* accidentally committed development paths in cargo manifest ([03cc16f](https://github.com/pact-foundation/pact-js/commit/03cc16f71d5f6a6cd646cdb6cf5421a134cb159e)) * format the error messages in a better way ([0a15772](https://github.com/pact-foundation/pact-js/commit/0a15772a710d3d159648672470084a1c99b45cc8)) * handle error when pact file cannot be written ([82832a8](https://github.com/pact-foundation/pact-js/commit/82832a81c115d06ef2d9c1fadd18c54f6f629e59)) * throw an exception when a request is configured but no interaction defined ([b317da7](https://github.com/pact-foundation/pact-js/commit/b317da79f28dce45102a55bcdcbc415d3fbdb9ab)) @@ -2578,7 +2578,7 @@ different state phases. -* add some tests around the conusmer DSL matchers ([e6a153f](https://github.com/pact-foundation/pact-js/commit/e6a153fd62d48644b97018d69e5f23d1710e510f)) +* add some tests around the consumer DSL matchers ([e6a153f](https://github.com/pact-foundation/pact-js/commit/e6a153fd62d48644b97018d69e5f23d1710e510f)) * handle XML matching with different types of child elements ([2143ca4](https://github.com/pact-foundation/pact-js/commit/2143ca4c968969e1c6218dd8e538097733ccfa56)) * implemented consumer DSL URL matcher ([f27a444](https://github.com/pact-foundation/pact-js/commit/f27a44409aed3ece1adbab6af9e853b7684c101c)) @@ -2664,7 +2664,7 @@ different state phases. ### Bug Fixes -* accidentially commited development paths in cargo manefest ([03cc16f](https://github.com/pact-foundation/pact-js/commit/03cc16f71d5f6a6cd646cdb6cf5421a134cb159e)) +* accidentally committed development paths in cargo manifest ([03cc16f](https://github.com/pact-foundation/pact-js/commit/03cc16f71d5f6a6cd646cdb6cf5421a134cb159e)) * format the error messages in a better way ([0a15772](https://github.com/pact-foundation/pact-js/commit/0a15772a710d3d159648672470084a1c99b45cc8)) * handle error when pact file cannot be written ([82832a8](https://github.com/pact-foundation/pact-js/commit/82832a81c115d06ef2d9c1fadd18c54f6f629e59)) * throw an exception when a request is configured but no interaction defined ([b317da7](https://github.com/pact-foundation/pact-js/commit/b317da79f28dce45102a55bcdcbc415d3fbdb9ab)) @@ -2730,7 +2730,7 @@ different state phases. ### Features -* add some tests around the conusmer DSL matchers ([e6a153f](https://github.com/pact-foundation/pact-js/commit/e6a153fd62d48644b97018d69e5f23d1710e510f)) +* add some tests around the consumer DSL matchers ([e6a153f](https://github.com/pact-foundation/pact-js/commit/e6a153fd62d48644b97018d69e5f23d1710e510f)) * handle XML matching with different types of child elements ([2143ca4](https://github.com/pact-foundation/pact-js/commit/2143ca4c968969e1c6218dd8e538097733ccfa56)) * implemented consumer DSL URL matcher ([f27a444](https://github.com/pact-foundation/pact-js/commit/f27a44409aed3ece1adbab6af9e853b7684c101c)) * package.json & package-lock.json to reduce vulnerabilities ([0bb8512](https://github.com/pact-foundation/pact-js/commit/0bb851255c0f08d25fd935e5bd164ce99063a9ae)) @@ -2811,7 +2811,7 @@ different state phases. ### Bug Fixes -* accidentially commited development paths in cargo manefest ([03cc16f](https://github.com/pact-foundation/pact-js/commit/03cc16f71d5f6a6cd646cdb6cf5421a134cb159e)) +* accidentally committed development paths in cargo manifest ([03cc16f](https://github.com/pact-foundation/pact-js/commit/03cc16f71d5f6a6cd646cdb6cf5421a134cb159e)) * comments and accidental package ([efe2f4e](https://github.com/pact-foundation/pact-js/commit/efe2f4eef3f05e8ea4a067403c69b75e3236aea9)) * dir file location error ([86ab843](https://github.com/pact-foundation/pact-js/commit/86ab8433a5c4400330c71b6e9a64cfde49c75461)) * format the error messages in a better way ([0a15772](https://github.com/pact-foundation/pact-js/commit/0a15772a710d3d159648672470084a1c99b45cc8)) diff --git a/MIGRATION.md b/MIGRATION.md index e016acb38..1ee07fe9d 100644 --- a/MIGRATION.md +++ b/MIGRATION.md @@ -5,21 +5,21 @@ ## Breaking Changes All CLI/API functionality provided by the Pact CLI tools (ruby based) now migrated to - + * Repo - + * https://github.com/pact-foundation/pact-js-cli/ - + * NPM Package - + * https://www.npmjs.com/package/@pact-foundation/pact-cli - + * imports - - * `@pact-foundation/pact-core` imports will now become `@pact-foundation/pact-cli` for programatic usage of the CLI tools + + * `@pact-foundation/pact-core` imports will now become `@pact-foundation/pact-cli` for programmatic usage of the CLI tools * npx usage - + * `npx --package=@pact-foundation/pact-cli@15.0.0 -c pact-broker` # 11.x.x -> 12.x.x @@ -53,7 +53,7 @@ Removed the default export for v3 in the root package in preparation for a relea * add binary content support to messages via `WithBinaryContent` * add text content support to messages via `WithTextContent` * Remove all Ruby dependencies in DSLs -* `pactfileWriteMode` still supports the same options, however the behaviour of `overwrite` is such now that it will overwrite the pact file _per test_, not pact run of Pact. This is because there is no longer a single long running mock server as per previous versions. Set to `merge` or leave blank for a sensible default. +* `pactfileWriteMode` still supports the same options, however the behaviour of `overwrite` is such now that it will overwrite the pact file _per test_, not pact run of Pact. This is because there is no longer a single long running mock server as per previous versions. Set to `merge` or leave blank for a sensible default. * As per the change to `pactfileWriteMode` this also means pact files should be cleared out prior to each test, to avoid extraneous interactions in a pact file. * Array matcher currently doesn't work on query strings (see https://github.com/pact-foundation/pact-reference/issues/205). However, an array with matchers is supported (see jest spec) * the `mockService` property on the `Pact` class is no longer an actual `MockService`, but supports the `baseUrl` property. diff --git a/README.md b/README.md index 4fcbeaef3..e249b53e0 100644 --- a/README.md +++ b/README.md @@ -96,7 +96,7 @@ npm i -S @pact-foundation/pact@latest # 🚀 now write some tests! ``` -Looking for the previous [stable 9.x.x release](https://github.com/pact-foundation/pact-js/tree/9.x.x)? +Looking for the previous [stable 9.x.x release](https://github.com/pact-foundation/pact-js/tree/9.x.x)? ### Requirements @@ -136,7 +136,7 @@ const provider = new PactV3({ provider: 'MyProvider', }); -// API Client that will fetch dogs from the Dog API +// API Client that will fetch dogs from the Dog API // This is the target of our Pact test public getMeDogs = (from: string): AxiosPromise => { return axios.request({ @@ -174,8 +174,8 @@ describe('GET /dogs', () => { return provider.executeTest((mockserver) => { // Act: test our API client behaves correctly // - // Note we configure the DogService API client dynamically to - // point to the mock service Pact created for us, instead of + // Note we configure the DogService API client dynamically to + // point to the mock service Pact created for us, instead of // the real one dogService = new DogService(mockserver.url); const response = await dogService.getMeDogs('today') diff --git a/RELEASING.md b/RELEASING.md index 502e0015f..2aee8e119 100644 --- a/RELEASING.md +++ b/RELEASING.md @@ -4,7 +4,7 @@ We've moved to GitHub Actions for releases. ## How a release works -Releases trigger when the repository recieves the custom repository_dispatch event +Releases trigger when the repository receives the custom repository_dispatch event `release-triggered`. This triggers the `publish.yml` workflow, which in turn diff --git a/examples/e2e/test/consumer.spec.js b/examples/e2e/test/consumer.spec.js index 08960cdb5..145781f3a 100644 --- a/examples/e2e/test/consumer.spec.js +++ b/examples/e2e/test/consumer.spec.js @@ -171,7 +171,7 @@ describe('Pact', () => { }); }); - describe('when a call to the Animal Service is made to retreive a single animal by ID', () => { + describe('when a call to the Animal Service is made to retrieve a single animal by ID', () => { describe('and there is an animal in the DB with ID 1', () => { before(() => provider.addInteraction({ diff --git a/examples/v3/provider-state-injected/provider/account-repository.js b/examples/v3/provider-state-injected/provider/account-repository.js index 43ed2b608..ffc2fc04a 100644 --- a/examples/v3/provider-state-injected/provider/account-repository.js +++ b/examples/v3/provider-state-injected/provider/account-repository.js @@ -20,7 +20,7 @@ const accounts = []; const accountRepository = { save: (account) => { - // This similates a save to the DB where the IDs get allocated + // This simulates a save to the DB where the IDs get allocated let id = Math.floor(Math.random() * Math.floor(100000)); let accountNumber = Math.floor(Math.random() * Math.floor(100000)); let version = Math.floor(Math.random() * Math.floor(10)); diff --git a/src/dsl/apolloGraphql.spec.ts b/src/dsl/apolloGraphql.spec.ts index 22dee2324..3df717f09 100644 --- a/src/dsl/apolloGraphql.spec.ts +++ b/src/dsl/apolloGraphql.spec.ts @@ -56,7 +56,7 @@ describe('ApolloGraphQLInteraction', () => { }); describe('#withOperation', () => { - describe('when no operationNaame is presented', () => { + describe('when no operationName is presented', () => { it('adds a null operationName property to the payload', () => { interaction.uponReceiving('a request'); interaction.withRequest({ diff --git a/src/dsl/interaction.ts b/src/dsl/interaction.ts index 6a3e31992..749bedff8 100644 --- a/src/dsl/interaction.ts +++ b/src/dsl/interaction.ts @@ -109,7 +109,7 @@ export class Interaction { * @param {string} requestOpts.method - The HTTP method * @param {string} requestOpts.path - The path of the URL * @param {string} requestOpts.query - Any query string in the interaction - * @param {Object} requestOpts.headers - A key-value pair oject of headers + * @param {Object} requestOpts.headers - A key-value pair object of headers * @param {Object} requestOpts.body - The body, in {@link String} format or {@link Object} format * @returns {Interaction} interaction */ diff --git a/src/messageConsumerPact.ts b/src/messageConsumerPact.ts index 7ff1f617b..d2592c268 100644 --- a/src/messageConsumerPact.ts +++ b/src/messageConsumerPact.ts @@ -37,7 +37,7 @@ type InternalMessageState = { }; /** - * A Message Consumer is analagous to a Provider in the HTTP Interaction model. + * A Message Consumer is analogous to a Provider in the HTTP Interaction model. * It is the receiver of an interaction, and needs to be able to handle whatever * request was provided. */ diff --git a/src/messageProviderPact.spec.ts b/src/messageProviderPact.spec.ts index bd2a74ac9..2a8dbfa93 100644 --- a/src/messageProviderPact.spec.ts +++ b/src/messageProviderPact.spec.ts @@ -15,7 +15,7 @@ chai.use(chaiAsPromised); const { expect } = chai; -describe('MesageProvider', () => { +describe('MessageProvider', () => { let provider: MessageProviderPact; const successfulRequest = 'successfulRequest'; const unsuccessfulRequest = 'unsuccessfulRequest'; diff --git a/src/messageProviderPact.ts b/src/messageProviderPact.ts index c2fb4d939..e9e033f97 100644 --- a/src/messageProviderPact.ts +++ b/src/messageProviderPact.ts @@ -56,7 +56,7 @@ export const providerWithMetadata = ); /** - * A Message Provider is analagous to Consumer in the HTTP Interaction model. + * A Message Provider is analogous to Consumer in the HTTP Interaction model. * * It is the initiator of an interaction, and expects something on the other end * of the interaction to respond - just in this case, not immediately. diff --git a/src/v3/matchers.ts b/src/v3/matchers.ts index 3d6d4ceb0..cae342215 100644 --- a/src/v3/matchers.ts +++ b/src/v3/matchers.ts @@ -448,7 +448,7 @@ export function url2( }), ].join(''); - // Temporary fix for inconsistancies between matchers and generators. Matchers use "value" attribute for + // Temporary fix for inconsistencies between matchers and generators. Matchers use "value" attribute for // example values, while generators use "example" if (basePath == null) { return { diff --git a/src/v4/http/types.ts b/src/v4/http/types.ts index 9e5ea7877..2ae59561f 100644 --- a/src/v4/http/types.ts +++ b/src/v4/http/types.ts @@ -78,7 +78,7 @@ export interface V4InteractionwithRequest { export type V4RequestBuilderFunc = (builder: V4RequestBuilder) => void; -// TOOD: not sure if the Builder pattern is better or worse from a readibility +// TODO: not sure if the Builder pattern is better or worse from a readability // and forcing function. export interface V4RequestBuilder { query(query: TemplateQuery): V4RequestBuilder;