test:added testfiles for ForgotPassword and DocDigitization
Description:
Implemented and improved test cases for ForgotPassword and DocDigitization components. Fixed failing test cases, resolved TypeScript errors in test files, and ensured proper mocking for API calls, PDF rendering, and custom hooks. Improved test coverage by covering key user interactions like form input, button clicks, API handling, and UI states.
Type of Change:
-
Bug Fix -
Feature Development -
Documentation
Testing:
-
Tested on desktop -
Tested on mobile -
Tested in different browsers
Screenshots :
AI Usage Disclosure
AI tools were used to assist in generating and improving test cases. A video walkthrough explaining the implementation and fixes will be provided.
Checklist:
-
Code follows project style guidelines -
Self-review completed -
No console errors -
TypeScript types are correct
Closes #263 (closed)
