node-consumer-pact-validation
Version:
A consumer pact generator written for pure nodeJS
20 lines • 407 B
JSON
{
"match": false,
"comment": "Comma separated headers out of order, order can matter http://tools.ietf.org/html/rfc2616",
"expected" : {
"method": "POST",
"path": "/path",
"query": "",
"headers": {
"Accept": "alligators, hippos"
}
},
"actual": {
"method": "POST",
"path": "/path",
"query": "",
"headers": {
"Accept": "hippos, alligators"
}
}
}