diff --git a/src/setupTest.js b/src/setupTest.js index d0c7efada2..4b1d556868 100644 --- a/src/setupTest.js +++ b/src/setupTest.js @@ -21,7 +21,7 @@ failOnConsole({ /^⚠️ React Router Future Flag Warning: .*`v7_startTransition`/, /^⚠️ React Router Future Flag Warning: .*`v7_relativeSplatPath`/, // https://github.com/openedx/paragon/issues/3043 - /^Warning: (AlertModal|CardItem|CardView|CollapsibleBody|CollapsibleTrigger|CollapsibleVisible|DataTable|DataTableLayout|FormControlDecorator|FormControlDecoratorGroup|MarketingModal|ModalDialogBody|ModalDialogFooter|ModalDialogHero|ModalDialogHeroBackground|ModalDialogHeroContent|ModalDialogTitle|ModalPopup|PopoverContent|PopperElement|SearchFieldAdvanced|SearchFieldInput|SearchFieldLabel|SearchFieldSubmitButton|StandardModal|StatefulButton|Table|TableFooter|Tabs): Support for defaultProps will be removed from function components/, + /^Warning: (AlertModal|CardItem|CardView|DataTable|DataTableLayout|FormControlDecoratorGroup|MarketingModal|ModalDialogBody|ModalDialogFooter|ModalDialogHero|ModalDialogHeroBackground|ModalDialogHeroContent|ModalDialogTitle|ModalPopup|PopoverContent|PopperElement|SearchFieldAdvanced|SearchFieldInput|SearchFieldLabel|SearchFieldSubmitButton|StandardModal|Table|TableFooter|Tabs): Support for defaultProps will be removed from function components/, // react-share 4.x: its icon components declare defaultProps. 5.x does not, but drops the Facebook `quote` param. /^Warning: Icon: Support for defaultProps will be removed from function components/, // @edx/frontend-lib-special-exams 5.x: its own components declare defaultProps.