Skip to content

Commit

Permalink
docs: call out enzyme to rtl migration (#1356)
Browse files Browse the repository at this point in the history
  • Loading branch information
scurker authored Feb 21, 2024
1 parent a9b3560 commit 7f63e0c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,10 @@ The testing methodology should account for both testing the interface of a compo

### Unit Tests

Cauldron uses [Jest](https://jestjs.io/) as its test runner to run unit tests along with [Enzyme](https://enzymejs.github.io/enzyme) (deprecated) and [React Testing Library](https://testing-library.com/docs/react-testing-library/intro/). We are currently in the process of migrating tests away from Enzyme to React Testing Library so no new tests should be using React Testing Library.
Cauldron uses [Jest](https://jestjs.io/) as its test runner to run unit tests along with [React Testing Library](https://testing-library.com/docs/react-testing-library/intro/).

> [!IMPORTANT]
> We are currently in the process of migrating existing tests away from Enzyme to React Testing Library. New tests should **not** be written in Enzyme.
### Accessibility Testing

Expand Down

0 comments on commit 7f63e0c

Please sign in to comment.