Octoberfest Week 2 Blog
For this week, I worked in the open source md-page project. I fixed a bug where npm run test fails: 18 snapshots failed. issue 60
I open a new issue npm run test fails: 18 snapshots failed. I had to first fork the project. I cloned the fork. I created a new branch using the command
git checkout -b issue-60
Then I ran the command
npm i
to install the required dependancies into my project repo. Then I ran
npm run test
to test the project. I found that the command was giving me errors because test snapshots were not updated. I then ran the command
npm run test -- -u
to update the test snapshots. Then I ran
npm run test
to test the project. Then I added the changes in git. Then commited the changes on git. Then I pushed the changes. I created a new PR.
Comments
Post a Comment