@pact-foundation/pact-core 20.1.0 → 20.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +5 -0
- package/dist/consumer/index.js +36 -20
- package/dist/consumer/index.js.map +1 -1
- package/dist/ffi/index.d.ts +1 -1
- package/dist/ffi/index.js +1 -1
- package/dist/ffi/types.d.ts +10 -1
- package/junit.xml +213 -199
- package/package.json +15 -15
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [commit-and-tag-version](https://github.com/absolute-version/commit-and-tag-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
+
## [20.1.1](https://github.com/pact-foundation/pact-js-core/compare/v20.1.0...v20.1.1) (2026-09-07)
|
|
6
|
+
|
|
7
|
+
### Fixes and Improvements
|
|
8
|
+
|
|
9
|
+
* surface errors from pactffiPluginInteractionContents (rebuild) ([#956](https://github.com/pact-foundation/pact-js-core/issues/956)) ([b51bc7f](https://github.com/pact-foundation/pact-js-core/commit/b51bc7f245f98e0725fa43ce62547699fddc170e))
|
|
5
10
|
## [20.1.0](https://github.com/pact-foundation/pact-js-core/compare/v20.0.0...v20.1.0) (2026-08-05)
|
|
6
11
|
|
|
7
12
|
### Features
|
package/dist/consumer/index.js
CHANGED
|
@@ -6,12 +6,37 @@ const types_1 = require("../ffi/types");
|
|
|
6
6
|
const logger_1 = require("../logger");
|
|
7
7
|
const checkErrors_1 = require("./checkErrors");
|
|
8
8
|
const internals_1 = require("./internals");
|
|
9
|
+
const PLUGIN_INTERACTION_CONTENTS_ERRORS = {
|
|
10
|
+
1: 'a general panic was caught',
|
|
11
|
+
2: 'the mock server has already been started',
|
|
12
|
+
3: 'the interaction handle is invalid',
|
|
13
|
+
4: 'the content type is not valid',
|
|
14
|
+
5: 'the contents are not valid JSON',
|
|
15
|
+
6: 'the plugin returned an error',
|
|
16
|
+
};
|
|
17
|
+
/**
|
|
18
|
+
* Configures part of an interaction via a plugin, throwing if the FFI reports a
|
|
19
|
+
* failure.
|
|
20
|
+
*
|
|
21
|
+
* `pactffiPluginInteractionContents` returns zero on success and a positive
|
|
22
|
+
* status code on failure, with the detail in LAST_ERROR. Previously the result
|
|
23
|
+
* was discarded, so a plugin rejecting the supplied configuration produced a
|
|
24
|
+
* silently mis-recorded interaction (a part with no body) and a passing test.
|
|
25
|
+
*/
|
|
26
|
+
const setPluginInteractionContents = (ffi, interactionPtr, part, contentType, contents) => {
|
|
27
|
+
const code = ffi.pactffiPluginInteractionContents(interactionPtr, part, contentType, contents);
|
|
28
|
+
if (code !== 0) {
|
|
29
|
+
const detail = ffi.pactffiGetErrorMessage();
|
|
30
|
+
const reason = PLUGIN_INTERACTION_CONTENTS_ERRORS[code] ?? `unknown error (${code})`;
|
|
31
|
+
(0, logger_1.logErrorAndThrow)(`Failed to set plugin interaction contents for content type '${contentType}': ${reason}${detail ? `: ${detail}` : ''}`);
|
|
32
|
+
}
|
|
33
|
+
return true;
|
|
34
|
+
};
|
|
9
35
|
const asyncMessage = (ffi, interactionPtr, pactPtr, messageCount, index) => ({
|
|
10
36
|
// todo count the number of messages (and ref them?)
|
|
11
37
|
// Required to get contents
|
|
12
38
|
withPluginRequestInteractionContents: (contentType, contents) => {
|
|
13
|
-
ffi
|
|
14
|
-
return true;
|
|
39
|
+
return setPluginInteractionContents(ffi, interactionPtr, types_1.INTERACTION_PART_REQUEST, contentType, contents);
|
|
15
40
|
},
|
|
16
41
|
expectsToReceive: (description) => ffi.pactffiMessageExpectsToReceive(interactionPtr, description),
|
|
17
42
|
given: (state) => ffi.pactffiMessageGiven(interactionPtr, state),
|
|
@@ -110,16 +135,13 @@ const makeConsumerPact = (consumer, provider, version = 3, logLevel = (0, logger
|
|
|
110
135
|
messageCount += 1;
|
|
111
136
|
return {
|
|
112
137
|
withPluginRequestInteractionContents: (contentType, contents) => {
|
|
113
|
-
ffi
|
|
114
|
-
return true;
|
|
138
|
+
return setPluginInteractionContents(ffi, interactionPtr, types_1.INTERACTION_PART_REQUEST, contentType, contents);
|
|
115
139
|
},
|
|
116
140
|
withPluginResponseInteractionContents: (contentType, contents) => {
|
|
117
|
-
ffi
|
|
118
|
-
return true;
|
|
141
|
+
return setPluginInteractionContents(ffi, interactionPtr, types_1.INTERACTION_PART_RESPONSE, contentType, contents);
|
|
119
142
|
},
|
|
120
143
|
withPluginRequestResponseInteractionContents: (contentType, contents) => {
|
|
121
|
-
ffi
|
|
122
|
-
return true;
|
|
144
|
+
return setPluginInteractionContents(ffi, interactionPtr, types_1.INTERACTION_PART_REQUEST, contentType, contents);
|
|
123
145
|
},
|
|
124
146
|
given: (state) => ffi.pactffiGiven(interactionPtr, state),
|
|
125
147
|
givenWithParam: (state, name, value) => ffi.pactffiGivenWithParam(interactionPtr, state, name, value),
|
|
@@ -179,16 +201,13 @@ const makeConsumerPact = (consumer, provider, version = 3, logLevel = (0, logger
|
|
|
179
201
|
},
|
|
180
202
|
withStatus: (status) => ffi.pactffiResponseStatus(interactionPtr, JSON.stringify(status)),
|
|
181
203
|
withPluginRequestInteractionContents: (contentType, contents) => {
|
|
182
|
-
ffi
|
|
183
|
-
return true;
|
|
204
|
+
return setPluginInteractionContents(ffi, interactionPtr, types_1.INTERACTION_PART_REQUEST, contentType, contents);
|
|
184
205
|
},
|
|
185
206
|
withPluginRequestResponseInteractionContents: (contentType, contents) => {
|
|
186
|
-
ffi
|
|
187
|
-
return true;
|
|
207
|
+
return setPluginInteractionContents(ffi, interactionPtr, types_1.INTERACTION_PART_REQUEST, contentType, contents);
|
|
188
208
|
},
|
|
189
209
|
withPluginResponseInteractionContents: (contentType, contents) => {
|
|
190
|
-
ffi
|
|
191
|
-
return true;
|
|
210
|
+
return setPluginInteractionContents(ffi, interactionPtr, types_1.INTERACTION_PART_RESPONSE, contentType, contents);
|
|
192
211
|
},
|
|
193
212
|
});
|
|
194
213
|
},
|
|
@@ -241,16 +260,13 @@ const makeConsumerMessagePact = (consumer, provider, version = 4, logLevel = (0,
|
|
|
241
260
|
const interactionPtr = ffi.pactffiNewSyncMessage(pactPtr, description);
|
|
242
261
|
return {
|
|
243
262
|
withPluginRequestInteractionContents: (contentType, contents) => {
|
|
244
|
-
ffi
|
|
245
|
-
return true;
|
|
263
|
+
return setPluginInteractionContents(ffi, interactionPtr, types_1.INTERACTION_PART_REQUEST, contentType, contents);
|
|
246
264
|
},
|
|
247
265
|
withPluginResponseInteractionContents: (contentType, contents) => {
|
|
248
|
-
ffi
|
|
249
|
-
return true;
|
|
266
|
+
return setPluginInteractionContents(ffi, interactionPtr, types_1.INTERACTION_PART_RESPONSE, contentType, contents);
|
|
250
267
|
},
|
|
251
268
|
withPluginRequestResponseInteractionContents: (contentType, contents) => {
|
|
252
|
-
ffi
|
|
253
|
-
return true;
|
|
269
|
+
return setPluginInteractionContents(ffi, interactionPtr, types_1.INTERACTION_PART_REQUEST, contentType, contents);
|
|
254
270
|
},
|
|
255
271
|
given: (state) => ffi.pactffiGiven(interactionPtr, state),
|
|
256
272
|
givenWithParam: (state, name, value) => ffi.pactffiGivenWithParam(interactionPtr, state, name, value),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/consumer/index.ts"],"names":[],"mappings":";;;AAAA,gCAAmC;AACnC,wCAMsB;AACtB,sCAKmB;AACnB,+CAAgE;AAChE,2CAA8D;AAU9D,MAAM,YAAY,GAAG,CACnB,GAAQ,EACR,cAAsB,EACtB,OAAe,EACf,YAAoB,EACpB,KAAa,EACb,EAAE,CAAC,CAAC;IACJ,oDAAoD;IACpD,2BAA2B;IAC3B,oCAAoC,EAAE,CACpC,WAAmB,EACnB,QAAgB,EAChB,EAAE;QACF,GAAG,CAAC,gCAAgC,CAClC,cAAc,EACd,gCAAwB,EACxB,WAAW,EACX,QAAQ,CACT,CAAC;QACF,OAAO,IAAI,CAAC;IACd,CAAC;IACD,gBAAgB,EAAE,CAAC,W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-1,6 +1,6 @@
|
|
|
1
1
|
import type { LogLevel } from '../logger/types';
|
|
2
2
|
import { type Ffi } from './types';
|
|
3
|
-
export declare const PACT_FFI_VERSION = "0.5.
|
|
3
|
+
export declare const PACT_FFI_VERSION = "0.5.7";
|
|
4
4
|
declare let ffiLib: Ffi;
|
|
5
5
|
declare let ffi: typeof ffiLib;
|
|
6
6
|
export declare const getFfiLib: (logLevel?: LogLevel, logFile?: string | undefined) => typeof ffi;
|
package/dist/ffi/index.js
CHANGED
|
@@ -42,7 +42,7 @@ const detect_libc_1 = require("detect-libc");
|
|
|
42
42
|
const logger_1 = __importStar(require("../logger"));
|
|
43
43
|
const types_1 = require("./types");
|
|
44
44
|
const bindings = require('node-gyp-build');
|
|
45
|
-
exports.PACT_FFI_VERSION = '0.5.
|
|
45
|
+
exports.PACT_FFI_VERSION = '0.5.7';
|
|
46
46
|
/**
|
|
47
47
|
* Returns the library path which is located inside `node_modules`
|
|
48
48
|
* The naming convention is @pact-foundation/pact-core-${os}-${arch}<-${libc}>
|
package/dist/ffi/types.d.ts
CHANGED
|
@@ -116,7 +116,16 @@ export type FfiConsumerFunctions = {
|
|
|
116
116
|
pactffiUsingPluginWithDelay(handle: FfiPactHandle, name: string, version: string, completionDelay: number): FfiConfigurePluginResponse;
|
|
117
117
|
pactffiSetTestRunId(testRunId: string): void;
|
|
118
118
|
pactffiCleanupPlugins(handle: FfiPactHandle): void;
|
|
119
|
-
|
|
119
|
+
/**
|
|
120
|
+
* Configures a part of an interaction via a plugin.
|
|
121
|
+
*
|
|
122
|
+
* Returns a status code: zero on success, a positive value on failure (`6`
|
|
123
|
+
* meaning the plugin itself returned an error). Call `pactffiGetErrorMessage`
|
|
124
|
+
* for the detail.
|
|
125
|
+
*/
|
|
126
|
+
pactffiPluginInteractionContents(handle: FfiInteractionHandle, part: FfiInteractionPart, contentType: string, contents: string): number;
|
|
127
|
+
/** The most recent FFI error message, or an empty string if there is none. */
|
|
128
|
+
pactffiGetErrorMessage(): string;
|
|
120
129
|
pactffiNewAsyncMessage(handle: FfiPactHandle, description: string): FfiMessageHandle;
|
|
121
130
|
pactffiNewSyncMessage(handle: FfiPactHandle, description: string): FfiInteractionHandle;
|
|
122
131
|
pactffiMessageExpectsToReceive(handle: FfiMessageHandle, description: string): void;
|
package/junit.xml
CHANGED
|
@@ -1,104 +1,118 @@
|
|
|
1
1
|
<?xml version="1.0" encoding="UTF-8" ?>
|
|
2
|
-
<testsuites name="vitest tests" tests="
|
|
3
|
-
<testsuite name="src/index.spec.ts" timestamp="2026-
|
|
4
|
-
<testcase classname="src/index.spec.ts" name="Index Spec > Typescript import should work" time="0.
|
|
2
|
+
<testsuites name="vitest tests" tests="92" failures="0" errors="0" time="4.399135016">
|
|
3
|
+
<testsuite name="src/index.spec.ts" timestamp="2026-09-07T06:17:17.738Z" hostname="runnervmejwal" tests="1" failures="0" errors="0" skipped="0" time="0.004115602">
|
|
4
|
+
<testcase classname="src/index.spec.ts" name="Index Spec > Typescript import should work" time="0.00218111">
|
|
5
5
|
</testcase>
|
|
6
6
|
</testsuite>
|
|
7
|
-
<testsuite name="src/pact.spec.ts" timestamp="2026-
|
|
8
|
-
<testcase classname="src/pact.spec.ts" name="Pact Spec > Set Log Level > when setting a log level > should be able to set log level 'trace'" time="0.
|
|
7
|
+
<testsuite name="src/pact.spec.ts" timestamp="2026-09-07T06:17:17.739Z" hostname="runnervmejwal" tests="5" failures="0" errors="0" skipped="0" time="0.007777727">
|
|
8
|
+
<testcase classname="src/pact.spec.ts" name="Pact Spec > Set Log Level > when setting a log level > should be able to set log level 'trace'" time="0.001746232">
|
|
9
9
|
</testcase>
|
|
10
|
-
<testcase classname="src/pact.spec.ts" name="Pact Spec > Set Log Level > when setting a log level > should be able to set log level 'debug'" time="0.
|
|
10
|
+
<testcase classname="src/pact.spec.ts" name="Pact Spec > Set Log Level > when setting a log level > should be able to set log level 'debug'" time="0.000410713">
|
|
11
11
|
</testcase>
|
|
12
|
-
<testcase classname="src/pact.spec.ts" name="Pact Spec > Set Log Level > when setting a log level > should be able to set log level 'info'" time="0.
|
|
12
|
+
<testcase classname="src/pact.spec.ts" name="Pact Spec > Set Log Level > when setting a log level > should be able to set log level 'info'" time="0.000407556">
|
|
13
13
|
</testcase>
|
|
14
|
-
<testcase classname="src/pact.spec.ts" name="Pact Spec > Set Log Level > when setting a log level > should be able to set log level 'warn'" time="0.
|
|
14
|
+
<testcase classname="src/pact.spec.ts" name="Pact Spec > Set Log Level > when setting a log level > should be able to set log level 'warn'" time="0.000320314">
|
|
15
15
|
</testcase>
|
|
16
|
-
<testcase classname="src/pact.spec.ts" name="Pact Spec > Set Log Level > when setting a log level > should be able to set log level 'error'" time="0.
|
|
16
|
+
<testcase classname="src/pact.spec.ts" name="Pact Spec > Set Log Level > when setting a log level > should be able to set log level 'error'" time="0.00047057">
|
|
17
17
|
</testcase>
|
|
18
18
|
</testsuite>
|
|
19
|
-
<testsuite name="test/consumer.integration.spec.ts" timestamp="2026-
|
|
20
|
-
<testcase classname="test/consumer.integration.spec.ts" name="FFI integration test for the HTTP Consumer API > with matching rules > generates a pact with success" time="0.
|
|
19
|
+
<testsuite name="test/consumer.integration.spec.ts" timestamp="2026-09-07T06:17:17.740Z" hostname="runnervmejwal" tests="12" failures="0" errors="0" skipped="1" time="0.855479442">
|
|
20
|
+
<testcase classname="test/consumer.integration.spec.ts" name="FFI integration test for the HTTP Consumer API > with matching rules > generates a pact with success" time="0.057306047">
|
|
21
21
|
<system-out>
|
|
22
|
-
[
|
|
22
|
+
[06:17:15.301] [32mINFO[39m (2852): [36m0.5.7: pact native library successfully found, and the correct version[39m
|
|
23
23
|
|
|
24
24
|
|
|
25
25
|
[]
|
|
26
26
|
|
|
27
27
|
</system-out>
|
|
28
28
|
</testcase>
|
|
29
|
-
<testcase classname="test/consumer.integration.spec.ts" name="FFI integration test for the HTTP Consumer API > with JSON data > generates a pact with success" time="0.
|
|
29
|
+
<testcase classname="test/consumer.integration.spec.ts" name="FFI integration test for the HTTP Consumer API > with JSON data > generates a pact with success" time="0.006945796">
|
|
30
30
|
</testcase>
|
|
31
|
-
<testcase classname="test/consumer.integration.spec.ts" name="FFI integration test for the HTTP Consumer API > with JSON data > generates a pact with failure" time="0.
|
|
31
|
+
<testcase classname="test/consumer.integration.spec.ts" name="FFI integration test for the HTTP Consumer API > with JSON data > generates a pact with failure" time="0.007397104">
|
|
32
32
|
</testcase>
|
|
33
33
|
<testcase classname="test/consumer.integration.spec.ts" name="FFI integration test for the HTTP Consumer API > with a TLS mock server > serves requests over TLS using the exposed CA certificate" time="0">
|
|
34
34
|
<skipped/>
|
|
35
35
|
</testcase>
|
|
36
|
-
<testcase classname="test/consumer.integration.spec.ts" name="FFI integration test for the HTTP Consumer API > with an interaction key > writes the interaction key to the pact file" time="0.
|
|
36
|
+
<testcase classname="test/consumer.integration.spec.ts" name="FFI integration test for the HTTP Consumer API > with an interaction key > writes the interaction key to the pact file" time="0.004052083">
|
|
37
37
|
</testcase>
|
|
38
|
-
<testcase classname="test/consumer.integration.spec.ts" name="FFI integration test for the HTTP Consumer API > with a pending interaction > writes pending state to the pact file" time="0.
|
|
38
|
+
<testcase classname="test/consumer.integration.spec.ts" name="FFI integration test for the HTTP Consumer API > with a pending interaction > writes pending state to the pact file" time="0.004177506">
|
|
39
39
|
</testcase>
|
|
40
|
-
<testcase classname="test/consumer.integration.spec.ts" name="FFI integration test for the HTTP Consumer API > with interaction comments and test name > writes comments and interaction test name to the pact file" time="0.
|
|
40
|
+
<testcase classname="test/consumer.integration.spec.ts" name="FFI integration test for the HTTP Consumer API > with interaction comments and test name > writes comments and interaction test name to the pact file" time="0.00288705">
|
|
41
41
|
</testcase>
|
|
42
|
-
<testcase classname="test/consumer.integration.spec.ts" name="FFI integration test for the HTTP Consumer API > with binary data > generates a pact with success" time="0.
|
|
42
|
+
<testcase classname="test/consumer.integration.spec.ts" name="FFI integration test for the HTTP Consumer API > with binary data > generates a pact with success" time="0.00911848">
|
|
43
43
|
</testcase>
|
|
44
|
-
<testcase classname="test/consumer.integration.spec.ts" name="FFI integration test for the HTTP Consumer API > using a plugin (protobufs) > generates a pact with success" time="0.
|
|
44
|
+
<testcase classname="test/consumer.integration.spec.ts" name="FFI integration test for the HTTP Consumer API > using a plugin (protobufs) > generates a pact with success" time="0.699678919">
|
|
45
45
|
</testcase>
|
|
46
|
-
<testcase classname="test/consumer.integration.spec.ts" name="FFI integration test for the HTTP Consumer API >
|
|
46
|
+
<testcase classname="test/consumer.integration.spec.ts" name="FFI integration test for the HTTP Consumer API > when setting plugin interaction contents fails > throws when the contents are not valid JSON" time="0.002853578">
|
|
47
|
+
<system-out>
|
|
48
|
+
[06:17:16.088] [31mERROR[39m (2852): [36mFailed to set plugin interaction contents for content type 'application/json': the contents are not valid JSON: Contents is not a valid JSON - expected ident at line 1 column 2[39m
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
</system-out>
|
|
52
|
+
</testcase>
|
|
53
|
+
<testcase classname="test/consumer.integration.spec.ts" name="FFI integration test for the HTTP Consumer API > when setting plugin interaction contents fails > throws when the content type is not valid" time="0.001677525">
|
|
54
|
+
<system-out>
|
|
55
|
+
[06:17:16.090] [31mERROR[39m (2852): [36mFailed to set plugin interaction contents for content type 'not a content type': the content type is not valid: 'not a content type' is not a valid content type - Failed to parse 'not a content type' as a content type: mime parse error: an invalid token was encountered, 20 at position 3[39m
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
</system-out>
|
|
59
|
+
</testcase>
|
|
60
|
+
<testcase classname="test/consumer.integration.spec.ts" name="FFI integration test for the HTTP Consumer API > with multipart data > generates a pact with success" time="0.054947403">
|
|
47
61
|
<system-out>
|
|
48
62
|
[]
|
|
49
63
|
|
|
50
64
|
</system-out>
|
|
51
65
|
</testcase>
|
|
52
66
|
</testsuite>
|
|
53
|
-
<testsuite name="test/matt.consumer.integration.spec.ts" timestamp="2026-
|
|
54
|
-
<testcase classname="test/matt.consumer.integration.spec.ts" name="MATT protocol test > HTTP test > returns a valid MATT message over HTTP" time="0.
|
|
67
|
+
<testsuite name="test/matt.consumer.integration.spec.ts" timestamp="2026-09-07T06:17:17.744Z" hostname="runnervmejwal" tests="2" failures="0" errors="0" skipped="0" time="1.123117425">
|
|
68
|
+
<testcase classname="test/matt.consumer.integration.spec.ts" name="MATT protocol test > HTTP test > returns a valid MATT message over HTTP" time="0.585032384">
|
|
55
69
|
<system-out>
|
|
56
|
-
[
|
|
70
|
+
[06:17:16.465] [32mINFO[39m (2987): [36m0.5.7: pact native library successfully found, and the correct version[39m
|
|
57
71
|
|
|
58
72
|
|
|
59
73
|
</system-out>
|
|
60
74
|
</testcase>
|
|
61
|
-
<testcase classname="test/matt.consumer.integration.spec.ts" name="MATT protocol test > TCP Messages > with MATT protocol > generates a pact with success" time="0.
|
|
75
|
+
<testcase classname="test/matt.consumer.integration.spec.ts" name="MATT protocol test > TCP Messages > with MATT protocol > generates a pact with success" time="0.535754698">
|
|
62
76
|
</testcase>
|
|
63
77
|
</testsuite>
|
|
64
|
-
<testsuite name="test/matt.provider.integration.spec.ts" timestamp="2026-
|
|
65
|
-
<testcase classname="test/matt.provider.integration.spec.ts" name="MATT protocol test > HTTP and TCP Provider > returns a valid MATT message over HTTP and TCP" time="0.
|
|
78
|
+
<testsuite name="test/matt.provider.integration.spec.ts" timestamp="2026-09-07T06:17:17.745Z" hostname="runnervmejwal" tests="1" failures="0" errors="0" skipped="0" time="0.133656674">
|
|
79
|
+
<testcase classname="test/matt.provider.integration.spec.ts" name="MATT protocol test > HTTP and TCP Provider > returns a valid MATT message over HTTP and TCP" time="0.131431682">
|
|
66
80
|
<system-out>
|
|
67
|
-
[
|
|
81
|
+
[06:17:17.182] [32mINFO[39m (3111): [36mpact-core@20.1.0: Verifying Pact Files[39m
|
|
68
82
|
|
|
69
|
-
[
|
|
83
|
+
[06:17:17.189] [32mINFO[39m (3111): [36m0.5.7: pact native library successfully found, and the correct version[39m
|
|
70
84
|
|
|
71
85
|
|
|
72
|
-
[
|
|
86
|
+
[06:17:17.300] [32mINFO[39m (3111): [36mpact-core@20.1.0: Verification successful[39m
|
|
73
87
|
|
|
74
88
|
|
|
75
89
|
</system-out>
|
|
76
90
|
</testcase>
|
|
77
91
|
</testsuite>
|
|
78
|
-
<testsuite name="test/message.integration.spec.ts" timestamp="2026-
|
|
79
|
-
<testcase classname="test/message.integration.spec.ts" name="FFI integration test for the Message Consumer API > Asynchronous Messages > with JSON data > generates a pact with success" time="0.
|
|
92
|
+
<testsuite name="test/message.integration.spec.ts" timestamp="2026-09-07T06:17:17.745Z" hostname="runnervmejwal" tests="8" failures="0" errors="0" skipped="0" time="0.69929154">
|
|
93
|
+
<testcase classname="test/message.integration.spec.ts" name="FFI integration test for the Message Consumer API > Asynchronous Messages > with JSON data > generates a pact with success" time="0.007255702">
|
|
80
94
|
</testcase>
|
|
81
|
-
<testcase classname="test/message.integration.spec.ts" name="FFI integration test for the Message Consumer API > Asynchronous Messages > with JSON data > writes pending state to the pact file" time="0.
|
|
95
|
+
<testcase classname="test/message.integration.spec.ts" name="FFI integration test for the Message Consumer API > Asynchronous Messages > with JSON data > writes pending state to the pact file" time="0.001279025">
|
|
82
96
|
</testcase>
|
|
83
|
-
<testcase classname="test/message.integration.spec.ts" name="FFI integration test for the Message Consumer API > Asynchronous Messages > with JSON data > writes comments and interaction test name for async message" time="0.
|
|
97
|
+
<testcase classname="test/message.integration.spec.ts" name="FFI integration test for the Message Consumer API > Asynchronous Messages > with JSON data > writes comments and interaction test name for async message" time="0.001466513">
|
|
84
98
|
</testcase>
|
|
85
|
-
<testcase classname="test/message.integration.spec.ts" name="FFI integration test for the Message Consumer API > Asynchronous Messages > with binary data > generates a pact with success" time="0.
|
|
99
|
+
<testcase classname="test/message.integration.spec.ts" name="FFI integration test for the Message Consumer API > Asynchronous Messages > with binary data > generates a pact with success" time="0.00115242">
|
|
86
100
|
</testcase>
|
|
87
|
-
<testcase classname="test/message.integration.spec.ts" name="FFI integration test for the Message Consumer API > Synchronous Messages > with JSON data > generates a pact with success" time="0.
|
|
101
|
+
<testcase classname="test/message.integration.spec.ts" name="FFI integration test for the Message Consumer API > Synchronous Messages > with JSON data > generates a pact with success" time="0.007210577">
|
|
88
102
|
</testcase>
|
|
89
|
-
<testcase classname="test/message.integration.spec.ts" name="FFI integration test for the Message Consumer API > Synchronous Messages > with JSON data > writes pending state to the pact file" time="0.
|
|
103
|
+
<testcase classname="test/message.integration.spec.ts" name="FFI integration test for the Message Consumer API > Synchronous Messages > with JSON data > writes pending state to the pact file" time="0.001073643">
|
|
90
104
|
</testcase>
|
|
91
|
-
<testcase classname="test/message.integration.spec.ts" name="FFI integration test for the Message Consumer API > Synchronous Messages > with JSON data > writes comments and interaction test name for sync message" time="0.
|
|
105
|
+
<testcase classname="test/message.integration.spec.ts" name="FFI integration test for the Message Consumer API > Synchronous Messages > with JSON data > writes comments and interaction test name for sync message" time="0.001573221">
|
|
92
106
|
</testcase>
|
|
93
|
-
<testcase classname="test/message.integration.spec.ts" name="FFI integration test for the Message Consumer API > Synchronous Messages > with plugin contents (gRPC) > generates a pact with success" time="0.
|
|
107
|
+
<testcase classname="test/message.integration.spec.ts" name="FFI integration test for the Message Consumer API > Synchronous Messages > with plugin contents (gRPC) > generates a pact with success" time="0.666093302">
|
|
94
108
|
</testcase>
|
|
95
109
|
</testsuite>
|
|
96
|
-
<testsuite name="test/plugin-verifier.integration.spec.ts" timestamp="2026-
|
|
97
|
-
<testcase classname="test/plugin-verifier.integration.spec.ts" name="Plugin Verifier Integration Spec > plugin tests > grpc interaction > should verify the gRPC interactions" time="0.
|
|
110
|
+
<testsuite name="test/plugin-verifier.integration.spec.ts" timestamp="2026-09-07T06:17:17.747Z" hostname="runnervmejwal" tests="2" failures="0" errors="0" skipped="0" time="0.215317589">
|
|
111
|
+
<testcase classname="test/plugin-verifier.integration.spec.ts" name="Plugin Verifier Integration Spec > plugin tests > grpc interaction > should verify the gRPC interactions" time="0.158222891">
|
|
98
112
|
<system-out>
|
|
99
|
-
[
|
|
113
|
+
[06:17:16.650] [32mINFO[39m (3005): [36mpact-core@20.1.0: Verifying Pact Files[39m
|
|
100
114
|
|
|
101
|
-
[
|
|
115
|
+
[06:17:16.654] [34mDEBUG[39m (3005): [36mpact-core@20.1.0: binding path #0: : attempting to load native module from:
|
|
102
116
|
|
|
103
117
|
- /home/runner/work/pact-js-core/pact-js-core/prebuilds/linux-x64
|
|
104
118
|
source: pact-js-core binding lookup
|
|
@@ -106,7 +120,7 @@
|
|
|
106
120
|
- You can override via PACT_PREBUILD_LOCATION
|
|
107
121
|
[39m
|
|
108
122
|
|
|
109
|
-
[
|
|
123
|
+
[06:17:16.655] [34mDEBUG[39m (3005): [36mpact-core@20.1.0: binding path #1: : attempting to load native module from:
|
|
110
124
|
|
|
111
125
|
- /home/runner/work/pact-js-core/pact-js-core/@pact-foundation/pact-core-linux-x64-glibc/prebuilds/linux-x64
|
|
112
126
|
source: pact-js-core binding lookup
|
|
@@ -114,55 +128,55 @@
|
|
|
114
128
|
- You can override via PACT_PREBUILD_LOCATION
|
|
115
129
|
[39m
|
|
116
130
|
|
|
117
|
-
[
|
|
131
|
+
[06:17:16.657] [32mINFO[39m (3005): [36m0.5.7: pact native library successfully found, and the correct version[39m
|
|
118
132
|
|
|
119
|
-
[
|
|
133
|
+
[06:17:16.657] [34mDEBUG[39m (3005): [36mpact-core@20.1.0: Initialising native core at log level 'debug'[39m
|
|
120
134
|
|
|
121
|
-
[
|
|
135
|
+
[06:17:16.658] [34mDEBUG[39m (3005): [36mpact-core@20.1.0: the optional ffi function 'pactffiVerifierSetFilterInfo' was not executed as it had non-fatal validation errors: None of PACT_DESCRIPTION, PACT_PROVIDER_STATE or PACT_PROVIDER_NO_STATE were set in the environment[39m
|
|
122
136
|
|
|
123
|
-
[
|
|
137
|
+
[06:17:16.658] [34mDEBUG[39m (3005): [36mpact-core@20.1.0: the optional ffi function 'pactffiVerifierSetProviderState' was not executed as it had non-fatal validation errors: No failIfNoPactsFound option provided[39m
|
|
124
138
|
|
|
125
|
-
[
|
|
139
|
+
[06:17:16.659] [34mDEBUG[39m (3005): [36mpact-core@20.1.0: the optional ffi function 'pactffiVerifierSetPublishOptions' was not executed as it had non-fatal validation errors: No publishVerificationResult option / PACT_BROKER_PUBLISH_VERIFICATION_RESULTS set, or no providerVersion option[39m
|
|
126
140
|
|
|
127
|
-
[
|
|
141
|
+
[06:17:16.659] [34mDEBUG[39m (3005): [36mpact-core@20.1.0: the optional ffi function 'pactffiVerifierSetConsumerFilters' was not executed as it had non-fatal validation errors: Either no consumerFilters option provided, or the array was empty[39m
|
|
128
142
|
|
|
129
|
-
[
|
|
143
|
+
[06:17:16.661] [34mDEBUG[39m (3005): [36mpact-core@20.1.0: the optional ffi function 'pactffiVerifierSetFailIfNoPactsFound' was not executed as it had non-fatal validation errors: No failIfNoPactsFound option provided[39m
|
|
130
144
|
|
|
131
|
-
[
|
|
145
|
+
[06:17:16.662] [34mDEBUG[39m (3005): [36mpact-core@20.1.0: the optional ffi function 'pactffiVerifierSetFollowRedirects' was not executed as it had non-fatal validation errors: No followRedirects option provided[39m
|
|
132
146
|
|
|
133
|
-
[
|
|
147
|
+
[06:17:16.662] [34mDEBUG[39m (3005): [36mpact-core@20.1.0: the optional ffi function 'pactffiVerifierAddCustomHeader' was not executed as it had non-fatal validation errors: No customProviderHeaders option provided[39m
|
|
134
148
|
|
|
135
|
-
[
|
|
149
|
+
[06:17:16.662] [34mDEBUG[39m (3005): [36mpact-core@20.1.0: checking source type of given pactUrl: /home/runner/work/pact-js-core/pact-js-core/test/integration/grpc/grpc.json[39m
|
|
136
150
|
|
|
137
|
-
[
|
|
151
|
+
[06:17:16.663] [34mDEBUG[39m (3005): [36mpact-core@20.1.0: adding /home/runner/work/pact-js-core/pact-js-core/test/integration/grpc/grpc.json as File source[39m
|
|
138
152
|
|
|
139
|
-
[
|
|
153
|
+
[06:17:16.663] [34mDEBUG[39m (3005): [36mpact-core@20.1.0: the optional ffi function 'pactffiVerifierBrokerSourceWithSelectors' was not executed as it had non-fatal validation errors: No pactBrokerUrl option / PACT_BROKER_BASE_URL set, or no provider option set[39m
|
|
140
154
|
|
|
141
155
|
|
|
142
156
|
Server running at http://127.0.0.1:50052
|
|
143
157
|
|
|
144
|
-
[
|
|
158
|
+
[06:17:16.805] [34mDEBUG[39m (3005): [36mpact-core@20.1.0: shutting down verifier with handle 0[39m
|
|
145
159
|
|
|
146
|
-
[
|
|
160
|
+
[06:17:16.805] [34mDEBUG[39m (3005): [36mpact-core@20.1.0: response from verifier: null, 0[39m
|
|
147
161
|
|
|
148
|
-
[
|
|
162
|
+
[06:17:16.805] [32mINFO[39m (3005): [36mpact-core@20.1.0: Verification successful[39m
|
|
149
163
|
|
|
150
164
|
|
|
151
165
|
</system-out>
|
|
152
166
|
</testcase>
|
|
153
|
-
<testcase classname="test/plugin-verifier.integration.spec.ts" name="Plugin Verifier Integration Spec > plugin tests > grpc interaction > runs the grpc client" time="0.
|
|
167
|
+
<testcase classname="test/plugin-verifier.integration.spec.ts" name="Plugin Verifier Integration Spec > plugin tests > grpc interaction > runs the grpc client" time="0.025540881">
|
|
154
168
|
<system-out>
|
|
155
169
|
{ name: [32m'A place'[39m }
|
|
156
170
|
|
|
157
171
|
</system-out>
|
|
158
172
|
</testcase>
|
|
159
173
|
</testsuite>
|
|
160
|
-
<testsuite name="test/verifier.integration.spec.ts" timestamp="2026-
|
|
161
|
-
<testcase classname="test/verifier.integration.spec.ts" name="Verifier Integration Spec > when given a successful contract > with spaces in the file path > should return a successful promise" time="0.
|
|
174
|
+
<testsuite name="test/verifier.integration.spec.ts" timestamp="2026-09-07T06:17:17.748Z" hostname="runnervmejwal" tests="17" failures="0" errors="0" skipped="0" time="1.30469951">
|
|
175
|
+
<testcase classname="test/verifier.integration.spec.ts" name="Verifier Integration Spec > when given a successful contract > with spaces in the file path > should return a successful promise" time="0.082337249">
|
|
162
176
|
<system-out>
|
|
163
|
-
[
|
|
177
|
+
[06:17:15.510] [32mINFO[39m (2875): [36mpact-core@20.1.0: Verifying Pact Files[39m
|
|
164
178
|
|
|
165
|
-
[
|
|
179
|
+
[06:17:15.513] [34mDEBUG[39m (2875): [36mpact-core@20.1.0: binding path #0: : attempting to load native module from:
|
|
166
180
|
|
|
167
181
|
- /home/runner/work/pact-js-core/pact-js-core/prebuilds/linux-x64
|
|
168
182
|
source: pact-js-core binding lookup
|
|
@@ -170,7 +184,7 @@ Server running at http://127.0.0.1:50052
|
|
|
170
184
|
- You can override via PACT_PREBUILD_LOCATION
|
|
171
185
|
[39m
|
|
172
186
|
|
|
173
|
-
[
|
|
187
|
+
[06:17:15.514] [34mDEBUG[39m (2875): [36mpact-core@20.1.0: binding path #1: : attempting to load native module from:
|
|
174
188
|
|
|
175
189
|
- /home/runner/work/pact-js-core/pact-js-core/@pact-foundation/pact-core-linux-x64-glibc/prebuilds/linux-x64
|
|
176
190
|
source: pact-js-core binding lookup
|
|
@@ -178,364 +192,364 @@ Server running at http://127.0.0.1:50052
|
|
|
178
192
|
- You can override via PACT_PREBUILD_LOCATION
|
|
179
193
|
[39m
|
|
180
194
|
|
|
181
|
-
[
|
|
195
|
+
[06:17:15.517] [32mINFO[39m (2875): [36m0.5.7: pact native library successfully found, and the correct version[39m
|
|
182
196
|
|
|
183
|
-
[
|
|
197
|
+
[06:17:15.517] [34mDEBUG[39m (2875): [36mpact-core@20.1.0: Initialising native core at log level 'debug'[39m
|
|
184
198
|
|
|
185
|
-
[
|
|
199
|
+
[06:17:15.518] [34mDEBUG[39m (2875): [36mpact-core@20.1.0: the optional ffi function 'pactffiVerifierSetFilterInfo' was not executed as it had non-fatal validation errors: None of PACT_DESCRIPTION, PACT_PROVIDER_STATE or PACT_PROVIDER_NO_STATE were set in the environment[39m
|
|
186
200
|
|
|
187
|
-
[
|
|
201
|
+
[06:17:15.518] [34mDEBUG[39m (2875): [36mpact-core@20.1.0: the optional ffi function 'pactffiVerifierSetProviderState' was not executed as it had non-fatal validation errors: No failIfNoPactsFound option provided[39m
|
|
188
202
|
|
|
189
|
-
[
|
|
203
|
+
[06:17:15.518] [34mDEBUG[39m (2875): [36mpact-core@20.1.0: the optional ffi function 'pactffiVerifierSetPublishOptions' was not executed as it had non-fatal validation errors: No publishVerificationResult option / PACT_BROKER_PUBLISH_VERIFICATION_RESULTS set, or no providerVersion option[39m
|
|
190
204
|
|
|
191
|
-
[
|
|
205
|
+
[06:17:15.518] [34mDEBUG[39m (2875): [36mpact-core@20.1.0: the optional ffi function 'pactffiVerifierSetConsumerFilters' was not executed as it had non-fatal validation errors: Either no consumerFilters option provided, or the array was empty[39m
|
|
192
206
|
|
|
193
|
-
[
|
|
207
|
+
[06:17:15.519] [34mDEBUG[39m (2875): [36mpact-core@20.1.0: the optional ffi function 'pactffiVerifierSetFailIfNoPactsFound' was not executed as it had non-fatal validation errors: No failIfNoPactsFound option provided[39m
|
|
194
208
|
|
|
195
|
-
[
|
|
209
|
+
[06:17:15.519] [34mDEBUG[39m (2875): [36mpact-core@20.1.0: the optional ffi function 'pactffiVerifierSetFollowRedirects' was not executed as it had non-fatal validation errors: No followRedirects option provided[39m
|
|
196
210
|
|
|
197
|
-
[
|
|
211
|
+
[06:17:15.519] [34mDEBUG[39m (2875): [36mpact-core@20.1.0: the optional ffi function 'pactffiVerifierAddCustomHeader' was not executed as it had non-fatal validation errors: No customProviderHeaders option provided[39m
|
|
198
212
|
|
|
199
|
-
[
|
|
213
|
+
[06:17:15.519] [34mDEBUG[39m (2875): [36mpact-core@20.1.0: checking source type of given pactUrl: /home/runner/work/pact-js-core/pact-js-core/test/integration/me-they-weird path-success.json[39m
|
|
200
214
|
|
|
201
|
-
[
|
|
215
|
+
[06:17:15.520] [34mDEBUG[39m (2875): [36mpact-core@20.1.0: adding /home/runner/work/pact-js-core/pact-js-core/test/integration/me-they-weird path-success.json as File source[39m
|
|
202
216
|
|
|
203
|
-
[
|
|
217
|
+
[06:17:15.520] [34mDEBUG[39m (2875): [36mpact-core@20.1.0: the optional ffi function 'pactffiVerifierBrokerSourceWithSelectors' was not executed as it had non-fatal validation errors: No pactBrokerUrl option / PACT_BROKER_BASE_URL set, or no provider option set[39m
|
|
204
218
|
|
|
205
|
-
[
|
|
219
|
+
[06:17:15.520] [34mDEBUG[39m (2875): [36mpact-core@20.1.0: the optional ffi function 'pactffiVerifierAddProviderTransport' was not executed as it had non-fatal validation errors: No additional provider transports provided[39m
|
|
206
220
|
|
|
207
221
|
|
|
208
|
-
[
|
|
222
|
+
[06:17:15.589] [34mDEBUG[39m (2875): [36mpact-core@20.1.0: shutting down verifier with handle 0[39m
|
|
209
223
|
|
|
210
|
-
[
|
|
224
|
+
[06:17:15.589] [34mDEBUG[39m (2875): [36mpact-core@20.1.0: response from verifier: null, 0[39m
|
|
211
225
|
|
|
212
|
-
[
|
|
226
|
+
[06:17:15.589] [32mINFO[39m (2875): [36mpact-core@20.1.0: Verification successful[39m
|
|
213
227
|
|
|
214
228
|
|
|
215
229
|
</system-out>
|
|
216
230
|
</testcase>
|
|
217
|
-
<testcase classname="test/verifier.integration.spec.ts" name="Verifier Integration Spec > when given a successful contract > with spaces in the file path > with some broker args but no broker URL > should return a successful promise" time="0.
|
|
231
|
+
<testcase classname="test/verifier.integration.spec.ts" name="Verifier Integration Spec > when given a successful contract > with spaces in the file path > with some broker args but no broker URL > should return a successful promise" time="0.059887934">
|
|
218
232
|
<system-out>
|
|
219
|
-
[
|
|
233
|
+
[06:17:15.591] [32mINFO[39m (2875): [36mpact-core@20.1.0: Verifying Pact Files[39m
|
|
220
234
|
|
|
221
|
-
[
|
|
235
|
+
[06:17:15.592] [34mDEBUG[39m (2875): [36mpact-core@20.1.0: the optional ffi function 'pactffiVerifierSetFilterInfo' was not executed as it had non-fatal validation errors: None of PACT_DESCRIPTION, PACT_PROVIDER_STATE or PACT_PROVIDER_NO_STATE were set in the environment[39m
|
|
222
236
|
|
|
223
|
-
[
|
|
237
|
+
[06:17:15.592] [34mDEBUG[39m (2875): [36mpact-core@20.1.0: the optional ffi function 'pactffiVerifierSetProviderState' was not executed as it had non-fatal validation errors: No failIfNoPactsFound option provided[39m
|
|
224
238
|
|
|
225
|
-
[
|
|
239
|
+
[06:17:15.592] [34mDEBUG[39m (2875): [36mpact-core@20.1.0: the optional ffi function 'pactffiVerifierSetConsumerFilters' was not executed as it had non-fatal validation errors: Either no consumerFilters option provided, or the array was empty[39m
|
|
226
240
|
|
|
227
|
-
[
|
|
241
|
+
[06:17:15.592] [34mDEBUG[39m (2875): [36mpact-core@20.1.0: the optional ffi function 'pactffiVerifierSetFailIfNoPactsFound' was not executed as it had non-fatal validation errors: No failIfNoPactsFound option provided[39m
|
|
228
242
|
|
|
229
|
-
[
|
|
243
|
+
[06:17:15.592] [34mDEBUG[39m (2875): [36mpact-core@20.1.0: the optional ffi function 'pactffiVerifierSetFollowRedirects' was not executed as it had non-fatal validation errors: No followRedirects option provided[39m
|
|
230
244
|
|
|
231
|
-
[
|
|
245
|
+
[06:17:15.592] [34mDEBUG[39m (2875): [36mpact-core@20.1.0: the optional ffi function 'pactffiVerifierAddCustomHeader' was not executed as it had non-fatal validation errors: No customProviderHeaders option provided[39m
|
|
232
246
|
|
|
233
|
-
[
|
|
247
|
+
[06:17:15.592] [34mDEBUG[39m (2875): [36mpact-core@20.1.0: checking source type of given pactUrl: /home/runner/work/pact-js-core/pact-js-core/test/integration/me-they-weird path-success.json[39m
|
|
234
248
|
|
|
235
|
-
[
|
|
249
|
+
[06:17:15.592] [34mDEBUG[39m (2875): [36mpact-core@20.1.0: adding /home/runner/work/pact-js-core/pact-js-core/test/integration/me-they-weird path-success.json as File source[39m
|
|
236
250
|
|
|
237
|
-
[
|
|
251
|
+
[06:17:15.593] [34mDEBUG[39m (2875): [36mpact-core@20.1.0: the optional ffi function 'pactffiVerifierBrokerSourceWithSelectors' was not executed as it had non-fatal validation errors: No pactBrokerUrl option / PACT_BROKER_BASE_URL set, or no provider option set[39m
|
|
238
252
|
|
|
239
|
-
[
|
|
253
|
+
[06:17:15.593] [34mDEBUG[39m (2875): [36mpact-core@20.1.0: the optional ffi function 'pactffiVerifierAddProviderTransport' was not executed as it had non-fatal validation errors: No additional provider transports provided[39m
|
|
240
254
|
|
|
241
255
|
|
|
242
|
-
[
|
|
256
|
+
[06:17:15.649] [34mDEBUG[39m (2875): [36mpact-core@20.1.0: shutting down verifier with handle 1[39m
|
|
243
257
|
|
|
244
|
-
[
|
|
258
|
+
[06:17:15.650] [34mDEBUG[39m (2875): [36mpact-core@20.1.0: response from verifier: null, 0[39m
|
|
245
259
|
|
|
246
|
-
[
|
|
260
|
+
[06:17:15.650] [32mINFO[39m (2875): [36mpact-core@20.1.0: Verification successful[39m
|
|
247
261
|
|
|
248
262
|
|
|
249
263
|
</system-out>
|
|
250
264
|
</testcase>
|
|
251
|
-
<testcase classname="test/verifier.integration.spec.ts" name="Verifier Integration Spec > when given a successful contract > without provider states > should return a successful promise with detailed JSON results" time="0.
|
|
265
|
+
<testcase classname="test/verifier.integration.spec.ts" name="Verifier Integration Spec > when given a successful contract > without provider states > should return a successful promise with detailed JSON results" time="0.057720239">
|
|
252
266
|
<system-out>
|
|
253
|
-
[
|
|
267
|
+
[06:17:15.651] [32mINFO[39m (2875): [36mpact-core@20.1.0: Verifying Pact Files[39m
|
|
254
268
|
|
|
255
269
|
|
|
256
|
-
[
|
|
270
|
+
[06:17:15.706] [32mINFO[39m (2875): [36mpact-core@20.1.0: Verification successful[39m
|
|
257
271
|
|
|
258
272
|
|
|
259
273
|
</system-out>
|
|
260
274
|
</testcase>
|
|
261
|
-
<testcase classname="test/verifier.integration.spec.ts" name="Verifier Integration Spec > when given a successful contract > with Provider States > should return a successful promise with detailed JSON results" time="0.
|
|
275
|
+
<testcase classname="test/verifier.integration.spec.ts" name="Verifier Integration Spec > when given a successful contract > with Provider States > should return a successful promise with detailed JSON results" time="0.072758123">
|
|
262
276
|
<system-out>
|
|
263
|
-
[
|
|
277
|
+
[06:17:15.709] [32mINFO[39m (2875): [36mpact-core@20.1.0: Verifying Pact Files[39m
|
|
264
278
|
|
|
265
279
|
|
|
266
|
-
[
|
|
280
|
+
[06:17:15.780] [32mINFO[39m (2875): [36mpact-core@20.1.0: Verification successful[39m
|
|
267
281
|
|
|
268
282
|
|
|
269
283
|
</system-out>
|
|
270
284
|
</testcase>
|
|
271
|
-
<testcase classname="test/verifier.integration.spec.ts" name="Verifier Integration Spec > when given a successful contract > with POST data > should return a successful promise" time="0.
|
|
285
|
+
<testcase classname="test/verifier.integration.spec.ts" name="Verifier Integration Spec > when given a successful contract > with POST data > should return a successful promise" time="0.052709843">
|
|
272
286
|
<system-out>
|
|
273
|
-
[
|
|
287
|
+
[06:17:15.782] [32mINFO[39m (2875): [36mpact-core@20.1.0: Verifying Pact Files[39m
|
|
274
288
|
|
|
275
289
|
|
|
276
|
-
[
|
|
290
|
+
[06:17:15.834] [32mINFO[39m (2875): [36mpact-core@20.1.0: Verification successful[39m
|
|
277
291
|
|
|
278
292
|
|
|
279
293
|
</system-out>
|
|
280
294
|
</testcase>
|
|
281
|
-
<testcase classname="test/verifier.integration.spec.ts" name="Verifier Integration Spec > when given a successful contract > with POST data and regex validation > should return a successful promise" time="0.
|
|
295
|
+
<testcase classname="test/verifier.integration.spec.ts" name="Verifier Integration Spec > when given a successful contract > with POST data and regex validation > should return a successful promise" time="0.055863097">
|
|
282
296
|
<system-out>
|
|
283
|
-
[
|
|
297
|
+
[06:17:15.834] [32mINFO[39m (2875): [36mpact-core@20.1.0: Verifying Pact Files[39m
|
|
284
298
|
|
|
285
299
|
|
|
286
|
-
[
|
|
300
|
+
[06:17:15.890] [32mINFO[39m (2875): [36mpact-core@20.1.0: Verification successful[39m
|
|
287
301
|
|
|
288
302
|
|
|
289
303
|
</system-out>
|
|
290
304
|
</testcase>
|
|
291
|
-
<testcase classname="test/verifier.integration.spec.ts" name="Verifier Integration Spec > when given a successful contract > with monkeypatch file specified > should return a successful promise" time="0.
|
|
305
|
+
<testcase classname="test/verifier.integration.spec.ts" name="Verifier Integration Spec > when given a successful contract > with monkeypatch file specified > should return a successful promise" time="0.05969185">
|
|
292
306
|
<system-out>
|
|
293
|
-
[
|
|
307
|
+
[06:17:15.891] [33mWARN[39m (2875): [36mpact-core@20.1.0: monkeypatch is deprecated and no longer has any effect[39m
|
|
294
308
|
|
|
295
|
-
[
|
|
309
|
+
[06:17:15.891] [32mINFO[39m (2875): [36mpact-core@20.1.0: Verifying Pact Files[39m
|
|
296
310
|
|
|
297
311
|
|
|
298
|
-
[
|
|
312
|
+
[06:17:15.949] [32mINFO[39m (2875): [36mpact-core@20.1.0: Verification successful[39m
|
|
299
313
|
|
|
300
314
|
|
|
301
315
|
</system-out>
|
|
302
316
|
</testcase>
|
|
303
|
-
<testcase classname="test/verifier.integration.spec.ts" name="Verifier Integration Spec > when given a failing contract > should return a rejected promise with detailed JSON results in the error message" time="0.
|
|
317
|
+
<testcase classname="test/verifier.integration.spec.ts" name="Verifier Integration Spec > when given a failing contract > should return a rejected promise with detailed JSON results in the error message" time="0.080397277">
|
|
304
318
|
<system-out>
|
|
305
|
-
[
|
|
319
|
+
[06:17:15.950] [32mINFO[39m (2875): [36mpact-core@20.1.0: Verifying Pact Files[39m
|
|
306
320
|
|
|
307
321
|
|
|
308
|
-
[
|
|
322
|
+
[06:17:16.030] [31mERROR[39m (2875): [36mpact-core@20.1.0: Verification unsuccessful[39m
|
|
309
323
|
|
|
310
324
|
|
|
311
325
|
</system-out>
|
|
312
326
|
</testcase>
|
|
313
|
-
<testcase classname="test/verifier.integration.spec.ts" name="Verifier Integration Spec > when given multiple successful API calls in a contract > should return a successful promise" time="0.
|
|
327
|
+
<testcase classname="test/verifier.integration.spec.ts" name="Verifier Integration Spec > when given multiple successful API calls in a contract > should return a successful promise" time="0.091846364">
|
|
314
328
|
<system-out>
|
|
315
|
-
[
|
|
329
|
+
[06:17:16.031] [32mINFO[39m (2875): [36mpact-core@20.1.0: Verifying Pact Files[39m
|
|
316
330
|
|
|
317
331
|
|
|
318
|
-
[
|
|
332
|
+
[06:17:16.122] [32mINFO[39m (2875): [36mpact-core@20.1.0: Verification successful[39m
|
|
319
333
|
|
|
320
334
|
|
|
321
335
|
</system-out>
|
|
322
336
|
</testcase>
|
|
323
|
-
<testcase classname="test/verifier.integration.spec.ts" name="Verifier Integration Spec > when given multiple contracts > from a local file > should return a successful promise" time="0.
|
|
337
|
+
<testcase classname="test/verifier.integration.spec.ts" name="Verifier Integration Spec > when given multiple contracts > from a local file > should return a successful promise" time="0.107291142">
|
|
324
338
|
<system-out>
|
|
325
|
-
[
|
|
339
|
+
[06:17:16.123] [32mINFO[39m (2875): [36mpact-core@20.1.0: Verifying Pact Files[39m
|
|
326
340
|
|
|
327
341
|
|
|
328
|
-
[
|
|
342
|
+
[06:17:16.229] [32mINFO[39m (2875): [36mpact-core@20.1.0: Verification successful[39m
|
|
329
343
|
|
|
330
344
|
|
|
331
345
|
</system-out>
|
|
332
346
|
</testcase>
|
|
333
|
-
<testcase classname="test/verifier.integration.spec.ts" name="Verifier Integration Spec > when given multiple contracts > from a Pact Broker > without authentication > should return a successful promise" time="0.
|
|
347
|
+
<testcase classname="test/verifier.integration.spec.ts" name="Verifier Integration Spec > when given multiple contracts > from a Pact Broker > without authentication > should return a successful promise" time="0.118044539">
|
|
334
348
|
<system-out>
|
|
335
|
-
[
|
|
349
|
+
[06:17:16.230] [32mINFO[39m (2875): [36mpact-core@20.1.0: Verifying Pact Files[39m
|
|
336
350
|
|
|
337
351
|
|
|
338
|
-
[
|
|
352
|
+
[06:17:16.347] [32mINFO[39m (2875): [36mpact-core@20.1.0: Verification successful[39m
|
|
339
353
|
|
|
340
354
|
|
|
341
355
|
</system-out>
|
|
342
356
|
</testcase>
|
|
343
|
-
<testcase classname="test/verifier.integration.spec.ts" name="Verifier Integration Spec > when given multiple contracts > from a Pact Broker > with authentication > and a valid user/password > should return a successful promise" time="0.
|
|
357
|
+
<testcase classname="test/verifier.integration.spec.ts" name="Verifier Integration Spec > when given multiple contracts > from a Pact Broker > with authentication > and a valid user/password > should return a successful promise" time="0.125648896">
|
|
344
358
|
<system-out>
|
|
345
|
-
[
|
|
359
|
+
[06:17:16.349] [32mINFO[39m (2875): [36mpact-core@20.1.0: Verifying Pact Files[39m
|
|
346
360
|
|
|
347
361
|
|
|
348
|
-
[
|
|
362
|
+
[06:17:16.473] [32mINFO[39m (2875): [36mpact-core@20.1.0: Verification successful[39m
|
|
349
363
|
|
|
350
364
|
|
|
351
365
|
</system-out>
|
|
352
366
|
</testcase>
|
|
353
|
-
<testcase classname="test/verifier.integration.spec.ts" name="Verifier Integration Spec > when given multiple contracts > from a Pact Broker > with authentication > and an invalid user/password > should return a rejected promise" time="0.
|
|
367
|
+
<testcase classname="test/verifier.integration.spec.ts" name="Verifier Integration Spec > when given multiple contracts > from a Pact Broker > with authentication > and an invalid user/password > should return a rejected promise" time="0.074201616">
|
|
354
368
|
<system-out>
|
|
355
|
-
[
|
|
369
|
+
[06:17:16.474] [32mINFO[39m (2875): [36mpact-core@20.1.0: Verifying Pact Files[39m
|
|
356
370
|
|
|
357
371
|
|
|
358
|
-
[
|
|
372
|
+
[06:17:16.547] [31mERROR[39m (2875): [36mpact-core@20.1.0: Verification unsuccessful[39m
|
|
359
373
|
|
|
360
374
|
|
|
361
375
|
</system-out>
|
|
362
376
|
</testcase>
|
|
363
|
-
<testcase classname="test/verifier.integration.spec.ts" name="Verifier Integration Spec > when given multiple contracts > from a Pact Broker > with authentication > and an invalid user/password > should return the verifier error output in the returned promise" time="0.
|
|
377
|
+
<testcase classname="test/verifier.integration.spec.ts" name="Verifier Integration Spec > when given multiple contracts > from a Pact Broker > with authentication > and an invalid user/password > should return the verifier error output in the returned promise" time="0.063112961">
|
|
364
378
|
<system-out>
|
|
365
|
-
[
|
|
379
|
+
[06:17:16.548] [32mINFO[39m (2875): [36mpact-core@20.1.0: Verifying Pact Files[39m
|
|
366
380
|
|
|
367
381
|
|
|
368
|
-
[
|
|
382
|
+
[06:17:16.611] [31mERROR[39m (2875): [36mpact-core@20.1.0: Verification unsuccessful[39m
|
|
369
383
|
|
|
370
384
|
|
|
371
385
|
</system-out>
|
|
372
386
|
</testcase>
|
|
373
|
-
<testcase classname="test/verifier.integration.spec.ts" name="Verifier Integration Spec > when publishing verification results to a Pact Broker > and there is a valid Pact file with spaces in the path > should return a successful promise" time="0.
|
|
387
|
+
<testcase classname="test/verifier.integration.spec.ts" name="Verifier Integration Spec > when publishing verification results to a Pact Broker > and there is a valid Pact file with spaces in the path > should return a successful promise" time="0.064217276">
|
|
374
388
|
<system-out>
|
|
375
|
-
[
|
|
389
|
+
[06:17:16.612] [32mINFO[39m (2875): [36mpact-core@20.1.0: Verifying Pact Files[39m
|
|
376
390
|
|
|
377
391
|
|
|
378
|
-
[
|
|
392
|
+
[06:17:16.675] [32mINFO[39m (2875): [36mpact-core@20.1.0: Verification successful[39m
|
|
379
393
|
|
|
380
394
|
|
|
381
395
|
</system-out>
|
|
382
396
|
</testcase>
|
|
383
|
-
<testcase classname="test/verifier.integration.spec.ts" name="Verifier Integration Spec > when publishing verification results to a Pact Broker > and there is a valid verification HAL link in the Pact file > should return a successful promise" time="0.
|
|
397
|
+
<testcase classname="test/verifier.integration.spec.ts" name="Verifier Integration Spec > when publishing verification results to a Pact Broker > and there is a valid verification HAL link in the Pact file > should return a successful promise" time="0.063258229">
|
|
384
398
|
<system-out>
|
|
385
|
-
[
|
|
399
|
+
[06:17:16.676] [32mINFO[39m (2875): [36mpact-core@20.1.0: Verifying Pact Files[39m
|
|
386
400
|
|
|
387
401
|
|
|
388
|
-
[
|
|
402
|
+
[06:17:16.739] [32mINFO[39m (2875): [36mpact-core@20.1.0: Verification successful[39m
|
|
389
403
|
|
|
390
404
|
|
|
391
405
|
</system-out>
|
|
392
406
|
</testcase>
|
|
393
|
-
<testcase classname="test/verifier.integration.spec.ts" name="Verifier Integration Spec > when publishing verification results to a Pact Broker > and there is an invalid verification HAL link in the Pact file > should fail with an error" time="0.
|
|
407
|
+
<testcase classname="test/verifier.integration.spec.ts" name="Verifier Integration Spec > when publishing verification results to a Pact Broker > and there is an invalid verification HAL link in the Pact file > should fail with an error" time="0.060170217">
|
|
394
408
|
<system-out>
|
|
395
|
-
[
|
|
409
|
+
[06:17:16.739] [32mINFO[39m (2875): [36mpact-core@20.1.0: Verifying Pact Files[39m
|
|
396
410
|
|
|
397
411
|
|
|
398
|
-
[
|
|
412
|
+
[06:17:16.799] [32mINFO[39m (2875): [36mpact-core@20.1.0: Verification successful[39m
|
|
399
413
|
|
|
400
414
|
|
|
401
415
|
</system-out>
|
|
402
416
|
</testcase>
|
|
403
417
|
</testsuite>
|
|
404
|
-
<testsuite name="src/consumer/checkErrors.spec.ts" timestamp="2026-
|
|
405
|
-
<testcase classname="src/consumer/checkErrors.spec.ts" name="checkErrors > treats numeric status code 0 as success" time="0.
|
|
418
|
+
<testsuite name="src/consumer/checkErrors.spec.ts" timestamp="2026-09-07T06:17:17.756Z" hostname="runnervmejwal" tests="2" failures="0" errors="0" skipped="0" time="0.005058051">
|
|
419
|
+
<testcase classname="src/consumer/checkErrors.spec.ts" name="checkErrors > treats numeric status code 0 as success" time="0.002683532">
|
|
406
420
|
</testcase>
|
|
407
|
-
<testcase classname="src/consumer/checkErrors.spec.ts" name="checkErrors > treats non-zero numeric status as failure" time="0.
|
|
421
|
+
<testcase classname="src/consumer/checkErrors.spec.ts" name="checkErrors > treats non-zero numeric status as failure" time="0.000337997">
|
|
408
422
|
</testcase>
|
|
409
423
|
</testsuite>
|
|
410
|
-
<testsuite name="src/verifier/validateOptions.spec.ts" timestamp="2026-
|
|
411
|
-
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > when automatically finding pacts from a broker > when not given --pact-urls and only --pact-broker-url > should fail with an error because provider is missing" time="0.
|
|
424
|
+
<testsuite name="src/verifier/validateOptions.spec.ts" timestamp="2026-09-07T06:17:17.757Z" hostname="runnervmejwal" tests="42" failures="0" errors="0" skipped="0" time="0.050621456">
|
|
425
|
+
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > when automatically finding pacts from a broker > when not given --pact-urls and only --pact-broker-url > should fail with an error because provider is missing" time="0.013223301">
|
|
412
426
|
<system-out>
|
|
413
|
-
[
|
|
427
|
+
[06:17:15.057] [31mERROR[39m (2853): [36mpactBrokerUrl requires the following properties: provider[39m
|
|
414
428
|
|
|
415
429
|
|
|
416
430
|
</system-out>
|
|
417
431
|
</testcase>
|
|
418
|
-
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > when automatically finding pacts from a broker > when given valid arguments > should return a Verifier object" time="0.
|
|
432
|
+
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > when automatically finding pacts from a broker > when given valid arguments > should return a Verifier object" time="0.001629555">
|
|
419
433
|
</testcase>
|
|
420
|
-
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > when automatically finding pacts from a broker > when given an unknown array argument > should return a Verifier object" time="0.
|
|
434
|
+
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > when automatically finding pacts from a broker > when given an unknown array argument > should return a Verifier object" time="0.000475783">
|
|
421
435
|
</testcase>
|
|
422
|
-
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > when not given --pact-urls or --provider-base-url > should fail with an error" time="0.
|
|
436
|
+
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > when not given --pact-urls or --provider-base-url > should fail with an error" time="0.000741486">
|
|
423
437
|
</testcase>
|
|
424
|
-
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > when given an invalid timeout > should fail with an error" time="0.
|
|
438
|
+
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > when given an invalid timeout > should fail with an error" time="0.000546966">
|
|
425
439
|
</testcase>
|
|
426
|
-
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > when given remote Pact URLs that don't exist > should pass through to the Pact Verifier regardless" time="0.
|
|
440
|
+
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > when given remote Pact URLs that don't exist > should pass through to the Pact Verifier regardless" time="0.000410523">
|
|
427
441
|
</testcase>
|
|
428
|
-
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > when given local Pact URLs that do exist > should not fail" time="0.
|
|
442
|
+
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > when given local Pact URLs that do exist > should not fail" time="0.00047942">
|
|
429
443
|
</testcase>
|
|
430
|
-
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > when requested to publish verification results to a Pact Broker > and specifies a provider version > should pass through to the Pact Verifier" time="0.
|
|
444
|
+
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > when requested to publish verification results to a Pact Broker > and specifies a provider version > should pass through to the Pact Verifier" time="0.000461446">
|
|
431
445
|
</testcase>
|
|
432
|
-
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > when requested to publish verification results to a Pact Broker > and does not specify provider version > should fail with an error" time="0.
|
|
446
|
+
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > when requested to publish verification results to a Pact Broker > and does not specify provider version > should fail with an error" time="0.001720144">
|
|
433
447
|
<system-out>
|
|
434
|
-
[
|
|
448
|
+
[06:17:15.070] [31mERROR[39m (2853): [36mpublishVerificationResult requires the following properties: providerVersion[39m
|
|
435
449
|
|
|
436
450
|
|
|
437
451
|
</system-out>
|
|
438
452
|
</testcase>
|
|
439
|
-
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > when given the correct arguments > should return a Verifier object" time="0.
|
|
453
|
+
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > when given the correct arguments > should return a Verifier object" time="0.000316688">
|
|
440
454
|
</testcase>
|
|
441
|
-
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > when using includeWipPactsSince > should accept a non-empty string" time="0.
|
|
455
|
+
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > when using includeWipPactsSince > should accept a non-empty string" time="0.000299036">
|
|
442
456
|
</testcase>
|
|
443
|
-
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > when using includeWipPactsSince > should not accept an empty string" time="0.
|
|
457
|
+
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > when using includeWipPactsSince > should not accept an empty string" time="0.000352314">
|
|
444
458
|
</testcase>
|
|
445
|
-
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > when using followRedirects > should accept a boolean" time="0.
|
|
459
|
+
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > when using followRedirects > should accept a boolean" time="0.000868021">
|
|
446
460
|
</testcase>
|
|
447
|
-
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > when using followRedirects > should not accept a non-boolean" time="0.
|
|
461
|
+
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > when using followRedirects > should not accept a non-boolean" time="0.000476665">
|
|
448
462
|
</testcase>
|
|
449
|
-
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > when an using format option > should work with either 'json' or 'xml'" time="0.
|
|
463
|
+
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > when an using format option > should work with either 'json' or 'xml'" time="0.001946564">
|
|
450
464
|
<system-out>
|
|
451
|
-
[
|
|
465
|
+
[06:17:15.075] [33mWARN[39m (2853): [36mpact-core@20.1.0: format is deprecated and no longer has any effect[39m
|
|
452
466
|
|
|
453
|
-
[
|
|
467
|
+
[06:17:15.075] [33mWARN[39m (2853): [36mpact-core@20.1.0: format is deprecated and no longer has any effect[39m
|
|
454
468
|
|
|
455
|
-
[
|
|
469
|
+
[06:17:15.076] [33mWARN[39m (2853): [36mpact-core@20.1.0: format is deprecated and no longer has any effect[39m
|
|
456
470
|
|
|
457
471
|
|
|
458
472
|
</system-out>
|
|
459
473
|
</testcase>
|
|
460
|
-
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > when an using format option > should work with a case insensitive string" time="0.
|
|
474
|
+
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > when an using format option > should work with a case insensitive string" time="0.000567263">
|
|
461
475
|
<system-out>
|
|
462
|
-
[
|
|
476
|
+
[06:17:15.076] [33mWARN[39m (2853): [36mpact-core@20.1.0: format is deprecated and no longer has any effect[39m
|
|
463
477
|
|
|
464
478
|
|
|
465
479
|
</system-out>
|
|
466
480
|
</testcase>
|
|
467
|
-
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > when pactBrokerUrl is not provided > should not fail" time="0.
|
|
481
|
+
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > when pactBrokerUrl is not provided > should not fail" time="0.000576681">
|
|
468
482
|
</testcase>
|
|
469
|
-
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > when pactBrokerUrl is provided > should not fail" time="0.
|
|
483
|
+
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > when pactBrokerUrl is provided > should not fail" time="0.000397187">
|
|
470
484
|
</testcase>
|
|
471
|
-
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > when consumerVersionTags is not provided > should not fail" time="0.
|
|
485
|
+
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > when consumerVersionTags is not provided > should not fail" time="0.000296351">
|
|
472
486
|
</testcase>
|
|
473
|
-
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > when consumerVersionTags is provided as an array > should not fail" time="0.
|
|
487
|
+
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > when consumerVersionTags is provided as an array > should not fail" time="0.000602509">
|
|
474
488
|
</testcase>
|
|
475
|
-
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > when providerVersionTags is not provided > should not fail" time="0.
|
|
489
|
+
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > when providerVersionTags is not provided > should not fail" time="0.000297051">
|
|
476
490
|
</testcase>
|
|
477
|
-
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > when providerVersionTags is provided as an array > should not fail" time="0.
|
|
491
|
+
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > when providerVersionTags is provided as an array > should not fail" time="0.000283647">
|
|
478
492
|
</testcase>
|
|
479
|
-
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > when using a bearer token > and specifies a username or password > should fail with an error" time="0.
|
|
493
|
+
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > when using a bearer token > and specifies a username or password > should fail with an error" time="0.000999827">
|
|
480
494
|
<system-out>
|
|
481
|
-
[
|
|
495
|
+
[06:17:15.080] [31mERROR[39m (2853): [36mpactBrokerToken is incompatible with the following properties: pactBrokerUsername,pactBrokerPassword[39m
|
|
482
496
|
|
|
483
497
|
|
|
484
498
|
</system-out>
|
|
485
499
|
</testcase>
|
|
486
|
-
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > when using a bearer token > should not fail" time="0.
|
|
500
|
+
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > when using a bearer token > should not fail" time="0.000298243">
|
|
487
501
|
</testcase>
|
|
488
|
-
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > when providing consumerVersionSelectors > and an unsupported selector is specified > should log out a warning that the selector is unknown" time="0.
|
|
502
|
+
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > when providing consumerVersionSelectors > and an unsupported selector is specified > should log out a warning that the selector is unknown" time="0.003956326">
|
|
489
503
|
<system-out>
|
|
490
|
-
[
|
|
504
|
+
[06:17:15.084] [33mWARN[39m (2853): [36mpact-core@20.1.0: The consumer version selector 'unsupportedFlag' is unknown but will be sent through to the validation. Allowed properties are tag, latest, consumer, deployedOrReleased, deployed, released, environment, fallbackTag, branch, mainBranch, matchingBranch)[39m
|
|
491
505
|
|
|
492
506
|
|
|
493
507
|
</system-out>
|
|
494
508
|
</testcase>
|
|
495
|
-
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > and the tag of "latest" is specified > should log out a warning that using this selector is not recommended" time="0.
|
|
509
|
+
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > and the tag of "latest" is specified > should log out a warning that using this selector is not recommended" time="0.002831617">
|
|
496
510
|
<system-out>
|
|
497
|
-
[
|
|
511
|
+
[06:17:15.086] [33mWARN[39m (2853): [36mpact-core@20.1.0: Using the tag 'latest' is not recommended and probably does not do what you intended.[39m
|
|
498
512
|
|
|
499
|
-
[
|
|
513
|
+
[06:17:15.086] [33mWARN[39m (2853): [36mpact-core@20.1.0: See https://docs.pact.io/pact_broker/tags/#latest-pacts[39m
|
|
500
514
|
|
|
501
|
-
[
|
|
515
|
+
[06:17:15.087] [33mWARN[39m (2853): [36mpact-core@20.1.0: If you need to specify latest, try:[39m
|
|
502
516
|
|
|
503
|
-
[
|
|
517
|
+
[06:17:15.087] [33mWARN[39m (2853): [36mpact-core@20.1.0: consumerVersionSelectors: [{ lastest: true }][39m
|
|
504
518
|
|
|
505
519
|
|
|
506
520
|
</system-out>
|
|
507
521
|
</testcase>
|
|
508
|
-
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > and valid selectors are specified > should not fail when consumerVersionSelectors is {"tag":"a-tag"}" time="0.
|
|
522
|
+
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > and valid selectors are specified > should not fail when consumerVersionSelectors is {"tag":"a-tag"}" time="0.000480092">
|
|
509
523
|
</testcase>
|
|
510
|
-
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > and valid selectors are specified > should not fail when consumerVersionSelectors is {"latest":true}" time="0.
|
|
524
|
+
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > and valid selectors are specified > should not fail when consumerVersionSelectors is {"latest":true}" time="0.000223254">
|
|
511
525
|
</testcase>
|
|
512
|
-
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > and valid selectors are specified > should not fail when consumerVersionSelectors is {"consumer":"the-consumer"}" time="0.
|
|
526
|
+
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > and valid selectors are specified > should not fail when consumerVersionSelectors is {"consumer":"the-consumer"}" time="0.000262477">
|
|
513
527
|
</testcase>
|
|
514
|
-
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > and valid selectors are specified > should not fail when consumerVersionSelectors is {"deployedOrReleased":true}" time="0.
|
|
528
|
+
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > and valid selectors are specified > should not fail when consumerVersionSelectors is {"deployedOrReleased":true}" time="0.000242971">
|
|
515
529
|
</testcase>
|
|
516
|
-
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > and valid selectors are specified > should not fail when consumerVersionSelectors is {"deployed":true}" time="0.
|
|
530
|
+
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > and valid selectors are specified > should not fail when consumerVersionSelectors is {"deployed":true}" time="0.00021561">
|
|
517
531
|
</testcase>
|
|
518
|
-
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > and valid selectors are specified > should not fail when consumerVersionSelectors is {"released":true}" time="0.
|
|
532
|
+
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > and valid selectors are specified > should not fail when consumerVersionSelectors is {"released":true}" time="0.000217533">
|
|
519
533
|
</testcase>
|
|
520
|
-
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > and valid selectors are specified > should not fail when consumerVersionSelectors is {"environment":"an-environment"}" time="0.
|
|
534
|
+
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > and valid selectors are specified > should not fail when consumerVersionSelectors is {"environment":"an-environment"}" time="0.000272266">
|
|
521
535
|
</testcase>
|
|
522
|
-
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > and valid selectors are specified > should not fail when consumerVersionSelectors is {"fallbackTag":"a-fallback-tag"}" time="0.
|
|
536
|
+
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > and valid selectors are specified > should not fail when consumerVersionSelectors is {"fallbackTag":"a-fallback-tag"}" time="0.004253958">
|
|
523
537
|
</testcase>
|
|
524
|
-
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > and valid selectors are specified > should not fail when consumerVersionSelectors is {"branch":"the-branch"}" time="0.
|
|
538
|
+
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > and valid selectors are specified > should not fail when consumerVersionSelectors is {"branch":"the-branch"}" time="0.000314834">
|
|
525
539
|
</testcase>
|
|
526
|
-
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > and valid selectors are specified > should not fail when consumerVersionSelectors is {"mainBranch":false}" time="0.
|
|
540
|
+
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > and valid selectors are specified > should not fail when consumerVersionSelectors is {"mainBranch":false}" time="0.000254081">
|
|
527
541
|
</testcase>
|
|
528
|
-
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > and valid selectors are specified > should not fail when consumerVersionSelectors is {"matchingBranch":true}" time="0.
|
|
542
|
+
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > and valid selectors are specified > should not fail when consumerVersionSelectors is {"matchingBranch":true}" time="0.000218075">
|
|
529
543
|
</testcase>
|
|
530
|
-
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > when given customProviderHeaders > using the object notation > should pass through to the Pact Verifier" time="0.
|
|
544
|
+
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > when given customProviderHeaders > using the object notation > should pass through to the Pact Verifier" time="0.00071134">
|
|
531
545
|
</testcase>
|
|
532
|
-
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > when given customProviderHeaders > using the legacy array notation > should pass through to the Pact Verifier" time="0.
|
|
546
|
+
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > when given customProviderHeaders > using the legacy array notation > should pass through to the Pact Verifier" time="0.000372131">
|
|
533
547
|
</testcase>
|
|
534
|
-
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > when given customProviderHeaders > using the legacy array notation > and the format is incorrect > should throw an error" time="0.
|
|
548
|
+
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > when given customProviderHeaders > using the legacy array notation > and the format is incorrect > should throw an error" time="0.000371149">
|
|
535
549
|
</testcase>
|
|
536
|
-
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > when given providerBranch > should not throw an error" time="0.
|
|
550
|
+
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > when given providerBranch > should not throw an error" time="0.001162959">
|
|
537
551
|
</testcase>
|
|
538
|
-
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > when given unknown properties > should ignore them and not throw an error" time="0.
|
|
552
|
+
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > when given unknown properties > should ignore them and not throw an error" time="0.00032841">
|
|
539
553
|
</testcase>
|
|
540
554
|
</testsuite>
|
|
541
555
|
</testsuites>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pact-foundation/pact-core",
|
|
3
|
-
"version": "20.1.
|
|
3
|
+
"version": "20.1.1",
|
|
4
4
|
"description": "Core of @pact-foundation/pact. You almost certainly don't want to depend on this directly.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"homepage": "https://github.com/pact-foundation/pact-js-core#readme",
|
|
@@ -51,10 +51,10 @@
|
|
|
51
51
|
"underscore": "1.13.8"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
|
-
"@biomejs/biome": "2.5.
|
|
54
|
+
"@biomejs/biome": "2.5.12",
|
|
55
55
|
"@grpc/grpc-js": "1.14.4",
|
|
56
56
|
"@grpc/proto-loader": "0.8.1",
|
|
57
|
-
"@tsconfig/node22": "22.0.
|
|
57
|
+
"@tsconfig/node22": "22.0.6",
|
|
58
58
|
"@types/basic-auth": "1.1.8",
|
|
59
59
|
"@types/check-types": "11.2.2",
|
|
60
60
|
"@types/cors": "2.8.19",
|
|
@@ -68,8 +68,8 @@
|
|
|
68
68
|
"@types/underscore": "1.13.0",
|
|
69
69
|
"@types/unixify": "1.0.2",
|
|
70
70
|
"@types/url-join": "5.0.0",
|
|
71
|
-
"@vitest/coverage-v8": "4.1.
|
|
72
|
-
"axios": "1.
|
|
71
|
+
"@vitest/coverage-v8": "4.1.11",
|
|
72
|
+
"axios": "1.20.0",
|
|
73
73
|
"basic-auth": "2.0.1",
|
|
74
74
|
"body-parser": "2.3.0",
|
|
75
75
|
"commit-and-tag-version": "13.1.2",
|
|
@@ -78,13 +78,13 @@
|
|
|
78
78
|
"express": "5.2.1",
|
|
79
79
|
"form-data": "4.0.6",
|
|
80
80
|
"grpc-promise": "1.4.0",
|
|
81
|
-
"node-addon-api": "8.9.
|
|
81
|
+
"node-addon-api": "8.9.2",
|
|
82
82
|
"nodemon": "3.1.14",
|
|
83
|
-
"protobufjs": "8.
|
|
83
|
+
"protobufjs": "8.8.0",
|
|
84
84
|
"rimraf": "6.1.3",
|
|
85
85
|
"sinon": "22.1.0",
|
|
86
86
|
"typescript": "7.0.2",
|
|
87
|
-
"vitest": "4.1.
|
|
87
|
+
"vitest": "4.1.11"
|
|
88
88
|
},
|
|
89
89
|
"overrides": {
|
|
90
90
|
"semver": "7.8.5"
|
|
@@ -144,12 +144,12 @@
|
|
|
144
144
|
]
|
|
145
145
|
},
|
|
146
146
|
"optionalDependencies": {
|
|
147
|
-
"@pact-foundation/pact-core-darwin-arm64": "20.1.
|
|
148
|
-
"@pact-foundation/pact-core-darwin-x64": "20.1.
|
|
149
|
-
"@pact-foundation/pact-core-linux-arm64-glibc": "20.1.
|
|
150
|
-
"@pact-foundation/pact-core-linux-arm64-musl": "20.1.
|
|
151
|
-
"@pact-foundation/pact-core-linux-x64-glibc": "20.1.
|
|
152
|
-
"@pact-foundation/pact-core-linux-x64-musl": "20.1.
|
|
153
|
-
"@pact-foundation/pact-core-windows-x64": "20.1.
|
|
147
|
+
"@pact-foundation/pact-core-darwin-arm64": "20.1.1",
|
|
148
|
+
"@pact-foundation/pact-core-darwin-x64": "20.1.1",
|
|
149
|
+
"@pact-foundation/pact-core-linux-arm64-glibc": "20.1.1",
|
|
150
|
+
"@pact-foundation/pact-core-linux-arm64-musl": "20.1.1",
|
|
151
|
+
"@pact-foundation/pact-core-linux-x64-glibc": "20.1.1",
|
|
152
|
+
"@pact-foundation/pact-core-linux-x64-musl": "20.1.1",
|
|
153
|
+
"@pact-foundation/pact-core-windows-x64": "20.1.1"
|
|
154
154
|
}
|
|
155
155
|
}
|