Hi Pact, I'm a bit confused about this block in my...
# pact-js
j
Hi Pact, I'm a bit confused about this block in my Consumer Pact file
Copy code
"interactions": [
    {
      "description": "",
      "request": {
        "method": "GET",
        "path": "/"
      },
      "response": {
        "status": 200
      }
    },
I don't specify this anywhere in my tests, it seems like a default? I tried to disable it using
Copy code
disableDefaultHeader: true,
But it seems that option was moved to somewhere?
m
What part aren't you expecting to see there? A blank description is definitely invalid though
What tool are you using? I don't think that's a pact JS option but I might be forgetting something
j
I didn't expect to see this whole block as I don't have any GET method. I have sent you the JS code in a private message
m
Where did you get the impression of that being an option, btw?
j
I'd be embarrassed to say but it rhymes with ChatGPT Hallucination
😆 1
m
Haha ok. I thought you might be using an adapter (e.g. MSW pact adapter or something). But the video you shared just uses pact directly
j
Solved by upgrading to Pact v4, thanks Matt❤️
🙌 1