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(log): environment based logging and feat(test): jest added for unit and integration testing #167

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

rjoydip-zz
Copy link

refactor(log)

Logging feature added based on the environment. It will not generate any log in production time. console.log has been replaced by useLog utility fn.

feat(test):

Jest lib added for testing. React Testing Library could be the best option for react component testing.

*Note: No need to keep package-lock.json

@vercel
Copy link

vercel bot commented Mar 29, 2020

This pull request is being automatically deployed with ZEIT Now (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://zeit.co/someshkar/covid19india-network/8o83e2g4l
✅ Preview: https://covid19india-network-git-fork-rjoydip-master.someshkar.now.sh

@rjoydip-zz
Copy link
Author

#166 I've added the basic test setup in this PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants