Open drewbo opened 1 year ago
Started initial work on this in https://github.com/cloud-gov/pages-core/tree/refactor-test-suite and updated the acceptance criteria
Update: I rebased the aforementioned branch and made a few updates to get linting + coverage working with latest main. The coverage stats show that this covers roughly 6% of the components and 4% of the whole frontend folder. An assortment of thoughts with no particular end goal:
As part of a broader React and related dependency upgrade, we likely need to significantly change our current test suite:
enzyme
does not have a supported adapter for React 18jest
andreact-testing-library
; these seemingly have better integration with newer React features thanenzyme
ormocha
Notes