Knowledge-Sharing-Platform
Knowledge-Sharing-Platform copied to clipboard
Unit testing
Description
It will be in our great interest to add unit testing to secure the repo, we can then move on to integration, snap shot etc testing later. Then we can also deploy a CI/CD pipeline to ease the code review.
Proposal
Use Jest or any other testing framework to validate the logic of KSP.
Work
- [ ] Write tests for react component
- [ ] Write tests for hooks, logic, inputs, and all the function within a component
- [ ] Create a gh workflow to test, on every pull.