Skip to content

Added unit tests #4

Open
atsi2004 wants to merge 1 commit into
masterfrom
add-unit-tests
Open

Added unit tests #4
atsi2004 wants to merge 1 commit into
masterfrom
add-unit-tests

Conversation

@atsi2004

Copy link
Copy Markdown

Description:
Added comprehensive unit tests for existing screens and components. Highlights include:

  • Added Jest tests for CreateAccount, CreateStac, ForgetPassword, HomePage, Landing, Login, Profile, SignUpQuestions, and StacForm.
  • Updated screen components to improve testability where needed.
  • Coverage is roughly ~70% on all files except HomePage.tsx and StacForm.tsx who still need additional tests for full coverage.
  • Includes setup for Jest (jest.setup.js and jest.config.js).
  • All tests run successfully via npm test.

Testing Instructions:

  • Install dependencies if needed: npm install
  • Run all tests: npm test
  • Confirm all tests pass without warnings

@atsi2004 atsi2004 requested a review from cpjreynolds October 20, 2025 18:34
@cpjreynolds

Copy link
Copy Markdown
Collaborator

Looks good. I'll need to rebase this on top of the changes I made to the backend-calling code before merging

@cpjreynolds cpjreynolds self-assigned this Nov 4, 2025
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