hackforla / HomeUniteUs

We're working with community non-profits who have a Host Home or empty bedrooms initiative to develop a workflow management tool to make the process scalable (across all providers), reduce institutional bias, and effectively capture data.
https://homeunite.us/
GNU General Public License v2.0
39 stars 21 forks source link

Remove typescript errors #817

Closed johnwroge closed 2 weeks ago

johnwroge commented 1 month ago

Related #789

What changes did you make?

I fixed multiple imports and testing problems that were causing the CI workflow to fail during TypeScript compilation and the Vite build phase. The port was updated in the vite.config file and the github action run tests file. I also fixed tests to ensure the correct api paths and component testing for loading and error states in forgot password code tests and reset password tests.

Rationale behind the changes?

The Github CI flow is failing because of TypeScript errors, missing imports, and failing tests. These are needed for the build phase in github actions as well as building the docker files for the incubator.

Testing done for these changes

Tests were run in the frontend directory using Vitetest and Cypress. All the tests are passing.

Screen Shot 2024-10-15 at 3 34 37 PM