As a prerequisite to upgrading to React 18 (#613) and in order to remove older tests written with a tool created by AirBnB that only elder millennials remember using, we want to convert the remaining tests using Enzyme to use React Testing Library. This story should come after #607, which is already working on removing some of the remaining Enzyme tests
User Story
As a Complaint Manager 1.0 developer
I want to be working on a codebase free of Enzyme tests
So that I am not obliged to remember the past
Definition of Done
All references to mount, shallow, and enzyme, including the entry in package.json's devDependencies are removed from Complaint Manager 1.0 and all the tests still pass
As a prerequisite to upgrading to React 18 (#613) and in order to remove older tests written with a tool created by AirBnB that only elder millennials remember using, we want to convert the remaining tests using Enzyme to use React Testing Library. This story should come after #607, which is already working on removing some of the remaining Enzyme tests
User Story
As a Complaint Manager 1.0 developer I want to be working on a codebase free of Enzyme tests So that I am not obliged to remember the past
Definition of Done
All references to
mount
,shallow
, andenzyme
, including the entry inpackage.json
'sdevDependencies
are removed from Complaint Manager 1.0 and all the tests still pass