Closed moroshko closed 9 years ago
Have you started the mock service? This is a separate process. If you have started it, then check the logs to see if the request actually made it to the mock service. If it didn't, I'd be looking at the CORS permissions. Have a read of the wiki page here: https://github.com/bethesque/pact-mock_service/wiki/Using-the-mock-service-with-CORS
Please look at the node examples in the example dir too.
Thanks @bethesque. The problem was that the server was running on a different port number. Have a nice weekend!
I get the following error:
What am I doing wrong?
client.js
config.js
test.js