Skip to content

Commit

Permalink
fix: PactV4 should default to V4 spec
Browse files Browse the repository at this point in the history
  • Loading branch information
mefellows committed Dec 21, 2023
1 parent 39ed445 commit 46acc70
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 46acc70

Please sign in to comment.