node-consumer-pact-validation
Version:
A consumer pact generator written for pure nodeJS
27 lines • 506 B
JSON
{
"match": false,
"comment": "Unexpected phone number with null value",
"expected" : {
"method": "POST",
"path": "/",
"query": "",
"headers": {"Content-Type": "application/json"},
"body": {
"alligator":{
"name": "Mary"
}
}
},
"actual": {
"method": "POST",
"path": "/",
"query": "",
"headers": {"Content-Type": "application/json"},
"body": {
"alligator":{
"name": "Mary",
"phoneNumber": null
}
}
}
}