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
There are currently no tests for any of the React components under ui/. There are a few Jest tests for non-React functions, but testing components is not feasible with Jest without adding additional libraries. This makes it difficult to work with the UI due to the risk of regressions.
Summary
There are currently no tests for any of the React components under
ui/
. There are a few Jest tests for non-React functions, but testing components is not feasible with Jest without adding additional libraries. This makes it difficult to work with the UI due to the risk of regressions.I recommend adding React testing library. It's lightweight, very popular, and recommended by Jest.
Use Cases
Adding tests for complex components (e.g.
ObjectEditor
) to catch regressions, e.g. #13931The text was updated successfully, but these errors were encountered: