One of the more complex components is the photopreview component, which uploads the users photo, and then sends it to the ML endpoint for predictions. It also gives the user their error messages.
Changes proposed in this pull request
This PR adds tests to handle the upload / ML flow, and make sure error messages are feeding through to the client properly
Guidance to review
yarn run test from the client folder - make sure all tests are passing and any useful cases haven't been missed.
Context
One of the more complex components is the photopreview component, which uploads the users photo, and then sends it to the ML endpoint for predictions. It also gives the user their error messages.
Changes proposed in this pull request
This PR adds tests to handle the upload / ML flow, and make sure error messages are feeding through to the client properly
Guidance to review
yarn run test from the client folder - make sure all tests are passing and any useful cases haven't been missed.
Link to Jira task
https://bluesquirrel.atlassian.net/browse/LDAT-30