Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor test to use jest #444

Merged
merged 3 commits into from
Oct 10, 2019
Merged

Refactor test to use jest #444

merged 3 commits into from
Oct 10, 2019

Conversation

Quadriphobs1
Copy link
Contributor

@Quadriphobs1 Quadriphobs1 commented Oct 1, 2019

Refactored the test to make use of jest and all of its flavours.

What I did

  • replace the hardcoded way of using a value incrementation to use jest mock with a function call and checked the function call to for test
  • removed the use of Makefile since it is not necessary anymore
  • removed redundant/duplicated tests

After finishing with this I realised it has been done at #440 however, I realised the changes made in the PR actually replaced syntax but not taking into consideration other aspects of the test so I decided to create the PR afterwards.

Closes #439

@ncb000gt
Copy link
Member

ncb000gt commented Oct 4, 2019

@Quadriphobs1 I'm planning to merge in #440. But, I really like the changes that you've both made. Would you be willing to rebase master and make these changes again? I'd ultimately like for you both to get the #hacktoberfest credit since you both put in effort on the task.

Thanks!

Edit: I haven't merged 440 yet. I just merged a couple other open prs.

@ncb000gt ncb000gt added the hacktoberfest This issue is registered for Hacktoberfest! label Oct 4, 2019
@ncb000gt
Copy link
Member

ncb000gt commented Oct 5, 2019

Ok. I've merged the other PR. I'll land yours as soon as the conflicts are resolved. Thanks again!

@Quadriphobs1
Copy link
Contributor Author

Conflicts has been updated now

@ncb000gt ncb000gt merged commit 2549c55 into kelektiv:master Oct 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hacktoberfest This issue is registered for Hacktoberfest!
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Refactor tests to use Jest.
2 participants