GitHub
11/17/2024, 6:17 AMmockService property, so I can't get the running url from provider.mockService.baseUrl.
This meant my tests needed to be changed:
• to use new PactV3() instead of new Pact
• to use the provider.executeTest((mockService) => form
• The corresponding provider.mockService.baseUrl changed to mockService.url
Expected:
Following the migration guide to result in working tests
Actual:
Following the migration guide resulted in broken tests due to provider.mockService being undefined.
pact-foundation/pact-js