You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the part of the code base that needs to be cleaned up
We currently have the logic for changing states in the App component. This makes it hard to test if state changes are being handled correctly.
Provide suggestions on how we can clean this up
Define a function somewhere else that contains all the logic for changing state, and import it into the App component. Write unit tests to make sure the function runs as expected.
The text was updated successfully, but these errors were encountered:
Describe the part of the code base that needs to be cleaned up
We currently have the logic for changing states in the
App
component. This makes it hard to test if state changes are being handled correctly.Provide suggestions on how we can clean this up
Define a function somewhere else that contains all the logic for changing state, and import it into the
App
component. Write unit tests to make sure the function runs as expected.The text was updated successfully, but these errors were encountered: