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
Behaviour:
I am getting Pact verification failed as bellow,
console.error
at node_modules/@pact-foundation/src/httpPact.ts:118:17
console.error
Pact verification failed!
at node_modules/@pact-foundation/src/httpPact.ts:119:17
console.error
Actual interactions do not match expected interactions for mock MockService.
Missing requests:
POST /example/sign
Unexpected requests:
POST /example/sign
See path/pact/logs/mockserver-integration.log for details.
at node_modules/@pact-foundation/src/httpPact.ts:120:17
Pact between example-react-site and example-api › with 30000 ms timeout for Pact › example api endpoint › should send document to sign
using,
jest: 26.0.1
jest-pact: 0.5.4
But if I remove generated log file and run pact test it will run successfully all the time.
wonder what is happening and possible fix.
The text was updated successfully, but these errors were encountered:
I am writing consumer pact test and application is react and test frame work is jest enzyme.
multipart/form-data request as bellow,
new_file.txt : base64 encode file
Jest setup as follows.
Behaviour:
I am getting Pact verification failed as bellow,
Pact between example-react-site and example-api › with 30000 ms timeout for Pact › example api endpoint › should send document to sign
using,
jest: 26.0.1
jest-pact: 0.5.4
But if I remove generated log file and run pact test it will run successfully all the time.
wonder what is happening and possible fix.
The text was updated successfully, but these errors were encountered: