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