node-consumer-pact-validation
Version:
A consumer pact generator written for pure nodeJS
18 lines • 380 B
JSON
{
"match": true,
"comment": "Plain text that matches",
"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 mary"
}
}