File tree Expand file tree Collapse file tree 3 files changed +2
-24
lines changed
__tests__/fixtures/no-pacts-found Expand file tree Collapse file tree 3 files changed +2
-24
lines changed Original file line number Diff line number Diff line change 33 title : OAS
44 version : 1.0.0
55
6- paths :
7- /exists :
8- get :
9- responses :
10- " 200 " :
11- description : description
12- content :
13- " application/json " :
14- schema : {}
6+ paths : {}
Original file line number Diff line number Diff line change 1- [
2- {
3- "code" : " pact-broker.no-pacts-found" ,
4- "message" : " No consumer pacts found in Pact Broker" ,
5- "type" : " warning"
6- }
7- ]
1+ []
Original file line number Diff line number Diff line change @@ -62,14 +62,6 @@ export class Comparator {
6262
6363 const parsedPact = parsePact ( pact ) ;
6464
65- if ( parsedPact . interactions . length === 0 ) {
66- yield {
67- code : "pact-broker.no-pacts-found" ,
68- message : "No consumer pacts found in Pact Broker" ,
69- type : "warning" ,
70- } ;
71- }
72-
7365 for ( const [ index , interaction ] of parsedPact . interactions . entries ( ) ) {
7466 const { method, path, query } = interaction . request ;
7567 let pathWithLeadingSlash = path . startsWith ( "/" ) ? path : `/${ path } ` ;
You can’t perform that action at this time.
0 commit comments