Skip to content

Commit

Permalink
Merge pull request #1148 from pact-foundation/chore/fix-v4-integratio…
Browse files Browse the repository at this point in the history
…n-test

fix: PactV4 should default to V4 spec
  • Loading branch information
mefellows authored Jan 7, 2024
2 parents 39ed445 + 46acc70 commit e7b74e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/v4/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export class PactV4 implements V4ConsumerPact {
this.pact = makeConsumerPact(
this.opts.consumer,
this.opts.provider,
this.opts.spec ?? SpecificationVersion.SPECIFICATION_VERSION_V3,
this.opts.spec ?? SpecificationVersion.SPECIFICATION_VERSION_V4,
this.opts.logLevel ?? 'info'
);
}
Expand Down

0 comments on commit e7b74e6

Please sign in to comment.