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

feat: write unit tests #4

Open
4 tasks
sashasushko opened this issue Nov 9, 2022 · 0 comments
Open
4 tasks

feat: write unit tests #4

sashasushko opened this issue Nov 9, 2022 · 0 comments
Labels
good first issue Good for newcomers

Comments

@sashasushko
Copy link
Contributor

There are a lot of calculations in our small npx-tool. It will be good to have some unit tests for it and no more worried about mistakes after refactoring.

  • Setup Jest
  • Write unit tests for all functions in index.js
  • Write test script in package.json
  • Setup GitHub CI to run test command on each PR and merge to main branch
@sashasushko sashasushko added the good first issue Good for newcomers label Nov 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant