Skip to content

Commit

Permalink
fix forward ref tests
Browse files Browse the repository at this point in the history
  • Loading branch information
vzaidman committed Dec 28, 2024
1 parent cdd84dc commit 7325c08
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion jestSetup.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ import { errorOnConsoleOutput } from '@welldone-software/jest-console-handler';
const substringsToIgnore = [
'Selectors that return the entire state are almost certainly a mistake',
'Warning: ReactDOM.render is no longer supported in React 19',
'Support for defaultProps will be removed from'
'Support for defaultProps will be removed from',
'forwardRef render functions accept exactly two parameters'
];
const regexToIgnore = new RegExp(`(${substringsToIgnore.join('|')})`);

Expand Down

0 comments on commit 7325c08

Please sign in to comment.