Unit Testing
Frontend Unit Testing
Frontend testing is done via jest and React Testing Library. This allows for automatic async waiting1 and mocking callings since internet connectivity is prohibited in jest
2.
jest
also creates automatic coverage reports to check how many lines were checked.
Each3 component will be unit tested till atleast 80% coverage if 100% is not possible.
Frontend Unit Testing Docs are generated saved to: Frontend Docs
The test documentation files will displayed with regular files but will have a .text.tsx
extension.