You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
newPactV4({consumer: 'c',provider: 'p',}).addInteraction().given('given',{}).uponReceiving('a request').withRequest('GET','/path',(builder)=>{}).willRespondWith(200,(builder)=>{builder.jsonBody({some_body: {}});}).executeTest((mockServer)=>axios.get(`${mockServer.url}/path`).then(({ data })=>{assert(data,'body is missing');}));
Software versions
Issue Checklist
Please confirm the following:
Expected behaviour
Specified repsonse body is returned from the server
Actual behaviour
Steps to reproduce
Notes
I think the issue is here:
this line ignores the builder.
A workaround to make it work is, to register a plugin.
Because then this line is being used
The text was updated successfully, but these errors were encountered: