You are totally right.
I changed the implementation to check that the user data is correctly reloaded when the day changes. Moreover, I also modified the UserMetrics mock to add a function which resets its state. In this way, each test starts with a fresh environment.
Please, have a look when you have time :)
Thank you very much
« Back to merge proposal
You are totally right.
I changed the implementation to check that the user data is correctly reloaded when the day changes. Moreover, I also modified the UserMetrics mock to add a function which resets its state. In this way, each test starts with a fresh environment.
Please, have a look when you have time :)
Thank you very much