Hello while running tests in our git pipeline i ran into this "[2022-07-19 121219.353 +0000] INFO (579 on runner-9srzqayz-project-119-concurrent-2): pact@9.18.1: Setting up Pact with Consumer "BBX" and Provider "INT"
134 using mock service on Port: "2134"
135[2022-07-19 121219.357 +0000] ERROR (579 on runner-9srzqayz-project-119-concurrent-2): pact@9.18.1: error making http request: axios_1.default is not a function"
m
Matt (pactflow.io / pact-js / pact-go)
07/19/2022, 1:58 PM
Could you please share the code that reproduces this?
m
Marcello Rigan
07/20/2022, 7:20 AM
alright will do.
Marcello Rigan
07/20/2022, 8:10 AM
Hi, im afraid im having troubles sharing my code due to restrictions on our side. I can confirm that it has something to do with the pact version. Pact Version 9.17.3 works fine locally and in the Pipeline. But Pact Version 9.18.1 doesn't seem to work locally and in the Pipeline.
m
Matt (pactflow.io / pact-js / pact-go)
07/21/2022, 8:01 AM
We don’t need to see your code, just code that reliably reproduces the problem
Matt (pactflow.io / pact-js / pact-go)
07/21/2022, 8:02 AM
If you can whittle down a test that breaks, and then transpose into a dummy project with just the bits that cause the failure, that would be 👌