Rest API - API Testing and Monitoring
You wrote this Pact interaction but the test fails with a syntax error:
What is the error?
provider.addInteraction(
state: 'User exists',
uponReceiving: 'a request',
withRequest: { method: 'GET', path: '/user' },
willRespondWith: { status: 200 }
);What is the error?
