UNLV-CS472-672 / 2024-S-GROUP3-Barbell

A workout-tracking app with a support website that does more than just track workouts. Cross platform in IOS and Android
4 stars 0 forks source link

246 bugs consistancy of testing and some relocation of files and deployment related stuff x3 #247

Closed thienguen closed 6 months ago

thienguen commented 6 months ago

What type of PR is this? (Check all that apply)

Description

What did you change? How did you change it?

  1. Fix some of the bugs found in main (API changes due to schema proposal)
  2. Fix some basic logic of API
  3. Write all unit tests for existing backend API called
  4. du du du du
  5. move all test file in expo to __tests___
  6. write more tests on them
  7. we reaching 95++% with this one 🗣️

Tests

How was this tested?

[Optional] Screenshots

  1. Check out this branch
  2. cd apps/expo
  3. pnpm run jest

image

  1. at root
  2. cd packages/api
  3. pnpm run vitest

image

  1. pnpm run vitest-ui
  2. enjoy

image

image

image

Documentation

Link to external documentation:

[Optional] Are there any post-deployment tasks we need to perform?

codecov[bot] commented 6 months ago

Codecov Report

Attention: Patch coverage is 90.00000% with 1 lines in your changes are missing coverage. Please review.

Project coverage is 99.40%. Comparing base (0544743) to head (28c393c).

Files Patch % Lines
packages/api/src/router/friend.router.ts 0.00% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #247 +/- ## =========================================== + Coverage 77.23% 99.40% +22.17% =========================================== Files 29 40 +11 Lines 246 338 +92 Branches 81 61 -20 =========================================== + Hits 190 336 +146 + Misses 56 2 -54 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

taylorfinelli commented 6 months ago

testing now

taylorfinelli commented 6 months ago

Screenshot 2024-04-23 at 11 14 01 PM delicious

taylorfinelli commented 6 months ago

Screenshot 2024-04-23 at 11 17 59 PM api testing with vitest also passes

taylorfinelli commented 6 months ago

all tests pass. merging