Move the ‘testComplete()’ into your response’s completion block
👍 1
h
Harsh
03/02/2023, 8:16 AM
Thank you @Marko (IttyBittyApps / pact-swift), this worked. Now trying to find where the pactfile is written 🙂
m
Marko (IttyBittyApps / pact-swift)
03/02/2023, 10:05 AM
No worries.
Look at the readme of the framework. There should be a paragraph explaining what the flow for it is. You should also be able to pass the dir location into the MockService’s init. There should be an argument to pass.