node-consumer-pact-validation
Version:
A consumer pact generator written for pure nodeJS
19 lines (16 loc) • 356 B
JSON
{
"match": false,
"comment": "Queries are not the same - elephant is not expected",
"expected" : {
"method": "GET",
"path": "/path",
"query": "alligator=Mary&hippo=John",
"headers": {}
},
"actual": {
"method": "GET",
"path": "/path",
"query": "alligator=Mary&hippo=Fred&elephant=unexpected",
"headers": {}
}
}