Hi everyone,
I am trying to implement PACT JS. Currently I am referring to this implementation :
npm install
(or yarn install
) and the consumer side command (mocha app/client/spec/PostServiceClient.spec.js
) worked well.The pact file was generated.
But the provider side command (node app/service/spec/PostService.spec.js
) failed.It's seemed due to the localhost server. But i didn't succeed in running the server. It missed 'THREE' module.
After adding 'THREE' module, i couldn't compile the build. So 2 files are missing in the repository main.js and Template.html (--> webpack.config.js
).
And i didn't succeed in posting a comment in Lucas M Blog (http://hecodes.com/2016/10/better-testing-microservices-using-consumer-driven-contracts-node-js/)
Could someone help me? Wilson Mahann