`react-testing-library` is now the leading testing solution for react – particularly for components and patterns using the new features in React 16.8 (hooks). This also ties into the previous interest of bringing Jest into `blip` adding features such as snapshots which are not available with our current setup using mocha/chai/enzyme.
`react-testing-library` represents a change in the testing paradigm moving away from testing implementation details and moving to testing the components in the DOM – focusing on what the user is seeing rather than if the conditions are correct to trigger the component to show. It also has an advantage in enforcing accessibility in our testing.
Jest has already been implemented for Uploader.
We need to compare the benefits of using jest/react-testing-library versus using our current implementation which includes `react-hooks-testing-library` already.
This ticket is to do this research and if it is determined that we want to go this direction, to determine a plan to move forward with the transition and determine what the lift would be.
Research the benefits of using jest/react-testing-library versus using our current implementation of mocha/chai/enzyme and `react-hooks-testing-library`
determine if we want to go this direction
if so, determine a plan to move forward with the transition and determine what the lift would be