Hi! I'm new to contract testing and was following ...
# pact-js
d
Hi! I'm new to contract testing and was following through the js workshop. Great work! The content and format is really nice. I did notice a few things along the way which caused me confusion. One thing I wanted to clarify. On which branches should the user run
npm install
? What caused me problems was the react version on step1 was older than the master branch and resulted in
Attempted import error: 'Routes' is not exported from 'react-router-dom'.
If I had installed from master, it would have been fine. I added this pull request to update those react versions in step1 I was thinking it might make the tutorial easier if the same package.json dependancies were present on each of the step branches? So no matter what step a user opts to run
npm install
on they will be able to run prior or subsequent steps without having to run the install again? Any thoughts on that?
👋 1
m
Thanks yes that was the plan. It's probably just a bad merge between steps Dave. I'll look at the PR later
d
Thanks @Matt (pactflow.io / pact-js / pact-go) Appreciate it!
👍 1