FEATURE - Write a New Unit Test
Describe the feature you want the app to have that it currently doesn't
- Write a new unit test for something in the app, and possibly also do some research about if there's anything extra needed when using the Firebase emulator and unit tests
Describe alternatives you've considered
N/A
Additional context
this change should be less than 300 lines of code, so it's not modifying the whole architecture to make it testable, that's very difficult and causes issues and conflicts for others, instead look for something that can be unit tested in the app right now
I'd like to work on this and write some tests for OdometerViewModel.
@lauriecai awesome!! can you make a new issue on what specifically you'd like to test? let me know any challenges you see about testing the code (I know it's not in amazing shape right now for that, but hopefully that can change).
Also please use the new Swift Testing framework
@mikaelacaron Here's the issue: #379 and PR: #380. This is my first time contributing and navigating the workflow. What type of comments go on the issue versus the PR itself? I included everything in the PR.
@lauriecai great thank you! I'll comment on those specifically and let you know!
@tathagatgaikwad22 your PR was marked as spam due to it all being in python and this is an iOS and Swift project