@pact-foundation/pact-core 20.1.1 → 20.2.0
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/ffi/index.d.ts +1 -1
- package/dist/ffi/index.js +1 -1
- package/junit.xml +285 -275
- package/package.json +13 -13
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.2.0](https://github.com/pact-foundation/pact-js-core/compare/v20.1.1...v20.2.0) (2026-09-16)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
* **ffi:** update pact-ffi to 0.5.8 and assert per-interaction pact details ([fcd52de](https://github.com/pact-foundation/pact-js-core/commit/fcd52ded3c22509560255e6f081fac37e7e7e88a)), references [pact-foundation/pact-reference#549](https://github.com/pact-foundation/pact-js-core/issues/549)
|
|
5
10
|
## [20.1.1](https://github.com/pact-foundation/pact-js-core/compare/v20.1.0...v20.1.1) (2026-09-07)
|
|
6
11
|
|
|
7
12
|
### Fixes and Improvements
|
package/dist/ffi/index.d.ts
CHANGED
|
@@ -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.8";
|
|
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.8';
|
|
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/junit.xml
CHANGED
|
@@ -1,118 +1,255 @@
|
|
|
1
1
|
<?xml version="1.0" encoding="UTF-8" ?>
|
|
2
|
-
<testsuites name="vitest tests" tests="
|
|
3
|
-
<testsuite name="src/
|
|
4
|
-
<testcase classname="src/
|
|
2
|
+
<testsuites name="vitest tests" tests="93" failures="0" errors="0" time="4.444660371">
|
|
3
|
+
<testsuite name="src/consumer/checkErrors.spec.ts" timestamp="2026-09-16T10:54:03.859Z" hostname="runnervmlun5p" tests="2" failures="0" errors="0" skipped="0" time="0.005174097">
|
|
4
|
+
<testcase classname="src/consumer/checkErrors.spec.ts" name="checkErrors > treats numeric status code 0 as success" time="0.002814018">
|
|
5
|
+
</testcase>
|
|
6
|
+
<testcase classname="src/consumer/checkErrors.spec.ts" name="checkErrors > treats non-zero numeric status as failure" time="0.000418042">
|
|
7
|
+
</testcase>
|
|
8
|
+
</testsuite>
|
|
9
|
+
<testsuite name="src/index.spec.ts" timestamp="2026-09-16T10:54:03.860Z" hostname="runnervmlun5p" tests="1" failures="0" errors="0" skipped="0" time="0.003754508">
|
|
10
|
+
<testcase classname="src/index.spec.ts" name="Index Spec > Typescript import should work" time="0.001983493">
|
|
5
11
|
</testcase>
|
|
6
12
|
</testsuite>
|
|
7
|
-
<testsuite name="src/pact.spec.ts" timestamp="2026-09-
|
|
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.
|
|
13
|
+
<testsuite name="src/pact.spec.ts" timestamp="2026-09-16T10:54:03.860Z" hostname="runnervmlun5p" tests="5" failures="0" errors="0" skipped="0" time="0.007251445">
|
|
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 'trace'" time="0.00177351">
|
|
9
15
|
</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.
|
|
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 'debug'" time="0.000387967">
|
|
11
17
|
</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.
|
|
18
|
+
<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.000374481">
|
|
13
19
|
</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.
|
|
20
|
+
<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.000388588">
|
|
15
21
|
</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.
|
|
22
|
+
<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.000260197">
|
|
17
23
|
</testcase>
|
|
18
24
|
</testsuite>
|
|
19
|
-
<testsuite name="
|
|
20
|
-
<testcase classname="
|
|
25
|
+
<testsuite name="src/verifier/validateOptions.spec.ts" timestamp="2026-09-16T10:54:03.862Z" hostname="runnervmlun5p" tests="42" failures="0" errors="0" skipped="0" time="0.040600662">
|
|
26
|
+
<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.012771237">
|
|
27
|
+
<system-out>
|
|
28
|
+
[10:54:01.270] [31mERROR[39m (2818): [36mpactBrokerUrl requires the following properties: provider[39m
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
</system-out>
|
|
32
|
+
</testcase>
|
|
33
|
+
<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.001376326">
|
|
34
|
+
</testcase>
|
|
35
|
+
<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.000606295">
|
|
36
|
+
</testcase>
|
|
37
|
+
<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.000387385">
|
|
38
|
+
</testcase>
|
|
39
|
+
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > when given an invalid timeout > should fail with an error" time="0.000432649">
|
|
40
|
+
</testcase>
|
|
41
|
+
<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.000372617">
|
|
42
|
+
</testcase>
|
|
43
|
+
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > when given local Pact URLs that do exist > should not fail" time="0.00042231">
|
|
44
|
+
</testcase>
|
|
45
|
+
<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.000430506">
|
|
46
|
+
</testcase>
|
|
47
|
+
<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.001607628">
|
|
48
|
+
<system-out>
|
|
49
|
+
[10:54:01.283] [31mERROR[39m (2818): [36mpublishVerificationResult requires the following properties: providerVersion[39m
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
</system-out>
|
|
53
|
+
</testcase>
|
|
54
|
+
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > when given the correct arguments > should return a Verifier object" time="0.000278992">
|
|
55
|
+
</testcase>
|
|
56
|
+
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > when using includeWipPactsSince > should accept a non-empty string" time="0.000241071">
|
|
57
|
+
</testcase>
|
|
58
|
+
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > when using includeWipPactsSince > should not accept an empty string" time="0.000282218">
|
|
59
|
+
</testcase>
|
|
60
|
+
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > when using followRedirects > should accept a boolean" time="0.000246581">
|
|
61
|
+
</testcase>
|
|
62
|
+
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > when using followRedirects > should not accept a non-boolean" time="0.00028289">
|
|
63
|
+
</testcase>
|
|
64
|
+
<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.001555971">
|
|
65
|
+
<system-out>
|
|
66
|
+
[10:54:01.286] [33mWARN[39m (2818): [36mpact-core@20.1.1: format is deprecated and no longer has any effect[39m
|
|
67
|
+
|
|
68
|
+
[10:54:01.286] [33mWARN[39m (2818): [36mpact-core@20.1.1: format is deprecated and no longer has any effect[39m
|
|
69
|
+
|
|
70
|
+
[10:54:01.286] [33mWARN[39m (2818): [36mpact-core@20.1.1: format is deprecated and no longer has any effect[39m
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
</system-out>
|
|
74
|
+
</testcase>
|
|
75
|
+
<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.000769731">
|
|
76
|
+
<system-out>
|
|
77
|
+
[10:54:01.287] [33mWARN[39m (2818): [36mpact-core@20.1.1: format is deprecated and no longer has any effect[39m
|
|
78
|
+
|
|
79
|
+
|
|
80
|
+
</system-out>
|
|
81
|
+
</testcase>
|
|
82
|
+
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > when pactBrokerUrl is not provided > should not fail" time="0.000371776">
|
|
83
|
+
</testcase>
|
|
84
|
+
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > when pactBrokerUrl is provided > should not fail" time="0.000510996">
|
|
85
|
+
</testcase>
|
|
86
|
+
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > when consumerVersionTags is not provided > should not fail" time="0.00032554">
|
|
87
|
+
</testcase>
|
|
88
|
+
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > when consumerVersionTags is provided as an array > should not fail" time="0.000630199">
|
|
89
|
+
</testcase>
|
|
90
|
+
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > when providerVersionTags is not provided > should not fail" time="0.000363009">
|
|
91
|
+
</testcase>
|
|
92
|
+
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > when providerVersionTags is provided as an array > should not fail" time="0.000330288">
|
|
93
|
+
</testcase>
|
|
94
|
+
<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.00092989">
|
|
21
95
|
<system-out>
|
|
22
|
-
[
|
|
96
|
+
[10:54:01.291] [31mERROR[39m (2818): [36mpactBrokerToken is incompatible with the following properties: pactBrokerUsername,pactBrokerPassword[39m
|
|
97
|
+
|
|
98
|
+
|
|
99
|
+
</system-out>
|
|
100
|
+
</testcase>
|
|
101
|
+
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > when using a bearer token > should not fail" time="0.000285124">
|
|
102
|
+
</testcase>
|
|
103
|
+
<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.00405619">
|
|
104
|
+
<system-out>
|
|
105
|
+
[10:54:01.295] [33mWARN[39m (2818): [36mpact-core@20.1.1: 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
|
|
106
|
+
|
|
107
|
+
|
|
108
|
+
</system-out>
|
|
109
|
+
</testcase>
|
|
110
|
+
<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.003084462">
|
|
111
|
+
<system-out>
|
|
112
|
+
[10:54:01.297] [33mWARN[39m (2818): [36mpact-core@20.1.1: Using the tag 'latest' is not recommended and probably does not do what you intended.[39m
|
|
113
|
+
|
|
114
|
+
[10:54:01.298] [33mWARN[39m (2818): [36mpact-core@20.1.1: See https://docs.pact.io/pact_broker/tags/#latest-pacts[39m
|
|
115
|
+
|
|
116
|
+
[10:54:01.298] [33mWARN[39m (2818): [36mpact-core@20.1.1: If you need to specify latest, try:[39m
|
|
117
|
+
|
|
118
|
+
[10:54:01.298] [33mWARN[39m (2818): [36mpact-core@20.1.1: consumerVersionSelectors: [{ lastest: true }][39m
|
|
119
|
+
|
|
120
|
+
|
|
121
|
+
</system-out>
|
|
122
|
+
</testcase>
|
|
123
|
+
<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.00030451">
|
|
124
|
+
</testcase>
|
|
125
|
+
<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.000143549">
|
|
126
|
+
</testcase>
|
|
127
|
+
<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.000130454">
|
|
128
|
+
</testcase>
|
|
129
|
+
<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.000121246">
|
|
130
|
+
</testcase>
|
|
131
|
+
<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.000117369">
|
|
132
|
+
</testcase>
|
|
133
|
+
<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.000150242">
|
|
134
|
+
</testcase>
|
|
135
|
+
<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.000120516">
|
|
136
|
+
</testcase>
|
|
137
|
+
<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.000266449">
|
|
138
|
+
</testcase>
|
|
139
|
+
<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.000180137">
|
|
140
|
+
</testcase>
|
|
141
|
+
<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.000127188">
|
|
142
|
+
</testcase>
|
|
143
|
+
<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.000118773">
|
|
144
|
+
</testcase>
|
|
145
|
+
<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.000420197">
|
|
146
|
+
</testcase>
|
|
147
|
+
<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.000224119">
|
|
148
|
+
</testcase>
|
|
149
|
+
<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.000218128">
|
|
150
|
+
</testcase>
|
|
151
|
+
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > when given providerBranch > should not throw an error" time="0.000222707">
|
|
152
|
+
</testcase>
|
|
153
|
+
<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.000189976">
|
|
154
|
+
</testcase>
|
|
155
|
+
</testsuite>
|
|
156
|
+
<testsuite name="test/consumer.integration.spec.ts" timestamp="2026-09-16T10:54:03.871Z" hostname="runnervmlun5p" tests="12" failures="0" errors="0" skipped="1" time="0.784979506">
|
|
157
|
+
<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.055023618">
|
|
158
|
+
<system-out>
|
|
159
|
+
[10:54:01.472] [32mINFO[39m (2817): [36m0.5.8: pact native library successfully found, and the correct version[39m
|
|
23
160
|
|
|
24
161
|
|
|
25
162
|
[]
|
|
26
163
|
|
|
27
164
|
</system-out>
|
|
28
165
|
</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.
|
|
166
|
+
<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.008734083">
|
|
30
167
|
</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.
|
|
168
|
+
<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.008100287">
|
|
32
169
|
</testcase>
|
|
33
170
|
<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
171
|
<skipped/>
|
|
35
172
|
</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.
|
|
173
|
+
<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.004111606">
|
|
37
174
|
</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.
|
|
175
|
+
<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.003568928">
|
|
39
176
|
</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.
|
|
177
|
+
<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.003349307">
|
|
41
178
|
</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.
|
|
179
|
+
<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.006386872">
|
|
43
180
|
</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.
|
|
181
|
+
<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.622552259">
|
|
45
182
|
</testcase>
|
|
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.
|
|
183
|
+
<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.00296075">
|
|
47
184
|
<system-out>
|
|
48
|
-
[
|
|
185
|
+
[10:54:02.180] [31mERROR[39m (2817): [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
186
|
|
|
50
187
|
|
|
51
188
|
</system-out>
|
|
52
189
|
</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.
|
|
190
|
+
<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.001278923">
|
|
54
191
|
<system-out>
|
|
55
|
-
[
|
|
192
|
+
[10:54:02.181] [31mERROR[39m (2817): [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
193
|
|
|
57
194
|
|
|
58
195
|
</system-out>
|
|
59
196
|
</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.
|
|
197
|
+
<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.064807383">
|
|
61
198
|
<system-out>
|
|
62
199
|
[]
|
|
63
200
|
|
|
64
201
|
</system-out>
|
|
65
202
|
</testcase>
|
|
66
203
|
</testsuite>
|
|
67
|
-
<testsuite name="test/matt.consumer.integration.spec.ts" timestamp="2026-09-
|
|
68
|
-
<testcase classname="test/matt.consumer.integration.spec.ts" name="MATT protocol test > HTTP test > returns a valid MATT message over HTTP" time="0.
|
|
204
|
+
<testsuite name="test/matt.consumer.integration.spec.ts" timestamp="2026-09-16T10:54:03.876Z" hostname="runnervmlun5p" tests="2" failures="0" errors="0" skipped="0" time="1.13921148">
|
|
205
|
+
<testcase classname="test/matt.consumer.integration.spec.ts" name="MATT protocol test > HTTP test > returns a valid MATT message over HTTP" time="0.598619843">
|
|
69
206
|
<system-out>
|
|
70
|
-
[
|
|
207
|
+
[10:54:02.613] [32mINFO[39m (2968): [36m0.5.8: pact native library successfully found, and the correct version[39m
|
|
71
208
|
|
|
72
209
|
|
|
73
210
|
</system-out>
|
|
74
211
|
</testcase>
|
|
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.
|
|
212
|
+
<testcase classname="test/matt.consumer.integration.spec.ts" name="MATT protocol test > TCP Messages > with MATT protocol > generates a pact with success" time="0.537534826">
|
|
76
213
|
</testcase>
|
|
77
214
|
</testsuite>
|
|
78
|
-
<testsuite name="test/matt.provider.integration.spec.ts" timestamp="2026-09-
|
|
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.
|
|
215
|
+
<testsuite name="test/matt.provider.integration.spec.ts" timestamp="2026-09-16T10:54:03.877Z" hostname="runnervmlun5p" tests="1" failures="0" errors="0" skipped="0" time="0.140860576">
|
|
216
|
+
<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.138717444">
|
|
80
217
|
<system-out>
|
|
81
|
-
[
|
|
218
|
+
[10:54:03.261] [32mINFO[39m (3084): [36mpact-core@20.1.1: Verifying Pact Files[39m
|
|
82
219
|
|
|
83
|
-
[
|
|
220
|
+
[10:54:03.268] [32mINFO[39m (3084): [36m0.5.8: pact native library successfully found, and the correct version[39m
|
|
84
221
|
|
|
85
222
|
|
|
86
|
-
[
|
|
223
|
+
[10:54:03.386] [32mINFO[39m (3084): [36mpact-core@20.1.1: Verification successful[39m
|
|
87
224
|
|
|
88
225
|
|
|
89
226
|
</system-out>
|
|
90
227
|
</testcase>
|
|
91
228
|
</testsuite>
|
|
92
|
-
<testsuite name="test/message.integration.spec.ts" timestamp="2026-09-
|
|
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.
|
|
229
|
+
<testsuite name="test/message.integration.spec.ts" timestamp="2026-09-16T10:54:03.877Z" hostname="runnervmlun5p" tests="8" failures="0" errors="0" skipped="0" time="0.737865186">
|
|
230
|
+
<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.010428724">
|
|
94
231
|
</testcase>
|
|
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.
|
|
232
|
+
<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.001644417">
|
|
96
233
|
</testcase>
|
|
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.
|
|
234
|
+
<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.001856214">
|
|
98
235
|
</testcase>
|
|
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.
|
|
236
|
+
<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.001280005">
|
|
100
237
|
</testcase>
|
|
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.
|
|
238
|
+
<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.008730637">
|
|
102
239
|
</testcase>
|
|
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.
|
|
240
|
+
<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.001299051">
|
|
104
241
|
</testcase>
|
|
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.
|
|
242
|
+
<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.002257744">
|
|
106
243
|
</testcase>
|
|
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.
|
|
244
|
+
<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.695800985">
|
|
108
245
|
</testcase>
|
|
109
246
|
</testsuite>
|
|
110
|
-
<testsuite name="test/plugin-verifier.integration.spec.ts" timestamp="2026-09-
|
|
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.
|
|
247
|
+
<testsuite name="test/plugin-verifier.integration.spec.ts" timestamp="2026-09-16T10:54:03.879Z" hostname="runnervmlun5p" tests="2" failures="0" errors="0" skipped="0" time="0.235910579">
|
|
248
|
+
<testcase classname="test/plugin-verifier.integration.spec.ts" name="Plugin Verifier Integration Spec > plugin tests > grpc interaction > should verify the gRPC interactions" time="0.17665662">
|
|
112
249
|
<system-out>
|
|
113
|
-
[
|
|
250
|
+
[10:54:02.727] [32mINFO[39m (2976): [36mpact-core@20.1.1: Verifying Pact Files[39m
|
|
114
251
|
|
|
115
|
-
[
|
|
252
|
+
[10:54:02.731] [34mDEBUG[39m (2976): [36mpact-core@20.1.1: binding path #0: : attempting to load native module from:
|
|
116
253
|
|
|
117
254
|
- /home/runner/work/pact-js-core/pact-js-core/prebuilds/linux-x64
|
|
118
255
|
source: pact-js-core binding lookup
|
|
@@ -120,7 +257,7 @@
|
|
|
120
257
|
- You can override via PACT_PREBUILD_LOCATION
|
|
121
258
|
[39m
|
|
122
259
|
|
|
123
|
-
[
|
|
260
|
+
[10:54:02.732] [34mDEBUG[39m (2976): [36mpact-core@20.1.1: binding path #1: : attempting to load native module from:
|
|
124
261
|
|
|
125
262
|
- /home/runner/work/pact-js-core/pact-js-core/@pact-foundation/pact-core-linux-x64-glibc/prebuilds/linux-x64
|
|
126
263
|
source: pact-js-core binding lookup
|
|
@@ -128,55 +265,55 @@
|
|
|
128
265
|
- You can override via PACT_PREBUILD_LOCATION
|
|
129
266
|
[39m
|
|
130
267
|
|
|
131
|
-
[
|
|
268
|
+
[10:54:02.734] [32mINFO[39m (2976): [36m0.5.8: pact native library successfully found, and the correct version[39m
|
|
132
269
|
|
|
133
|
-
[
|
|
270
|
+
[10:54:02.734] [34mDEBUG[39m (2976): [36mpact-core@20.1.1: Initialising native core at log level 'debug'[39m
|
|
134
271
|
|
|
135
|
-
[
|
|
272
|
+
[10:54:02.735] [34mDEBUG[39m (2976): [36mpact-core@20.1.1: 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
|
|
136
273
|
|
|
137
|
-
[
|
|
274
|
+
[10:54:02.735] [34mDEBUG[39m (2976): [36mpact-core@20.1.1: the optional ffi function 'pactffiVerifierSetProviderState' was not executed as it had non-fatal validation errors: No failIfNoPactsFound option provided[39m
|
|
138
275
|
|
|
139
|
-
[
|
|
276
|
+
[10:54:02.735] [34mDEBUG[39m (2976): [36mpact-core@20.1.1: 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
|
|
140
277
|
|
|
141
|
-
[
|
|
278
|
+
[10:54:02.736] [34mDEBUG[39m (2976): [36mpact-core@20.1.1: 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
|
|
142
279
|
|
|
143
|
-
[
|
|
280
|
+
[10:54:02.736] [34mDEBUG[39m (2976): [36mpact-core@20.1.1: the optional ffi function 'pactffiVerifierSetFailIfNoPactsFound' was not executed as it had non-fatal validation errors: No failIfNoPactsFound option provided[39m
|
|
144
281
|
|
|
145
|
-
[
|
|
282
|
+
[10:54:02.736] [34mDEBUG[39m (2976): [36mpact-core@20.1.1: the optional ffi function 'pactffiVerifierSetFollowRedirects' was not executed as it had non-fatal validation errors: No followRedirects option provided[39m
|
|
146
283
|
|
|
147
|
-
[
|
|
284
|
+
[10:54:02.736] [34mDEBUG[39m (2976): [36mpact-core@20.1.1: the optional ffi function 'pactffiVerifierAddCustomHeader' was not executed as it had non-fatal validation errors: No customProviderHeaders option provided[39m
|
|
148
285
|
|
|
149
|
-
[
|
|
286
|
+
[10:54:02.737] [34mDEBUG[39m (2976): [36mpact-core@20.1.1: checking source type of given pactUrl: /home/runner/work/pact-js-core/pact-js-core/test/integration/grpc/grpc.json[39m
|
|
150
287
|
|
|
151
|
-
[
|
|
288
|
+
[10:54:02.737] [34mDEBUG[39m (2976): [36mpact-core@20.1.1: adding /home/runner/work/pact-js-core/pact-js-core/test/integration/grpc/grpc.json as File source[39m
|
|
152
289
|
|
|
153
|
-
[
|
|
290
|
+
[10:54:02.737] [34mDEBUG[39m (2976): [36mpact-core@20.1.1: 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
|
|
154
291
|
|
|
155
292
|
|
|
156
293
|
Server running at http://127.0.0.1:50052
|
|
157
294
|
|
|
158
|
-
[
|
|
295
|
+
[10:54:02.900] [34mDEBUG[39m (2976): [36mpact-core@20.1.1: shutting down verifier with handle 0[39m
|
|
159
296
|
|
|
160
|
-
[
|
|
297
|
+
[10:54:02.900] [34mDEBUG[39m (2976): [36mpact-core@20.1.1: response from verifier: null, 0[39m
|
|
161
298
|
|
|
162
|
-
[
|
|
299
|
+
[10:54:02.901] [32mINFO[39m (2976): [36mpact-core@20.1.1: Verification successful[39m
|
|
163
300
|
|
|
164
301
|
|
|
165
302
|
</system-out>
|
|
166
303
|
</testcase>
|
|
167
|
-
<testcase classname="test/plugin-verifier.integration.spec.ts" name="Plugin Verifier Integration Spec > plugin tests > grpc interaction > runs the grpc client" time="0.
|
|
304
|
+
<testcase classname="test/plugin-verifier.integration.spec.ts" name="Plugin Verifier Integration Spec > plugin tests > grpc interaction > runs the grpc client" time="0.024779519">
|
|
168
305
|
<system-out>
|
|
169
306
|
{ name: [32m'A place'[39m }
|
|
170
307
|
|
|
171
308
|
</system-out>
|
|
172
309
|
</testcase>
|
|
173
310
|
</testsuite>
|
|
174
|
-
<testsuite name="test/verifier.integration.spec.ts" timestamp="2026-09-
|
|
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.
|
|
311
|
+
<testsuite name="test/verifier.integration.spec.ts" timestamp="2026-09-16T10:54:03.880Z" hostname="runnervmlun5p" tests="18" failures="0" errors="0" skipped="0" time="1.349052332">
|
|
312
|
+
<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.084046699">
|
|
176
313
|
<system-out>
|
|
177
|
-
[
|
|
314
|
+
[10:54:01.660] [32mINFO[39m (2844): [36mpact-core@20.1.1: Verifying Pact Files[39m
|
|
178
315
|
|
|
179
|
-
[
|
|
316
|
+
[10:54:01.663] [34mDEBUG[39m (2844): [36mpact-core@20.1.1: binding path #0: : attempting to load native module from:
|
|
180
317
|
|
|
181
318
|
- /home/runner/work/pact-js-core/pact-js-core/prebuilds/linux-x64
|
|
182
319
|
source: pact-js-core binding lookup
|
|
@@ -184,7 +321,7 @@ Server running at http://127.0.0.1:50052
|
|
|
184
321
|
- You can override via PACT_PREBUILD_LOCATION
|
|
185
322
|
[39m
|
|
186
323
|
|
|
187
|
-
[
|
|
324
|
+
[10:54:01.664] [34mDEBUG[39m (2844): [36mpact-core@20.1.1: binding path #1: : attempting to load native module from:
|
|
188
325
|
|
|
189
326
|
- /home/runner/work/pact-js-core/pact-js-core/@pact-foundation/pact-core-linux-x64-glibc/prebuilds/linux-x64
|
|
190
327
|
source: pact-js-core binding lookup
|
|
@@ -192,364 +329,237 @@ Server running at http://127.0.0.1:50052
|
|
|
192
329
|
- You can override via PACT_PREBUILD_LOCATION
|
|
193
330
|
[39m
|
|
194
331
|
|
|
195
|
-
[
|
|
332
|
+
[10:54:01.666] [32mINFO[39m (2844): [36m0.5.8: pact native library successfully found, and the correct version[39m
|
|
196
333
|
|
|
197
|
-
[
|
|
334
|
+
[10:54:01.666] [34mDEBUG[39m (2844): [36mpact-core@20.1.1: Initialising native core at log level 'debug'[39m
|
|
198
335
|
|
|
199
|
-
[
|
|
336
|
+
[10:54:01.667] [34mDEBUG[39m (2844): [36mpact-core@20.1.1: 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
|
|
200
337
|
|
|
201
|
-
[
|
|
338
|
+
[10:54:01.667] [34mDEBUG[39m (2844): [36mpact-core@20.1.1: the optional ffi function 'pactffiVerifierSetProviderState' was not executed as it had non-fatal validation errors: No failIfNoPactsFound option provided[39m
|
|
202
339
|
|
|
203
|
-
[
|
|
340
|
+
[10:54:01.667] [34mDEBUG[39m (2844): [36mpact-core@20.1.1: 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
|
|
204
341
|
|
|
205
|
-
[
|
|
342
|
+
[10:54:01.668] [34mDEBUG[39m (2844): [36mpact-core@20.1.1: 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
|
|
206
343
|
|
|
207
|
-
[
|
|
344
|
+
[10:54:01.668] [34mDEBUG[39m (2844): [36mpact-core@20.1.1: the optional ffi function 'pactffiVerifierSetFailIfNoPactsFound' was not executed as it had non-fatal validation errors: No failIfNoPactsFound option provided[39m
|
|
208
345
|
|
|
209
|
-
[
|
|
346
|
+
[10:54:01.668] [34mDEBUG[39m (2844): [36mpact-core@20.1.1: the optional ffi function 'pactffiVerifierSetFollowRedirects' was not executed as it had non-fatal validation errors: No followRedirects option provided[39m
|
|
210
347
|
|
|
211
|
-
[
|
|
348
|
+
[10:54:01.668] [34mDEBUG[39m (2844): [36mpact-core@20.1.1: the optional ffi function 'pactffiVerifierAddCustomHeader' was not executed as it had non-fatal validation errors: No customProviderHeaders option provided[39m
|
|
212
349
|
|
|
213
|
-
[
|
|
350
|
+
[10:54:01.669] [34mDEBUG[39m (2844): [36mpact-core@20.1.1: checking source type of given pactUrl: /home/runner/work/pact-js-core/pact-js-core/test/integration/me-they-weird path-success.json[39m
|
|
214
351
|
|
|
215
|
-
[
|
|
352
|
+
[10:54:01.669] [34mDEBUG[39m (2844): [36mpact-core@20.1.1: adding /home/runner/work/pact-js-core/pact-js-core/test/integration/me-they-weird path-success.json as File source[39m
|
|
216
353
|
|
|
217
|
-
[
|
|
354
|
+
[10:54:01.669] [34mDEBUG[39m (2844): [36mpact-core@20.1.1: 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
|
|
218
355
|
|
|
219
|
-
[
|
|
356
|
+
[10:54:01.669] [34mDEBUG[39m (2844): [36mpact-core@20.1.1: the optional ffi function 'pactffiVerifierAddProviderTransport' was not executed as it had non-fatal validation errors: No additional provider transports provided[39m
|
|
220
357
|
|
|
221
358
|
|
|
222
|
-
[
|
|
359
|
+
[10:54:01.741] [34mDEBUG[39m (2844): [36mpact-core@20.1.1: shutting down verifier with handle 0[39m
|
|
223
360
|
|
|
224
|
-
[
|
|
361
|
+
[10:54:01.741] [34mDEBUG[39m (2844): [36mpact-core@20.1.1: response from verifier: null, 0[39m
|
|
225
362
|
|
|
226
|
-
[
|
|
363
|
+
[10:54:01.741] [32mINFO[39m (2844): [36mpact-core@20.1.1: Verification successful[39m
|
|
227
364
|
|
|
228
365
|
|
|
229
366
|
</system-out>
|
|
230
367
|
</testcase>
|
|
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.
|
|
368
|
+
<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.058109908">
|
|
232
369
|
<system-out>
|
|
233
|
-
[
|
|
370
|
+
[10:54:01.743] [32mINFO[39m (2844): [36mpact-core@20.1.1: Verifying Pact Files[39m
|
|
234
371
|
|
|
235
|
-
[
|
|
372
|
+
[10:54:01.744] [34mDEBUG[39m (2844): [36mpact-core@20.1.1: 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
|
|
236
373
|
|
|
237
|
-
[
|
|
374
|
+
[10:54:01.744] [34mDEBUG[39m (2844): [36mpact-core@20.1.1: the optional ffi function 'pactffiVerifierSetProviderState' was not executed as it had non-fatal validation errors: No failIfNoPactsFound option provided[39m
|
|
238
375
|
|
|
239
|
-
[
|
|
376
|
+
[10:54:01.744] [34mDEBUG[39m (2844): [36mpact-core@20.1.1: 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
|
|
240
377
|
|
|
241
|
-
[
|
|
378
|
+
[10:54:01.744] [34mDEBUG[39m (2844): [36mpact-core@20.1.1: the optional ffi function 'pactffiVerifierSetFailIfNoPactsFound' was not executed as it had non-fatal validation errors: No failIfNoPactsFound option provided[39m
|
|
242
379
|
|
|
243
|
-
[
|
|
380
|
+
[10:54:01.744] [34mDEBUG[39m (2844): [36mpact-core@20.1.1: the optional ffi function 'pactffiVerifierSetFollowRedirects' was not executed as it had non-fatal validation errors: No followRedirects option provided[39m
|
|
244
381
|
|
|
245
|
-
[
|
|
382
|
+
[10:54:01.744] [34mDEBUG[39m (2844): [36mpact-core@20.1.1: the optional ffi function 'pactffiVerifierAddCustomHeader' was not executed as it had non-fatal validation errors: No customProviderHeaders option provided[39m
|
|
246
383
|
|
|
247
|
-
[
|
|
384
|
+
[10:54:01.745] [34mDEBUG[39m (2844): [36mpact-core@20.1.1: checking source type of given pactUrl: /home/runner/work/pact-js-core/pact-js-core/test/integration/me-they-weird path-success.json[39m
|
|
248
385
|
|
|
249
|
-
[
|
|
386
|
+
[10:54:01.745] [34mDEBUG[39m (2844): [36mpact-core@20.1.1: adding /home/runner/work/pact-js-core/pact-js-core/test/integration/me-they-weird path-success.json as File source[39m
|
|
250
387
|
|
|
251
|
-
[
|
|
388
|
+
[10:54:01.745] [34mDEBUG[39m (2844): [36mpact-core@20.1.1: 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
|
|
252
389
|
|
|
253
|
-
[
|
|
390
|
+
[10:54:01.745] [34mDEBUG[39m (2844): [36mpact-core@20.1.1: the optional ffi function 'pactffiVerifierAddProviderTransport' was not executed as it had non-fatal validation errors: No additional provider transports provided[39m
|
|
254
391
|
|
|
255
392
|
|
|
256
|
-
[
|
|
393
|
+
[10:54:01.800] [34mDEBUG[39m (2844): [36mpact-core@20.1.1: shutting down verifier with handle 1[39m
|
|
257
394
|
|
|
258
|
-
[
|
|
395
|
+
[10:54:01.800] [34mDEBUG[39m (2844): [36mpact-core@20.1.1: response from verifier: null, 0[39m
|
|
259
396
|
|
|
260
|
-
[
|
|
397
|
+
[10:54:01.800] [32mINFO[39m (2844): [36mpact-core@20.1.1: Verification successful[39m
|
|
261
398
|
|
|
262
399
|
|
|
263
400
|
</system-out>
|
|
264
401
|
</testcase>
|
|
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.
|
|
402
|
+
<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.053803044">
|
|
266
403
|
<system-out>
|
|
267
|
-
[
|
|
404
|
+
[10:54:01.801] [32mINFO[39m (2844): [36mpact-core@20.1.1: Verifying Pact Files[39m
|
|
268
405
|
|
|
269
406
|
|
|
270
|
-
[
|
|
407
|
+
[10:54:01.852] [32mINFO[39m (2844): [36mpact-core@20.1.1: Verification successful[39m
|
|
271
408
|
|
|
272
409
|
|
|
273
410
|
</system-out>
|
|
274
411
|
</testcase>
|
|
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.
|
|
412
|
+
<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.071450328">
|
|
276
413
|
<system-out>
|
|
277
|
-
[
|
|
414
|
+
[10:54:01.855] [32mINFO[39m (2844): [36mpact-core@20.1.1: Verifying Pact Files[39m
|
|
278
415
|
|
|
279
416
|
|
|
280
|
-
[
|
|
417
|
+
[10:54:01.923] [32mINFO[39m (2844): [36mpact-core@20.1.1: Verification successful[39m
|
|
281
418
|
|
|
282
419
|
|
|
283
420
|
</system-out>
|
|
284
421
|
</testcase>
|
|
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.
|
|
422
|
+
<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.053748182">
|
|
286
423
|
<system-out>
|
|
287
|
-
[
|
|
424
|
+
[10:54:01.926] [32mINFO[39m (2844): [36mpact-core@20.1.1: Verifying Pact Files[39m
|
|
288
425
|
|
|
289
426
|
|
|
290
|
-
[
|
|
427
|
+
[10:54:01.980] [32mINFO[39m (2844): [36mpact-core@20.1.1: Verification successful[39m
|
|
291
428
|
|
|
292
429
|
|
|
293
430
|
</system-out>
|
|
294
431
|
</testcase>
|
|
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.
|
|
432
|
+
<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.052334813">
|
|
296
433
|
<system-out>
|
|
297
|
-
[
|
|
434
|
+
[10:54:01.980] [32mINFO[39m (2844): [36mpact-core@20.1.1: Verifying Pact Files[39m
|
|
298
435
|
|
|
299
436
|
|
|
300
|
-
[
|
|
437
|
+
[10:54:02.032] [32mINFO[39m (2844): [36mpact-core@20.1.1: Verification successful[39m
|
|
301
438
|
|
|
302
439
|
|
|
303
440
|
</system-out>
|
|
304
441
|
</testcase>
|
|
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.
|
|
442
|
+
<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.057058887">
|
|
306
443
|
<system-out>
|
|
307
|
-
[
|
|
444
|
+
[10:54:02.033] [33mWARN[39m (2844): [36mpact-core@20.1.1: monkeypatch is deprecated and no longer has any effect[39m
|
|
308
445
|
|
|
309
|
-
[
|
|
446
|
+
[10:54:02.033] [32mINFO[39m (2844): [36mpact-core@20.1.1: Verifying Pact Files[39m
|
|
310
447
|
|
|
311
448
|
|
|
312
|
-
[
|
|
449
|
+
[10:54:02.089] [32mINFO[39m (2844): [36mpact-core@20.1.1: Verification successful[39m
|
|
313
450
|
|
|
314
451
|
|
|
315
452
|
</system-out>
|
|
316
453
|
</testcase>
|
|
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.
|
|
454
|
+
<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.064629294">
|
|
318
455
|
<system-out>
|
|
319
|
-
[
|
|
456
|
+
[10:54:02.090] [32mINFO[39m (2844): [36mpact-core@20.1.1: Verifying Pact Files[39m
|
|
320
457
|
|
|
321
458
|
|
|
322
|
-
[
|
|
459
|
+
[10:54:02.152] [31mERROR[39m (2844): [36mpact-core@20.1.1: Verification unsuccessful[39m
|
|
323
460
|
|
|
324
461
|
|
|
325
462
|
</system-out>
|
|
326
463
|
</testcase>
|
|
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.
|
|
464
|
+
<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.080455328">
|
|
328
465
|
<system-out>
|
|
329
|
-
[
|
|
466
|
+
[10:54:02.155] [32mINFO[39m (2844): [36mpact-core@20.1.1: Verifying Pact Files[39m
|
|
330
467
|
|
|
331
468
|
|
|
332
|
-
[
|
|
469
|
+
[10:54:02.235] [32mINFO[39m (2844): [36mpact-core@20.1.1: Verification successful[39m
|
|
333
470
|
|
|
334
471
|
|
|
335
472
|
</system-out>
|
|
336
473
|
</testcase>
|
|
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.
|
|
474
|
+
<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.102732455">
|
|
338
475
|
<system-out>
|
|
339
|
-
[
|
|
476
|
+
[10:54:02.235] [32mINFO[39m (2844): [36mpact-core@20.1.1: Verifying Pact Files[39m
|
|
340
477
|
|
|
341
478
|
|
|
342
|
-
[
|
|
479
|
+
[10:54:02.337] [32mINFO[39m (2844): [36mpact-core@20.1.1: Verification successful[39m
|
|
343
480
|
|
|
344
481
|
|
|
345
482
|
</system-out>
|
|
346
483
|
</testcase>
|
|
347
|
-
<testcase classname="test/verifier.integration.spec.ts" name="Verifier Integration Spec > when given multiple contracts > from a
|
|
484
|
+
<testcase classname="test/verifier.integration.spec.ts" name="Verifier Integration Spec > when given multiple contracts > from a local file > should attribute every interaction result to its pact" time="0.110350789">
|
|
348
485
|
<system-out>
|
|
349
|
-
[
|
|
486
|
+
[10:54:02.338] [32mINFO[39m (2844): [36mpact-core@20.1.1: Verifying Pact Files[39m
|
|
350
487
|
|
|
351
488
|
|
|
352
|
-
[
|
|
489
|
+
[10:54:02.445] [32mINFO[39m (2844): [36mpact-core@20.1.1: Verification successful[39m
|
|
353
490
|
|
|
354
491
|
|
|
355
492
|
</system-out>
|
|
356
493
|
</testcase>
|
|
357
|
-
<testcase classname="test/verifier.integration.spec.ts" name="Verifier Integration Spec > when given multiple contracts > from a Pact Broker >
|
|
494
|
+
<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.116667045">
|
|
358
495
|
<system-out>
|
|
359
|
-
[
|
|
496
|
+
[10:54:02.449] [32mINFO[39m (2844): [36mpact-core@20.1.1: Verifying Pact Files[39m
|
|
360
497
|
|
|
361
498
|
|
|
362
|
-
[
|
|
499
|
+
[10:54:02.565] [32mINFO[39m (2844): [36mpact-core@20.1.1: Verification successful[39m
|
|
363
500
|
|
|
364
501
|
|
|
365
502
|
</system-out>
|
|
366
503
|
</testcase>
|
|
367
|
-
<testcase classname="test/verifier.integration.spec.ts" name="Verifier Integration Spec > when given multiple contracts > from a Pact Broker > with authentication > and
|
|
504
|
+
<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.126796015">
|
|
368
505
|
<system-out>
|
|
369
|
-
[
|
|
506
|
+
[10:54:02.566] [32mINFO[39m (2844): [36mpact-core@20.1.1: Verifying Pact Files[39m
|
|
370
507
|
|
|
371
508
|
|
|
372
|
-
[
|
|
509
|
+
[10:54:02.692] [32mINFO[39m (2844): [36mpact-core@20.1.1: Verification successful[39m
|
|
373
510
|
|
|
374
511
|
|
|
375
512
|
</system-out>
|
|
376
513
|
</testcase>
|
|
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
|
|
514
|
+
<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.059709271">
|
|
378
515
|
<system-out>
|
|
379
|
-
[
|
|
516
|
+
[10:54:02.692] [32mINFO[39m (2844): [36mpact-core@20.1.1: Verifying Pact Files[39m
|
|
380
517
|
|
|
381
518
|
|
|
382
|
-
[
|
|
519
|
+
[10:54:02.751] [31mERROR[39m (2844): [36mpact-core@20.1.1: Verification unsuccessful[39m
|
|
383
520
|
|
|
384
521
|
|
|
385
522
|
</system-out>
|
|
386
523
|
</testcase>
|
|
387
|
-
<testcase classname="test/verifier.integration.spec.ts" name="Verifier Integration Spec > when
|
|
524
|
+
<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.066984417">
|
|
388
525
|
<system-out>
|
|
389
|
-
[
|
|
526
|
+
[10:54:02.752] [32mINFO[39m (2844): [36mpact-core@20.1.1: Verifying Pact Files[39m
|
|
390
527
|
|
|
391
528
|
|
|
392
|
-
[
|
|
529
|
+
[10:54:02.818] [31mERROR[39m (2844): [36mpact-core@20.1.1: Verification unsuccessful[39m
|
|
393
530
|
|
|
394
531
|
|
|
395
532
|
</system-out>
|
|
396
533
|
</testcase>
|
|
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
|
|
534
|
+
<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.055728681">
|
|
398
535
|
<system-out>
|
|
399
|
-
[
|
|
536
|
+
[10:54:02.819] [32mINFO[39m (2844): [36mpact-core@20.1.1: Verifying Pact Files[39m
|
|
400
537
|
|
|
401
538
|
|
|
402
|
-
[
|
|
539
|
+
[10:54:02.874] [32mINFO[39m (2844): [36mpact-core@20.1.1: Verification successful[39m
|
|
403
540
|
|
|
404
541
|
|
|
405
542
|
</system-out>
|
|
406
543
|
</testcase>
|
|
407
|
-
<testcase classname="test/verifier.integration.spec.ts" name="Verifier Integration Spec > when publishing verification results to a Pact Broker > and there is
|
|
544
|
+
<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.060504372">
|
|
408
545
|
<system-out>
|
|
409
|
-
[
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
[06:17:16.799] [32mINFO[39m (2875): [36mpact-core@20.1.0: Verification successful[39m
|
|
546
|
+
[10:54:02.875] [32mINFO[39m (2844): [36mpact-core@20.1.1: Verifying Pact Files[39m
|
|
413
547
|
|
|
414
548
|
|
|
415
|
-
|
|
416
|
-
</testcase>
|
|
417
|
-
</testsuite>
|
|
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">
|
|
420
|
-
</testcase>
|
|
421
|
-
<testcase classname="src/consumer/checkErrors.spec.ts" name="checkErrors > treats non-zero numeric status as failure" time="0.000337997">
|
|
422
|
-
</testcase>
|
|
423
|
-
</testsuite>
|
|
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">
|
|
426
|
-
<system-out>
|
|
427
|
-
[06:17:15.057] [31mERROR[39m (2853): [36mpactBrokerUrl requires the following properties: provider[39m
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
</system-out>
|
|
431
|
-
</testcase>
|
|
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">
|
|
433
|
-
</testcase>
|
|
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">
|
|
435
|
-
</testcase>
|
|
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">
|
|
437
|
-
</testcase>
|
|
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">
|
|
439
|
-
</testcase>
|
|
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">
|
|
441
|
-
</testcase>
|
|
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">
|
|
443
|
-
</testcase>
|
|
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">
|
|
445
|
-
</testcase>
|
|
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">
|
|
447
|
-
<system-out>
|
|
448
|
-
[06:17:15.070] [31mERROR[39m (2853): [36mpublishVerificationResult requires the following properties: providerVersion[39m
|
|
549
|
+
[10:54:02.935] [32mINFO[39m (2844): [36mpact-core@20.1.1: Verification successful[39m
|
|
449
550
|
|
|
450
551
|
|
|
451
552
|
</system-out>
|
|
452
553
|
</testcase>
|
|
453
|
-
<testcase classname="
|
|
454
|
-
</testcase>
|
|
455
|
-
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > when using includeWipPactsSince > should accept a non-empty string" time="0.000299036">
|
|
456
|
-
</testcase>
|
|
457
|
-
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > when using includeWipPactsSince > should not accept an empty string" time="0.000352314">
|
|
458
|
-
</testcase>
|
|
459
|
-
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > when using followRedirects > should accept a boolean" time="0.000868021">
|
|
460
|
-
</testcase>
|
|
461
|
-
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > when using followRedirects > should not accept a non-boolean" time="0.000476665">
|
|
462
|
-
</testcase>
|
|
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">
|
|
554
|
+
<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.061265252">
|
|
464
555
|
<system-out>
|
|
465
|
-
[
|
|
556
|
+
[10:54:02.936] [32mINFO[39m (2844): [36mpact-core@20.1.1: Verifying Pact Files[39m
|
|
466
557
|
|
|
467
|
-
[06:17:15.075] [33mWARN[39m (2853): [36mpact-core@20.1.0: format is deprecated and no longer has any effect[39m
|
|
468
558
|
|
|
469
|
-
[
|
|
559
|
+
[10:54:02.996] [32mINFO[39m (2844): [36mpact-core@20.1.1: Verification successful[39m
|
|
470
560
|
|
|
471
561
|
|
|
472
562
|
</system-out>
|
|
473
563
|
</testcase>
|
|
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">
|
|
475
|
-
<system-out>
|
|
476
|
-
[06:17:15.076] [33mWARN[39m (2853): [36mpact-core@20.1.0: format is deprecated and no longer has any effect[39m
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
</system-out>
|
|
480
|
-
</testcase>
|
|
481
|
-
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > when pactBrokerUrl is not provided > should not fail" time="0.000576681">
|
|
482
|
-
</testcase>
|
|
483
|
-
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > when pactBrokerUrl is provided > should not fail" time="0.000397187">
|
|
484
|
-
</testcase>
|
|
485
|
-
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > when consumerVersionTags is not provided > should not fail" time="0.000296351">
|
|
486
|
-
</testcase>
|
|
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">
|
|
488
|
-
</testcase>
|
|
489
|
-
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > when providerVersionTags is not provided > should not fail" time="0.000297051">
|
|
490
|
-
</testcase>
|
|
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">
|
|
492
|
-
</testcase>
|
|
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">
|
|
494
|
-
<system-out>
|
|
495
|
-
[06:17:15.080] [31mERROR[39m (2853): [36mpactBrokerToken is incompatible with the following properties: pactBrokerUsername,pactBrokerPassword[39m
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
</system-out>
|
|
499
|
-
</testcase>
|
|
500
|
-
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > when using a bearer token > should not fail" time="0.000298243">
|
|
501
|
-
</testcase>
|
|
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">
|
|
503
|
-
<system-out>
|
|
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
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
</system-out>
|
|
508
|
-
</testcase>
|
|
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">
|
|
510
|
-
<system-out>
|
|
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
|
|
512
|
-
|
|
513
|
-
[06:17:15.086] [33mWARN[39m (2853): [36mpact-core@20.1.0: See https://docs.pact.io/pact_broker/tags/#latest-pacts[39m
|
|
514
|
-
|
|
515
|
-
[06:17:15.087] [33mWARN[39m (2853): [36mpact-core@20.1.0: If you need to specify latest, try:[39m
|
|
516
|
-
|
|
517
|
-
[06:17:15.087] [33mWARN[39m (2853): [36mpact-core@20.1.0: consumerVersionSelectors: [{ lastest: true }][39m
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
</system-out>
|
|
521
|
-
</testcase>
|
|
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">
|
|
523
|
-
</testcase>
|
|
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">
|
|
525
|
-
</testcase>
|
|
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">
|
|
527
|
-
</testcase>
|
|
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">
|
|
529
|
-
</testcase>
|
|
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">
|
|
531
|
-
</testcase>
|
|
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">
|
|
533
|
-
</testcase>
|
|
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">
|
|
535
|
-
</testcase>
|
|
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">
|
|
537
|
-
</testcase>
|
|
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">
|
|
539
|
-
</testcase>
|
|
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">
|
|
541
|
-
</testcase>
|
|
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">
|
|
543
|
-
</testcase>
|
|
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">
|
|
545
|
-
</testcase>
|
|
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">
|
|
547
|
-
</testcase>
|
|
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">
|
|
549
|
-
</testcase>
|
|
550
|
-
<testcase classname="src/verifier/validateOptions.spec.ts" name="Verifier argument validator > when given providerBranch > should not throw an error" time="0.001162959">
|
|
551
|
-
</testcase>
|
|
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">
|
|
553
|
-
</testcase>
|
|
554
564
|
</testsuite>
|
|
555
565
|
</testsuites>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pact-foundation/pact-core",
|
|
3
|
-
"version": "20.
|
|
3
|
+
"version": "20.2.0",
|
|
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,7 +51,7 @@
|
|
|
51
51
|
"underscore": "1.13.8"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
|
-
"@biomejs/biome": "2.5.
|
|
54
|
+
"@biomejs/biome": "2.5.13",
|
|
55
55
|
"@grpc/grpc-js": "1.14.4",
|
|
56
56
|
"@grpc/proto-loader": "0.8.1",
|
|
57
57
|
"@tsconfig/node22": "22.0.6",
|
|
@@ -61,18 +61,18 @@
|
|
|
61
61
|
"@types/decompress": "4.2.7",
|
|
62
62
|
"@types/express": "5.0.6",
|
|
63
63
|
"@types/needle": "3.3.0",
|
|
64
|
-
"@types/node": "24.13.
|
|
64
|
+
"@types/node": "24.13.4",
|
|
65
65
|
"@types/rimraf": "3.0.2",
|
|
66
66
|
"@types/sinon": "22.0.0",
|
|
67
67
|
"@types/tar": "7.0.87",
|
|
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": "
|
|
71
|
+
"@vitest/coverage-v8": "5.0.0",
|
|
72
72
|
"axios": "1.20.0",
|
|
73
73
|
"basic-auth": "2.0.1",
|
|
74
74
|
"body-parser": "2.3.0",
|
|
75
|
-
"commit-and-tag-version": "13.
|
|
75
|
+
"commit-and-tag-version": "13.2.0",
|
|
76
76
|
"cors": "2.8.6",
|
|
77
77
|
"decamelize": "6.0.1",
|
|
78
78
|
"express": "5.2.1",
|
|
@@ -84,7 +84,7 @@
|
|
|
84
84
|
"rimraf": "6.1.3",
|
|
85
85
|
"sinon": "22.1.0",
|
|
86
86
|
"typescript": "7.0.2",
|
|
87
|
-
"vitest": "
|
|
87
|
+
"vitest": "5.0.0"
|
|
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.
|
|
148
|
-
"@pact-foundation/pact-core-darwin-x64": "20.
|
|
149
|
-
"@pact-foundation/pact-core-linux-arm64-glibc": "20.
|
|
150
|
-
"@pact-foundation/pact-core-linux-arm64-musl": "20.
|
|
151
|
-
"@pact-foundation/pact-core-linux-x64-glibc": "20.
|
|
152
|
-
"@pact-foundation/pact-core-linux-x64-musl": "20.
|
|
153
|
-
"@pact-foundation/pact-core-windows-x64": "20.
|
|
147
|
+
"@pact-foundation/pact-core-darwin-arm64": "20.2.0",
|
|
148
|
+
"@pact-foundation/pact-core-darwin-x64": "20.2.0",
|
|
149
|
+
"@pact-foundation/pact-core-linux-arm64-glibc": "20.2.0",
|
|
150
|
+
"@pact-foundation/pact-core-linux-arm64-musl": "20.2.0",
|
|
151
|
+
"@pact-foundation/pact-core-linux-x64-glibc": "20.2.0",
|
|
152
|
+
"@pact-foundation/pact-core-linux-x64-musl": "20.2.0",
|
|
153
|
+
"@pact-foundation/pact-core-windows-x64": "20.2.0"
|
|
154
154
|
}
|
|
155
155
|
}
|