node-consumer-pact-validation
Version:
A consumer pact generator written for pure nodeJS
20 lines • 417 B
JSON
{
"match": false,
"comment": "Favourite numbers expected to be strings found a number",
"expected" : {
"headers": {"Content-Type": "application/json"},
"body": {
"alligator":{
"favouriteNumbers": ["1","2","3"]
}
}
},
"actual": {
"headers": {"Content-Type": "application/json"},
"body": {
"alligator":{
"favouriteNumbers": ["1",2,"3"]
}
}
}
}