node-consumer-pact-validation
Version:
A consumer pact generator written for pure nodeJS
18 lines • 388 B
JSON
{
"match": false,
"comment": "Plain text that does not match",
"expected" : {
"method": "POST",
"path": "/",
"query": "",
"headers": { "Content-Type": "text/plain" },
"body": "alligator named mary"
},
"actual": {
"method": "POST",
"path": "/",
"query": "",
"headers": { "Content-Type": "text/plain" },
"body": "alligator named fred"
}
}