File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -6,16 +6,16 @@ import { version as pactPackageVersion } from '../../package.json';
66import { V4UnconfiguredSynchronousMessage } from './message/types' ;
77import { UnconfiguredSynchronousMessage } from './message' ;
88
9- if ( ! process . env . ENABLE_FEATURE_V4 ) {
10- throw Error (
11- "The v4 package is currently in beta and requires the 'ENABLE_FEATURE_V4' environment variable to be set"
12- ) ;
13- }
14-
159export class PactV4 implements V4ConsumerPact {
1610 private pact : ConsumerPact ;
1711
1812 constructor ( private opts : PactV4Options ) {
13+ if ( ! process . env . ENABLE_FEATURE_V4 ) {
14+ throw Error (
15+ "The v4 package is currently in beta and requires the 'ENABLE_FEATURE_V4' environment variable to be set"
16+ ) ;
17+ }
18+
1919 this . pact = makeConsumerPact (
2020 opts . consumer ,
2121 opts . provider ,
You can’t perform that action at this time.
0 commit comments