Skip to content

Commit

Permalink
Remove hoc/components from react 19 test ignore list
Browse files Browse the repository at this point in the history
  • Loading branch information
jerelmiller committed Dec 13, 2024
1 parent 2d2c144 commit f33f38e
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions config/jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,7 @@ const defaults = {
const ignoreTSFiles = ".ts$";
const ignoreTSXFiles = ".tsx$";

const react19TestFileIgnoreList = [
ignoreTSFiles,
// The HOCs and Render Prop Components have been deprecated since March 2020,
// and to test them we would need to rewrite a lot of our test suites.
// We will not support them any more for React 19.
// They will probably work, but we make no more guarantees.
"src/react/hoc/.*",
"src/react/components/.*",
];
const react19TestFileIgnoreList = [ignoreTSFiles];

const react17TestFileIgnoreList = [
ignoreTSFiles,
Expand Down

0 comments on commit f33f38e

Please sign in to comment.