Skip to content
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

Created testing file for userprofileSlice and added two tests #35

Merged
merged 3 commits into from
Dec 9, 2023

Conversation

brok3turtl3
Copy link
Contributor

@brok3turtl3 brok3turtl3 commented Dec 5, 2023

Description

Added test file for userProfileSlice to increase unit testing on existing codebase. Also made some adjustments to the thunk logic for fetchProfile.

Jira Task

N/A

Testing Instructions

  1. Run test suites with npm run test:all and ensure all tests pass.
  2. Spin up the app locally using npm run docker-dev.
  3. Use log in credentials email: [email protected] password: ilovetesting and ensure user profile is still retrieved and add to state when apropriate.

Checklist

  • I added a descriptive title to this PR.
  • I filled out the Description, Jira Task, and Testing Instructions sections above.
  • I added or updated [Jest unit tests]for any changes to components, server-side controllers, etc.
  • I ran npm run docker-test in my local environment to check that this PR passes all unit tests.
  • I did a quick check to make sure my code changes follow the recomended style guide.

Additional Notes, Images, etc.

N/A

@brok3turtl3 brok3turtl3 self-assigned this Dec 5, 2023
@brok3turtl3 brok3turtl3 marked this pull request as ready for review December 9, 2023 20:57
@brok3turtl3 brok3turtl3 merged commit 4764e28 into dev Dec 9, 2023
1 check passed
@brok3turtl3 brok3turtl3 deleted the userProfileSlice-tests branch March 17, 2024 15:44
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.

1 participant