-
Notifications
You must be signed in to change notification settings - Fork 19
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
Feature: Add Test Cases #153
Conversation
Because: - checks weather components exists - stops unnecessary errors
Because: - better code coverage - fix future errors
…ity-Checker into test
Someone is attempting to deploy a commit to a Personal Account owned by @stephin007 on Vercel. @stephin007 first needs to authorize it. |
This pull request is being automatically deployed with Vercel (learn more). 🔍 Inspect: https://vercel.com/stephin007/cowin-vaccine-availablity-checker/A1NPPmqjPFjtvAcTcDyKy9DStLLU |
@wise-introvert can you please review this PR! |
Edit: saw the issue 😅 |
@kunalkumar007 The tests look great! Good job. OUT |
@kunalkumar007 it would be great if you could update the documentation about how to run the tests in our local envs. Then we can merge your request:🎉 Thanks❤️ |
@kunalkumar007, adding to @stephin007's comment above, please also add instructions on how to update snapshots because most of the changes, in the near future, will be UI-related and this will impact the existing snapshots. |
Changes: - snapshot script added - coverage script added
I have updated the docs.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approved by @wise-introvert
hey @kunalkumar007 Great work, your PR is now merged. Thanks ❣️ |
I will be happy to join the team to develop awesome projects like this one. |
I wìll be happy to join the team. Lookijg forward to working with you.
…On Wed, 9 Jun 2021, 09:21 Stephin Reji, ***@***.***> wrote:
hey @kunalkumar007 <https://github.com/kunalkumar007> Great work, your PR
is now merged.
Would you like to join our core team to help to develop more feature to
this project.
let me know your thoughts 😀
Thanks ❣️
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#153 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ANFMW2V5N5CDJKOOW7H6IZ3TR3QNPANCNFSM46JNXIFQ>
.
|
Awesome @kunalkumar007 , As we want more bright minds we would love to have you on our team! Sending you the telegram invite link: https://t.me/joinchat/5WNdVxHJ9YRjN2Fl |
@kunalkumar007 can you please update when will you be joining? |
I joined it.
…On Wed, 9 Jun 2021, 12:03 Stephin Reji, ***@***.***> wrote:
@kunalkumar007 <https://github.com/kunalkumar007> can you please update
when will you be joining?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#153 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ANFMW2QFTH3YZIZXBHNFMBLTR4DNDANCNFSM46JNXIFQ>
.
|
* Added Null State Component in NEW-UI * ✨ added a seperate component * Create PULL_REQUEST_TEMPLATE * Added PR template * removed pr template * Created PR Template * Edited path for PR Temmplate * feat: add map to each result-card * docs: contribution gudelines, refactor readme and pr template docs: create os-related guidelines docs: update readme and create open-source guidelines docs: update pr template docs: remove header from pr template * docs: fix broken link * added a loading componetn * add basic dark/light mode functionality * Delete package-lock.json * refactor: remove unused vars * feat: add marker component to pinpoint location on the map refactor: switch to react-map-gl WIP: feat: marker feat: marker component to pinpoint location on map * refactor: remove static imports refactor: use static imports refactor: remove static imports * fixed conflicts 🔨 * fixed conflicts 🔨 * refactor: remove unused vars * fixed conflicts 🔨 * fixed conflicts 🔨 * edited .env.example * Update CONTRIBUTING.md * fix: merge conflicts * Update Contributing.md * Update CONTRIBUTING.md * Update CONTRIBUTING.md * fixed responsive 🔨 * fixed responsiveness 🔨 * map error 🔨 * hidden map block for mobile devices * Added initial look for about us page * Added no of contributors * dynamically get contributor data * dynamically get contributor data * Revert "About Page Revamp" * Added contributors list in about page * changed order * Added user types * made about page responsive * did the changes again * added image to error message * added extra info to the about page * Add license scan report and status (#131) Signed off by: fossabot <badges@fossa.com> * about page:darkmode compatible * Deleted package-lock.json * Revert "added a loading componetn" This reverts commit 59e9212. * reverted indentaions * added === instead of == * Fixed wrong url being passed for git profiles * fixed loading issue 🔨 * fixed loading issue 🔨 * Create codeql-analysis.yml * Update README.md * fixed max height of the contributors container. * added contributors count * added CSS for the contributor count * responsive fix * Added loading state in contributor section * added links in the navbar * added path to main app.js * Update README.md * fixed appResponsiveness 🔨 (#146) * Feature: Add Whole world Vaccine Information (#145) * added links in the navbar * added path to main app.js * added Seperate tabs * renamed some files * Added seperate file for world anf india * Added paper for showing information * centralised tabs * Added css for info and fetched data * responsive fixes * fixed ccs * Added cards on various info from world * Destructured code * responsive css * changed paper title color * destructered for a general view of data * added error check * content divided to components * Added world covid data by continents * Added loading before data is fetched * Removed unecessary loading from india tab * Enhancement: Enhanced the look for word COVID Info (#149) * destructered for a general view of data * added error check * content divided to components * Added world covid data by continents * Added loading before data is fetched * Removed unecessary loading from india tab * removed unnecessary files * Feature: Add Test Cases (#153) * test setup completed * add render Header test case Because: - checks weather components exists - stops unnecessary errors * click event tested, snapshot created Because: - better code coverage - fix future errors * tests folder created * intro component tested * home component tested * covidInfoMain component tested * handleTabChange test included * about component tested * docs updated for tests * added test scripts in package.json Changes: - snapshot script added - coverage script added Co-authored-by: Kunal Kumar <kunakumar06022003@gmail.com> * removed pagination from default branch (#156) Co-authored-by: Yash <super.nashik@gmail.com> Co-authored-by: Wise Introvert <fardeen.wi.panjwani@gmail.com> Co-authored-by: afif ahmed <afifahmed456123@gmail.com> Co-authored-by: Ian Terada <teradaian@gmail.com> Co-authored-by: Ian Terada <72109628+teradaian@users.noreply.github.com> Co-authored-by: Justinnn07 <justinv2006@gmail.com> Co-authored-by: Justin Varghese <69856008+Justinnn07@users.noreply.github.com> Co-authored-by: Yash Patil <65940625+Yash-271120@users.noreply.github.com> Co-authored-by: fossabot <badges@fossa.io> Co-authored-by: mohammed afif ahmed <51887071+afif1400@users.noreply.github.com> Co-authored-by: Kunal Kumar <55233386+kunalkumar007@users.noreply.github.com> Co-authored-by: Kunal Kumar <kunakumar06022003@gmail.com>
* Added Null State Component in NEW-UI * ✨ added a seperate component * Create PULL_REQUEST_TEMPLATE * Added PR template * removed pr template * Created PR Template * Edited path for PR Temmplate * feat: add map to each result-card * docs: contribution gudelines, refactor readme and pr template docs: create os-related guidelines docs: update readme and create open-source guidelines docs: update pr template docs: remove header from pr template * docs: fix broken link * added a loading componetn * add basic dark/light mode functionality * Delete package-lock.json * refactor: remove unused vars * feat: add marker component to pinpoint location on the map refactor: switch to react-map-gl WIP: feat: marker feat: marker component to pinpoint location on map * refactor: remove static imports refactor: use static imports refactor: remove static imports * fixed conflicts 🔨 * fixed conflicts 🔨 * refactor: remove unused vars * fixed conflicts 🔨 * fixed conflicts 🔨 * edited .env.example * Update CONTRIBUTING.md * fix: merge conflicts * Update Contributing.md * Update CONTRIBUTING.md * Update CONTRIBUTING.md * fixed responsive 🔨 * fixed responsiveness 🔨 * map error 🔨 * hidden map block for mobile devices * Added initial look for about us page * Added no of contributors * dynamically get contributor data * dynamically get contributor data * Revert "About Page Revamp" * Added contributors list in about page * changed order * Added user types * made about page responsive * did the changes again * added image to error message * added extra info to the about page * Add license scan report and status (#131) Signed off by: fossabot <badges@fossa.com> * about page:darkmode compatible * Deleted package-lock.json * Revert "added a loading componetn" This reverts commit 59e9212. * reverted indentaions * added === instead of == * Fixed wrong url being passed for git profiles * fixed loading issue 🔨 * fixed loading issue 🔨 * Create codeql-analysis.yml * Update README.md * fixed max height of the contributors container. * added contributors count * added CSS for the contributor count * responsive fix * Added loading state in contributor section * added links in the navbar * added path to main app.js * Update README.md * fixed appResponsiveness 🔨 (#146) * Feature: Add Whole world Vaccine Information (#145) * added links in the navbar * added path to main app.js * added Seperate tabs * renamed some files * Added seperate file for world anf india * Added paper for showing information * centralised tabs * Added css for info and fetched data * responsive fixes * fixed ccs * Added cards on various info from world * Destructured code * responsive css * changed paper title color * destructered for a general view of data * added error check * content divided to components * Added world covid data by continents * Added loading before data is fetched * Removed unecessary loading from india tab * Enhancement: Enhanced the look for word COVID Info (#149) * destructered for a general view of data * added error check * content divided to components * Added world covid data by continents * Added loading before data is fetched * Removed unecessary loading from india tab * removed unnecessary files * Feature: Add Test Cases (#153) * test setup completed * add render Header test case Because: - checks weather components exists - stops unnecessary errors * click event tested, snapshot created Because: - better code coverage - fix future errors * tests folder created * intro component tested * home component tested * covidInfoMain component tested * handleTabChange test included * about component tested * docs updated for tests * added test scripts in package.json Changes: - snapshot script added - coverage script added Co-authored-by: Kunal Kumar <kunakumar06022003@gmail.com> * removed pagination from default branch (#156) * Merge to Staging (#157) * Added Null State Component in NEW-UI * ✨ added a seperate component * Create PULL_REQUEST_TEMPLATE * Added PR template * removed pr template * Created PR Template * Edited path for PR Temmplate * feat: add map to each result-card * docs: contribution gudelines, refactor readme and pr template docs: create os-related guidelines docs: update readme and create open-source guidelines docs: update pr template docs: remove header from pr template * docs: fix broken link * added a loading componetn * add basic dark/light mode functionality * Delete package-lock.json * refactor: remove unused vars * feat: add marker component to pinpoint location on the map refactor: switch to react-map-gl WIP: feat: marker feat: marker component to pinpoint location on map * refactor: remove static imports refactor: use static imports refactor: remove static imports * fixed conflicts 🔨 * fixed conflicts 🔨 * refactor: remove unused vars * fixed conflicts 🔨 * fixed conflicts 🔨 * edited .env.example * Update CONTRIBUTING.md * fix: merge conflicts * Update Contributing.md * Update CONTRIBUTING.md * Update CONTRIBUTING.md * fixed responsive 🔨 * fixed responsiveness 🔨 * map error 🔨 * hidden map block for mobile devices * Added initial look for about us page * Added no of contributors * dynamically get contributor data * dynamically get contributor data * Revert "About Page Revamp" * Added contributors list in about page * changed order * Added user types * made about page responsive * did the changes again * added image to error message * added extra info to the about page * Add license scan report and status (#131) Signed off by: fossabot <badges@fossa.com> * about page:darkmode compatible * Deleted package-lock.json * Revert "added a loading componetn" This reverts commit 59e9212. * reverted indentaions * added === instead of == * Fixed wrong url being passed for git profiles * fixed loading issue 🔨 * fixed loading issue 🔨 * Create codeql-analysis.yml * Update README.md * fixed max height of the contributors container. * added contributors count * added CSS for the contributor count * responsive fix * Added loading state in contributor section * added links in the navbar * added path to main app.js * Update README.md * fixed appResponsiveness 🔨 (#146) * Feature: Add Whole world Vaccine Information (#145) * added links in the navbar * added path to main app.js * added Seperate tabs * renamed some files * Added seperate file for world anf india * Added paper for showing information * centralised tabs * Added css for info and fetched data * responsive fixes * fixed ccs * Added cards on various info from world * Destructured code * responsive css * changed paper title color * destructered for a general view of data * added error check * content divided to components * Added world covid data by continents * Added loading before data is fetched * Removed unecessary loading from india tab * Enhancement: Enhanced the look for word COVID Info (#149) * destructered for a general view of data * added error check * content divided to components * Added world covid data by continents * Added loading before data is fetched * Removed unecessary loading from india tab * removed unnecessary files * Feature: Add Test Cases (#153) * test setup completed * add render Header test case Because: - checks weather components exists - stops unnecessary errors * click event tested, snapshot created Because: - better code coverage - fix future errors * tests folder created * intro component tested * home component tested * covidInfoMain component tested * handleTabChange test included * about component tested * docs updated for tests * added test scripts in package.json Changes: - snapshot script added - coverage script added Co-authored-by: Kunal Kumar <kunakumar06022003@gmail.com> * removed pagination from default branch (#156) Co-authored-by: Yash <super.nashik@gmail.com> Co-authored-by: Wise Introvert <fardeen.wi.panjwani@gmail.com> Co-authored-by: afif ahmed <afifahmed456123@gmail.com> Co-authored-by: Ian Terada <teradaian@gmail.com> Co-authored-by: Ian Terada <72109628+teradaian@users.noreply.github.com> Co-authored-by: Justinnn07 <justinv2006@gmail.com> Co-authored-by: Justin Varghese <69856008+Justinnn07@users.noreply.github.com> Co-authored-by: Yash Patil <65940625+Yash-271120@users.noreply.github.com> Co-authored-by: fossabot <badges@fossa.io> Co-authored-by: mohammed afif ahmed <51887071+afif1400@users.noreply.github.com> Co-authored-by: Kunal Kumar <55233386+kunalkumar007@users.noreply.github.com> Co-authored-by: Kunal Kumar <kunakumar06022003@gmail.com> * removed stylecomponents * removed stylecomponents (#162) * Feature: Chart Added (#163) * packages install react-chart-js-2 * chart completed * continentChart Completed * package-lock.json, yarn.lock deleted * yarn.lock reverted * header removed in chart and continentChart component * doughnut chart implemented * doughnut Chart for world added * indentation improved-1 * doughnut in continentChart removed Co-authored-by: Kunal Kumar <kunakumar06022003@gmail.com> * aremoved package lock * updated yarn lock file * restructured the Charts file to the Worldcovid parent folder * Updated the about page * restructured the Charts file to the Worldcovid parent folder (#167) * Added Scroll to top fucntionality (#169) Co-authored-by: Yash <super.nashik@gmail.com> Co-authored-by: Wise Introvert <fardeen.wi.panjwani@gmail.com> Co-authored-by: afif ahmed <afifahmed456123@gmail.com> Co-authored-by: Ian Terada <teradaian@gmail.com> Co-authored-by: Ian Terada <72109628+teradaian@users.noreply.github.com> Co-authored-by: Justinnn07 <justinv2006@gmail.com> Co-authored-by: Justin Varghese <69856008+Justinnn07@users.noreply.github.com> Co-authored-by: Yash Patil <65940625+Yash-271120@users.noreply.github.com> Co-authored-by: fossabot <badges@fossa.io> Co-authored-by: mohammed afif ahmed <51887071+afif1400@users.noreply.github.com> Co-authored-by: Kunal Kumar <55233386+kunalkumar007@users.noreply.github.com> Co-authored-by: Kunal Kumar <kunakumar06022003@gmail.com>
This branch adds a test feature to the Application.
Major Change:- downgraded React v17 to React v16 because adds extra functionality for React App.
Added Packages:-
Closes #99