Hi :wave: . I am getting the below issue while try...
# pact-js
p
Hi đź‘‹ . I am getting the below issue while trying to run my provider test to validate the pact created by the consumer test. Does anyone have an idea what would cause it?
Copy code
1.1) has a matching body
           $ -> Actual map is missing the following keys: id,number
t
This is saying that the body of the response doesn’t have
id
or
number
in it, but pact is expecting these fields
eg:
Copy code
{
  "id_field": 1,
  "other_number": 2
}
instead of
Copy code
{
  "id": 1,
  "number": 2
}
p
Thank you !