How to use isValidElementType method in Playwright Internal

Best JavaScript code snippet using playwright-internal

next-webpack.fixture.js

Source:next-webpack.fixture.js Github

copy

Full Screen

...373// #endregion374// #region usage375/* eslint-disable no-console */376console.assert(377 ReactIs.isValidElementType(Accordion_core),378 'Accordion named import is not consumeable.',379);380console.assert(381 ReactIs.isValidElementType(Accordion_core__pathImport),382 'Accordion path import is not consumeable.',383);384console.assert(385 ReactIs.isValidElementType(AccordionActions_core),386 'AccordionActions named import is not consumeable.',387);388console.assert(389 ReactIs.isValidElementType(AccordionActions_core__pathImport),390 'AccordionActions path import is not consumeable.',391);392console.assert(393 ReactIs.isValidElementType(AccordionDetails_core),394 'AccordionDetails named import is not consumeable.',395);396console.assert(397 ReactIs.isValidElementType(AccordionDetails_core__pathImport),398 'AccordionDetails path import is not consumeable.',399);400console.assert(401 ReactIs.isValidElementType(AccordionSummary_core),402 'AccordionSummary named import is not consumeable.',403);404console.assert(405 ReactIs.isValidElementType(AccordionSummary_core__pathImport),406 'AccordionSummary path import is not consumeable.',407);408console.assert(ReactIs.isValidElementType(Alert_core), 'Alert named import is not consumeable.');409console.assert(410 ReactIs.isValidElementType(Alert_core__pathImport),411 'Alert path import is not consumeable.',412);413console.assert(414 ReactIs.isValidElementType(AlertTitle_core),415 'AlertTitle named import is not consumeable.',416);417console.assert(418 ReactIs.isValidElementType(AlertTitle_core__pathImport),419 'AlertTitle path import is not consumeable.',420);421console.assert(ReactIs.isValidElementType(AppBar_core), 'AppBar named import is not consumeable.');422console.assert(423 ReactIs.isValidElementType(AppBar_core__pathImport),424 'AppBar path import is not consumeable.',425);426console.assert(427 ReactIs.isValidElementType(Autocomplete_core),428 'Autocomplete named import is not consumeable.',429);430console.assert(431 ReactIs.isValidElementType(Autocomplete_core__pathImport),432 'Autocomplete path import is not consumeable.',433);434console.assert(ReactIs.isValidElementType(Avatar_core), 'Avatar named import is not consumeable.');435console.assert(436 ReactIs.isValidElementType(Avatar_core__pathImport),437 'Avatar path import is not consumeable.',438);439console.assert(440 ReactIs.isValidElementType(Backdrop_core),441 'Backdrop named import is not consumeable.',442);443console.assert(444 ReactIs.isValidElementType(Backdrop_core__pathImport),445 'Backdrop path import is not consumeable.',446);447console.assert(ReactIs.isValidElementType(Badge_core), 'Badge named import is not consumeable.');448console.assert(449 ReactIs.isValidElementType(Badge_core__pathImport),450 'Badge path import is not consumeable.',451);452console.assert(453 ReactIs.isValidElementType(BottomNavigation_core),454 'BottomNavigation named import is not consumeable.',455);456console.assert(457 ReactIs.isValidElementType(BottomNavigation_core__pathImport),458 'BottomNavigation path import is not consumeable.',459);460console.assert(461 ReactIs.isValidElementType(BottomNavigationAction_core),462 'BottomNavigationAction named import is not consumeable.',463);464console.assert(465 ReactIs.isValidElementType(BottomNavigationAction_core__pathImport),466 'BottomNavigationAction path import is not consumeable.',467);468console.assert(ReactIs.isValidElementType(Box_core), 'Box named import is not consumeable.');469console.assert(470 ReactIs.isValidElementType(Box_core__pathImport),471 'Box path import is not consumeable.',472);473console.assert(474 ReactIs.isValidElementType(Breadcrumbs_core),475 'Breadcrumbs named import is not consumeable.',476);477console.assert(478 ReactIs.isValidElementType(Breadcrumbs_core__pathImport),479 'Breadcrumbs path import is not consumeable.',480);481console.assert(ReactIs.isValidElementType(Button_core), 'Button named import is not consumeable.');482console.assert(483 ReactIs.isValidElementType(Button_core__pathImport),484 'Button path import is not consumeable.',485);486console.assert(487 ReactIs.isValidElementType(ButtonBase_core),488 'ButtonBase named import is not consumeable.',489);490console.assert(491 ReactIs.isValidElementType(ButtonBase_core__pathImport),492 'ButtonBase path import is not consumeable.',493);494console.assert(495 ReactIs.isValidElementType(ButtonGroup_core),496 'ButtonGroup named import is not consumeable.',497);498console.assert(499 ReactIs.isValidElementType(ButtonGroup_core__pathImport),500 'ButtonGroup path import is not consumeable.',501);502console.assert(ReactIs.isValidElementType(Card_core), 'Card named import is not consumeable.');503console.assert(504 ReactIs.isValidElementType(Card_core__pathImport),505 'Card path import is not consumeable.',506);507console.assert(508 ReactIs.isValidElementType(CardActionArea_core),509 'CardActionArea named import is not consumeable.',510);511console.assert(512 ReactIs.isValidElementType(CardActionArea_core__pathImport),513 'CardActionArea path import is not consumeable.',514);515console.assert(516 ReactIs.isValidElementType(CardActions_core),517 'CardActions named import is not consumeable.',518);519console.assert(520 ReactIs.isValidElementType(CardActions_core__pathImport),521 'CardActions path import is not consumeable.',522);523console.assert(524 ReactIs.isValidElementType(CardContent_core),525 'CardContent named import is not consumeable.',526);527console.assert(528 ReactIs.isValidElementType(CardContent_core__pathImport),529 'CardContent path import is not consumeable.',530);531console.assert(532 ReactIs.isValidElementType(CardHeader_core),533 'CardHeader named import is not consumeable.',534);535console.assert(536 ReactIs.isValidElementType(CardHeader_core__pathImport),537 'CardHeader path import is not consumeable.',538);539console.assert(540 ReactIs.isValidElementType(CardMedia_core),541 'CardMedia named import is not consumeable.',542);543console.assert(544 ReactIs.isValidElementType(CardMedia_core__pathImport),545 'CardMedia path import is not consumeable.',546);547console.assert(548 ReactIs.isValidElementType(Checkbox_core),549 'Checkbox named import is not consumeable.',550);551console.assert(552 ReactIs.isValidElementType(Checkbox_core__pathImport),553 'Checkbox path import is not consumeable.',554);555console.assert(ReactIs.isValidElementType(Chip_core), 'Chip named import is not consumeable.');556console.assert(557 ReactIs.isValidElementType(Chip_core__pathImport),558 'Chip path import is not consumeable.',559);560console.assert(561 ReactIs.isValidElementType(CircularProgress_core),562 'CircularProgress named import is not consumeable.',563);564console.assert(565 ReactIs.isValidElementType(CircularProgress_core__pathImport),566 'CircularProgress path import is not consumeable.',567);568console.assert(569 ReactIs.isValidElementType(ClickAwayListener_core),570 'ClickAwayListener named import is not consumeable.',571);572console.assert(573 ReactIs.isValidElementType(ClickAwayListener_core__pathImport),574 'ClickAwayListener path import is not consumeable.',575);576console.assert(577 ReactIs.isValidElementType(Collapse_core),578 'Collapse named import is not consumeable.',579);580console.assert(581 ReactIs.isValidElementType(Collapse_core__pathImport),582 'Collapse path import is not consumeable.',583);584console.assert(585 colors_core__pathImport !== null && typeof colors_core__pathImport === 'object',586 'colors path import is not consumeable.',587);588console.assert(589 ReactIs.isValidElementType(Container_core),590 'Container named import is not consumeable.',591);592console.assert(593 ReactIs.isValidElementType(Container_core__pathImport),594 'Container path import is not consumeable.',595);596console.assert(597 ReactIs.isValidElementType(CssBaseline_core),598 'CssBaseline named import is not consumeable.',599);600console.assert(601 ReactIs.isValidElementType(CssBaseline_core__pathImport),602 'CssBaseline path import is not consumeable.',603);604console.assert(ReactIs.isValidElementType(Dialog_core), 'Dialog named import is not consumeable.');605console.assert(606 ReactIs.isValidElementType(Dialog_core__pathImport),607 'Dialog path import is not consumeable.',608);609console.assert(610 ReactIs.isValidElementType(DialogActions_core),611 'DialogActions named import is not consumeable.',612);613console.assert(614 ReactIs.isValidElementType(DialogActions_core__pathImport),615 'DialogActions path import is not consumeable.',616);617console.assert(618 ReactIs.isValidElementType(DialogContent_core),619 'DialogContent named import is not consumeable.',620);621console.assert(622 ReactIs.isValidElementType(DialogContent_core__pathImport),623 'DialogContent path import is not consumeable.',624);625console.assert(626 ReactIs.isValidElementType(DialogContentText_core),627 'DialogContentText named import is not consumeable.',628);629console.assert(630 ReactIs.isValidElementType(DialogContentText_core__pathImport),631 'DialogContentText path import is not consumeable.',632);633console.assert(634 ReactIs.isValidElementType(DialogTitle_core),635 'DialogTitle named import is not consumeable.',636);637console.assert(638 ReactIs.isValidElementType(DialogTitle_core__pathImport),639 'DialogTitle path import is not consumeable.',640);641console.assert(642 ReactIs.isValidElementType(Divider_core),643 'Divider named import is not consumeable.',644);645console.assert(646 ReactIs.isValidElementType(Divider_core__pathImport),647 'Divider path import is not consumeable.',648);649console.assert(ReactIs.isValidElementType(Drawer_core), 'Drawer named import is not consumeable.');650console.assert(651 ReactIs.isValidElementType(Drawer_core__pathImport),652 'Drawer path import is not consumeable.',653);654console.assert(ReactIs.isValidElementType(Fab_core), 'Fab named import is not consumeable.');655console.assert(656 ReactIs.isValidElementType(Fab_core__pathImport),657 'Fab path import is not consumeable.',658);659console.assert(ReactIs.isValidElementType(Fade_core), 'Fade named import is not consumeable.');660console.assert(661 ReactIs.isValidElementType(Fade_core__pathImport),662 'Fade path import is not consumeable.',663);664console.assert(665 ReactIs.isValidElementType(FilledInput_core),666 'FilledInput named import is not consumeable.',667);668console.assert(669 ReactIs.isValidElementType(FilledInput_core__pathImport),670 'FilledInput path import is not consumeable.',671);672console.assert(673 ReactIs.isValidElementType(FormControl_core),674 'FormControl named import is not consumeable.',675);676console.assert(677 ReactIs.isValidElementType(FormControl_core__pathImport),678 'FormControl path import is not consumeable.',679);680console.assert(681 ReactIs.isValidElementType(FormControlLabel_core),682 'FormControlLabel named import is not consumeable.',683);684console.assert(685 ReactIs.isValidElementType(FormControlLabel_core__pathImport),686 'FormControlLabel path import is not consumeable.',687);688console.assert(689 ReactIs.isValidElementType(FormGroup_core),690 'FormGroup named import is not consumeable.',691);692console.assert(693 ReactIs.isValidElementType(FormGroup_core__pathImport),694 'FormGroup path import is not consumeable.',695);696console.assert(697 ReactIs.isValidElementType(FormHelperText_core),698 'FormHelperText named import is not consumeable.',699);700console.assert(701 ReactIs.isValidElementType(FormHelperText_core__pathImport),702 'FormHelperText path import is not consumeable.',703);704console.assert(705 ReactIs.isValidElementType(FormLabel_core),706 'FormLabel named import is not consumeable.',707);708console.assert(709 ReactIs.isValidElementType(FormLabel_core__pathImport),710 'FormLabel path import is not consumeable.',711);712console.assert(ReactIs.isValidElementType(Grid_core), 'Grid named import is not consumeable.');713console.assert(714 ReactIs.isValidElementType(Grid_core__pathImport),715 'Grid path import is not consumeable.',716);717console.assert(ReactIs.isValidElementType(Grow_core), 'Grow named import is not consumeable.');718console.assert(719 ReactIs.isValidElementType(Grow_core__pathImport),720 'Grow path import is not consumeable.',721);722console.assert(ReactIs.isValidElementType(Icon_core), 'Icon named import is not consumeable.');723console.assert(724 ReactIs.isValidElementType(Icon_core__pathImport),725 'Icon path import is not consumeable.',726);727console.assert(728 ReactIs.isValidElementType(IconButton_core),729 'IconButton named import is not consumeable.',730);731console.assert(732 ReactIs.isValidElementType(IconButton_core__pathImport),733 'IconButton path import is not consumeable.',734);735console.assert(736 ReactIs.isValidElementType(ImageList_core),737 'ImageList named import is not consumeable.',738);739console.assert(740 ReactIs.isValidElementType(ImageList_core__pathImport),741 'ImageList path import is not consumeable.',742);743console.assert(744 ReactIs.isValidElementType(ImageListItem_core),745 'ImageListItem named import is not consumeable.',746);747console.assert(748 ReactIs.isValidElementType(ImageListItem_core__pathImport),749 'ImageListItem path import is not consumeable.',750);751console.assert(752 ReactIs.isValidElementType(ImageListItemBar_core),753 'ImageListItemBar named import is not consumeable.',754);755console.assert(756 ReactIs.isValidElementType(ImageListItemBar_core__pathImport),757 'ImageListItemBar path import is not consumeable.',758);759console.assert(ReactIs.isValidElementType(Input_core), 'Input named import is not consumeable.');760console.assert(761 ReactIs.isValidElementType(Input_core__pathImport),762 'Input path import is not consumeable.',763);764console.assert(765 ReactIs.isValidElementType(InputAdornment_core),766 'InputAdornment named import is not consumeable.',767);768console.assert(769 ReactIs.isValidElementType(InputAdornment_core__pathImport),770 'InputAdornment path import is not consumeable.',771);772console.assert(773 ReactIs.isValidElementType(InputBase_core),774 'InputBase named import is not consumeable.',775);776console.assert(777 ReactIs.isValidElementType(InputBase_core__pathImport),778 'InputBase path import is not consumeable.',779);780console.assert(781 ReactIs.isValidElementType(InputLabel_core),782 'InputLabel named import is not consumeable.',783);784console.assert(785 ReactIs.isValidElementType(InputLabel_core__pathImport),786 'InputLabel path import is not consumeable.',787);788console.assert(789 ReactIs.isValidElementType(LinearProgress_core),790 'LinearProgress named import is not consumeable.',791);792console.assert(793 ReactIs.isValidElementType(LinearProgress_core__pathImport),794 'LinearProgress path import is not consumeable.',795);796console.assert(ReactIs.isValidElementType(Link_core), 'Link named import is not consumeable.');797console.assert(798 ReactIs.isValidElementType(Link_core__pathImport),799 'Link path import is not consumeable.',800);801console.assert(ReactIs.isValidElementType(List_core), 'List named import is not consumeable.');802console.assert(803 ReactIs.isValidElementType(List_core__pathImport),804 'List path import is not consumeable.',805);806console.assert(807 ReactIs.isValidElementType(ListItem_core),808 'ListItem named import is not consumeable.',809);810console.assert(811 ReactIs.isValidElementType(ListItem_core__pathImport),812 'ListItem path import is not consumeable.',813);814console.assert(815 ReactIs.isValidElementType(ListItemAvatar_core),816 'ListItemAvatar named import is not consumeable.',817);818console.assert(819 ReactIs.isValidElementType(ListItemAvatar_core__pathImport),820 'ListItemAvatar path import is not consumeable.',821);822console.assert(823 ReactIs.isValidElementType(ListItemIcon_core),824 'ListItemIcon named import is not consumeable.',825);826console.assert(827 ReactIs.isValidElementType(ListItemIcon_core__pathImport),828 'ListItemIcon path import is not consumeable.',829);830console.assert(831 ReactIs.isValidElementType(ListItemSecondaryAction_core),832 'ListItemSecondaryAction named import is not consumeable.',833);834console.assert(835 ReactIs.isValidElementType(ListItemSecondaryAction_core__pathImport),836 'ListItemSecondaryAction path import is not consumeable.',837);838console.assert(839 ReactIs.isValidElementType(ListItemText_core),840 'ListItemText named import is not consumeable.',841);842console.assert(843 ReactIs.isValidElementType(ListItemText_core__pathImport),844 'ListItemText path import is not consumeable.',845);846console.assert(847 ReactIs.isValidElementType(ListSubheader_core),848 'ListSubheader named import is not consumeable.',849);850console.assert(851 ReactIs.isValidElementType(ListSubheader_core__pathImport),852 'ListSubheader path import is not consumeable.',853);854console.assert(ReactIs.isValidElementType(Menu_core), 'Menu named import is not consumeable.');855console.assert(856 ReactIs.isValidElementType(Menu_core__pathImport),857 'Menu path import is not consumeable.',858);859console.assert(860 ReactIs.isValidElementType(MenuItem_core),861 'MenuItem named import is not consumeable.',862);863console.assert(864 ReactIs.isValidElementType(MenuItem_core__pathImport),865 'MenuItem path import is not consumeable.',866);867console.assert(868 ReactIs.isValidElementType(MenuList_core),869 'MenuList named import is not consumeable.',870);871console.assert(872 ReactIs.isValidElementType(MenuList_core__pathImport),873 'MenuList path import is not consumeable.',874);875console.assert(876 ReactIs.isValidElementType(MobileStepper_core),877 'MobileStepper named import is not consumeable.',878);879console.assert(880 ReactIs.isValidElementType(MobileStepper_core__pathImport),881 'MobileStepper path import is not consumeable.',882);883console.assert(ReactIs.isValidElementType(Modal_core), 'Modal named import is not consumeable.');884console.assert(885 ReactIs.isValidElementType(Modal_core__pathImport),886 'Modal path import is not consumeable.',887);888console.assert(889 ReactIs.isValidElementType(NativeSelect_core),890 'NativeSelect named import is not consumeable.',891);892console.assert(893 ReactIs.isValidElementType(NativeSelect_core__pathImport),894 'NativeSelect path import is not consumeable.',895);896console.assert(ReactIs.isValidElementType(NoSsr_core), 'NoSsr named import is not consumeable.');897console.assert(898 ReactIs.isValidElementType(NoSsr_core__pathImport),899 'NoSsr path import is not consumeable.',900);901console.assert(902 ReactIs.isValidElementType(OutlinedInput_core),903 'OutlinedInput named import is not consumeable.',904);905console.assert(906 ReactIs.isValidElementType(OutlinedInput_core__pathImport),907 'OutlinedInput path import is not consumeable.',908);909console.assert(910 ReactIs.isValidElementType(Pagination_core),911 'Pagination named import is not consumeable.',912);913console.assert(914 ReactIs.isValidElementType(Pagination_core__pathImport),915 'Pagination path import is not consumeable.',916);917console.assert(918 ReactIs.isValidElementType(PaginationItem_core),919 'PaginationItem named import is not consumeable.',920);921console.assert(922 ReactIs.isValidElementType(PaginationItem_core__pathImport),923 'PaginationItem path import is not consumeable.',924);925console.assert(ReactIs.isValidElementType(Paper_core), 'Paper named import is not consumeable.');926console.assert(927 ReactIs.isValidElementType(Paper_core__pathImport),928 'Paper path import is not consumeable.',929);930console.assert(931 ReactIs.isValidElementType(Popover_core),932 'Popover named import is not consumeable.',933);934console.assert(935 ReactIs.isValidElementType(Popover_core__pathImport),936 'Popover path import is not consumeable.',937);938console.assert(ReactIs.isValidElementType(Popper_core), 'Popper named import is not consumeable.');939console.assert(940 ReactIs.isValidElementType(Popper_core__pathImport),941 'Popper path import is not consumeable.',942);943console.assert(ReactIs.isValidElementType(Portal_core), 'Portal named import is not consumeable.');944console.assert(945 ReactIs.isValidElementType(Portal_core__pathImport),946 'Portal path import is not consumeable.',947);948console.assert(ReactIs.isValidElementType(Radio_core), 'Radio named import is not consumeable.');949console.assert(950 ReactIs.isValidElementType(Radio_core__pathImport),951 'Radio path import is not consumeable.',952);953console.assert(954 ReactIs.isValidElementType(RadioGroup_core),955 'RadioGroup named import is not consumeable.',956);957console.assert(958 ReactIs.isValidElementType(RadioGroup_core__pathImport),959 'RadioGroup path import is not consumeable.',960);961console.assert(ReactIs.isValidElementType(Rating_core), 'Rating named import is not consumeable.');962console.assert(963 ReactIs.isValidElementType(Rating_core__pathImport),964 'Rating path import is not consumeable.',965);966console.assert(967 ReactIs.isValidElementType(ScopedCssBaseline_core),968 'ScopedCssBaseline named import is not consumeable.',969);970console.assert(971 ReactIs.isValidElementType(ScopedCssBaseline_core__pathImport),972 'ScopedCssBaseline path import is not consumeable.',973);974console.assert(ReactIs.isValidElementType(Select_core), 'Select named import is not consumeable.');975console.assert(976 ReactIs.isValidElementType(Select_core__pathImport),977 'Select path import is not consumeable.',978);979console.assert(980 ReactIs.isValidElementType(Skeleton_core),981 'Skeleton named import is not consumeable.',982);983console.assert(984 ReactIs.isValidElementType(Skeleton_core__pathImport),985 'Skeleton path import is not consumeable.',986);987console.assert(ReactIs.isValidElementType(Slide_core), 'Slide named import is not consumeable.');988console.assert(989 ReactIs.isValidElementType(Slide_core__pathImport),990 'Slide path import is not consumeable.',991);992console.assert(ReactIs.isValidElementType(Slider_core), 'Slider named import is not consumeable.');993console.assert(994 ReactIs.isValidElementType(Slider_core__pathImport),995 'Slider path import is not consumeable.',996);997console.assert(998 ReactIs.isValidElementType(Snackbar_core),999 'Snackbar named import is not consumeable.',1000);1001console.assert(1002 ReactIs.isValidElementType(Snackbar_core__pathImport),1003 'Snackbar path import is not consumeable.',1004);1005console.assert(1006 ReactIs.isValidElementType(SnackbarContent_core),1007 'SnackbarContent named import is not consumeable.',1008);1009console.assert(1010 ReactIs.isValidElementType(SnackbarContent_core__pathImport),1011 'SnackbarContent path import is not consumeable.',1012);1013console.assert(1014 ReactIs.isValidElementType(SpeedDial_core),1015 'SpeedDial named import is not consumeable.',1016);1017console.assert(1018 ReactIs.isValidElementType(SpeedDial_core__pathImport),1019 'SpeedDial path import is not consumeable.',1020);1021console.assert(1022 ReactIs.isValidElementType(SpeedDialAction_core),1023 'SpeedDialAction named import is not consumeable.',1024);1025console.assert(1026 ReactIs.isValidElementType(SpeedDialAction_core__pathImport),1027 'SpeedDialAction path import is not consumeable.',1028);1029console.assert(1030 ReactIs.isValidElementType(SpeedDialIcon_core),1031 'SpeedDialIcon named import is not consumeable.',1032);1033console.assert(1034 ReactIs.isValidElementType(SpeedDialIcon_core__pathImport),1035 'SpeedDialIcon path import is not consumeable.',1036);1037console.assert(ReactIs.isValidElementType(Step_core), 'Step named import is not consumeable.');1038console.assert(1039 ReactIs.isValidElementType(Step_core__pathImport),1040 'Step path import is not consumeable.',1041);1042console.assert(1043 ReactIs.isValidElementType(StepButton_core),1044 'StepButton named import is not consumeable.',1045);1046console.assert(1047 ReactIs.isValidElementType(StepButton_core__pathImport),1048 'StepButton path import is not consumeable.',1049);1050console.assert(1051 ReactIs.isValidElementType(StepConnector_core),1052 'StepConnector named import is not consumeable.',1053);1054console.assert(1055 ReactIs.isValidElementType(StepConnector_core__pathImport),1056 'StepConnector path import is not consumeable.',1057);1058console.assert(1059 ReactIs.isValidElementType(StepContent_core),1060 'StepContent named import is not consumeable.',1061);1062console.assert(1063 ReactIs.isValidElementType(StepContent_core__pathImport),1064 'StepContent path import is not consumeable.',1065);1066console.assert(1067 ReactIs.isValidElementType(StepIcon_core),1068 'StepIcon named import is not consumeable.',1069);1070console.assert(1071 ReactIs.isValidElementType(StepIcon_core__pathImport),1072 'StepIcon path import is not consumeable.',1073);1074console.assert(1075 ReactIs.isValidElementType(StepLabel_core),1076 'StepLabel named import is not consumeable.',1077);1078console.assert(1079 ReactIs.isValidElementType(StepLabel_core__pathImport),1080 'StepLabel path import is not consumeable.',1081);1082console.assert(1083 ReactIs.isValidElementType(Stepper_core),1084 'Stepper named import is not consumeable.',1085);1086console.assert(1087 ReactIs.isValidElementType(Stepper_core__pathImport),1088 'Stepper path import is not consumeable.',1089);1090console.assert(1091 styles_core__pathImport !== null && typeof styles_core__pathImport === 'object',1092 'styles path import is not consumeable.',1093);1094console.assert(1095 ReactIs.isValidElementType(SvgIcon_core),1096 'SvgIcon named import is not consumeable.',1097);1098console.assert(1099 ReactIs.isValidElementType(SvgIcon_core__pathImport),1100 'SvgIcon path import is not consumeable.',1101);1102console.assert(1103 ReactIs.isValidElementType(SwipeableDrawer_core),1104 'SwipeableDrawer named import is not consumeable.',1105);1106console.assert(1107 ReactIs.isValidElementType(SwipeableDrawer_core__pathImport),1108 'SwipeableDrawer path import is not consumeable.',1109);1110console.assert(ReactIs.isValidElementType(Switch_core), 'Switch named import is not consumeable.');1111console.assert(1112 ReactIs.isValidElementType(Switch_core__pathImport),1113 'Switch path import is not consumeable.',1114);1115console.assert(ReactIs.isValidElementType(Tab_core), 'Tab named import is not consumeable.');1116console.assert(1117 ReactIs.isValidElementType(Tab_core__pathImport),1118 'Tab path import is not consumeable.',1119);1120console.assert(ReactIs.isValidElementType(Table_core), 'Table named import is not consumeable.');1121console.assert(1122 ReactIs.isValidElementType(Table_core__pathImport),1123 'Table path import is not consumeable.',1124);1125console.assert(1126 ReactIs.isValidElementType(TableBody_core),1127 'TableBody named import is not consumeable.',1128);1129console.assert(1130 ReactIs.isValidElementType(TableBody_core__pathImport),1131 'TableBody path import is not consumeable.',1132);1133console.assert(1134 ReactIs.isValidElementType(TableCell_core),1135 'TableCell named import is not consumeable.',1136);1137console.assert(1138 ReactIs.isValidElementType(TableCell_core__pathImport),1139 'TableCell path import is not consumeable.',1140);1141console.assert(1142 ReactIs.isValidElementType(TableContainer_core),1143 'TableContainer named import is not consumeable.',1144);1145console.assert(1146 ReactIs.isValidElementType(TableContainer_core__pathImport),1147 'TableContainer path import is not consumeable.',1148);1149console.assert(1150 ReactIs.isValidElementType(TableFooter_core),1151 'TableFooter named import is not consumeable.',1152);1153console.assert(1154 ReactIs.isValidElementType(TableFooter_core__pathImport),1155 'TableFooter path import is not consumeable.',1156);1157console.assert(1158 ReactIs.isValidElementType(TableHead_core),1159 'TableHead named import is not consumeable.',1160);1161console.assert(1162 ReactIs.isValidElementType(TableHead_core__pathImport),1163 'TableHead path import is not consumeable.',1164);1165console.assert(1166 ReactIs.isValidElementType(TablePagination_core),1167 'TablePagination named import is not consumeable.',1168);1169console.assert(1170 ReactIs.isValidElementType(TablePagination_core__pathImport),1171 'TablePagination path import is not consumeable.',1172);1173console.assert(1174 ReactIs.isValidElementType(TableRow_core),1175 'TableRow named import is not consumeable.',1176);1177console.assert(1178 ReactIs.isValidElementType(TableRow_core__pathImport),1179 'TableRow path import is not consumeable.',1180);1181console.assert(1182 ReactIs.isValidElementType(TableSortLabel_core),1183 'TableSortLabel named import is not consumeable.',1184);1185console.assert(1186 ReactIs.isValidElementType(TableSortLabel_core__pathImport),1187 'TableSortLabel path import is not consumeable.',1188);1189console.assert(ReactIs.isValidElementType(Tabs_core), 'Tabs named import is not consumeable.');1190console.assert(1191 ReactIs.isValidElementType(Tabs_core__pathImport),1192 'Tabs path import is not consumeable.',1193);1194console.assert(1195 ReactIs.isValidElementType(TabScrollButton_core),1196 'TabScrollButton named import is not consumeable.',1197);1198console.assert(1199 ReactIs.isValidElementType(TabScrollButton_core__pathImport),1200 'TabScrollButton path import is not consumeable.',1201);1202console.assert(1203 ReactIs.isValidElementType(TextareaAutosize_core),1204 'TextareaAutosize named import is not consumeable.',1205);1206console.assert(1207 ReactIs.isValidElementType(TextareaAutosize_core__pathImport),1208 'TextareaAutosize path import is not consumeable.',1209);1210console.assert(1211 ReactIs.isValidElementType(TextField_core),1212 'TextField named import is not consumeable.',1213);1214console.assert(1215 ReactIs.isValidElementType(TextField_core__pathImport),1216 'TextField path import is not consumeable.',1217);1218console.assert(1219 ReactIs.isValidElementType(ToggleButton_core),1220 'ToggleButton named import is not consumeable.',1221);1222console.assert(1223 ReactIs.isValidElementType(ToggleButton_core__pathImport),1224 'ToggleButton path import is not consumeable.',1225);1226console.assert(1227 ReactIs.isValidElementType(ToggleButtonGroup_core),1228 'ToggleButtonGroup named import is not consumeable.',1229);1230console.assert(1231 ReactIs.isValidElementType(ToggleButtonGroup_core__pathImport),1232 'ToggleButtonGroup path import is not consumeable.',1233);1234console.assert(1235 ReactIs.isValidElementType(Toolbar_core),1236 'Toolbar named import is not consumeable.',1237);1238console.assert(1239 ReactIs.isValidElementType(Toolbar_core__pathImport),1240 'Toolbar path import is not consumeable.',1241);1242console.assert(1243 ReactIs.isValidElementType(Tooltip_core),1244 'Tooltip named import is not consumeable.',1245);1246console.assert(1247 ReactIs.isValidElementType(Tooltip_core__pathImport),1248 'Tooltip path import is not consumeable.',1249);1250console.assert(1251 ReactIs.isValidElementType(Typography_core),1252 'Typography named import is not consumeable.',1253);1254console.assert(1255 ReactIs.isValidElementType(Typography_core__pathImport),1256 'Typography path import is not consumeable.',1257);1258console.assert(1259 ReactIs.isValidElementType(Unstable_TrapFocus_core),1260 'Unstable_TrapFocus named import is not consumeable.',1261);1262console.assert(1263 ReactIs.isValidElementType(Unstable_TrapFocus_core__pathImport),1264 'Unstable_TrapFocus path import is not consumeable.',1265);1266console.assert(1267 useAutocomplete_core !== undefined,1268 'useAutocomplete named import is not consumeable.',1269);1270console.assert(1271 useAutocomplete_core__pathImport !== undefined,1272 'useAutocomplete path import is not consumeable.',1273);1274console.assert(useMediaQuery_core !== undefined, 'useMediaQuery named import is not consumeable.');1275console.assert(1276 useMediaQuery_core__pathImport !== undefined,1277 'useMediaQuery path import is not consumeable.',1278);1279console.assert(usePagination_core !== undefined, 'usePagination named import is not consumeable.');1280console.assert(1281 usePagination_core__pathImport !== undefined,1282 'usePagination path import is not consumeable.',1283);1284console.assert(1285 useScrollTrigger_core !== undefined,1286 'useScrollTrigger named import is not consumeable.',1287);1288console.assert(1289 useScrollTrigger_core__pathImport !== undefined,1290 'useScrollTrigger path import is not consumeable.',1291);1292console.assert(1293 utils_core__pathImport !== null && typeof utils_core__pathImport === 'object',1294 'utils path import is not consumeable.',1295);1296console.assert(ReactIs.isValidElementType(Zoom_core), 'Zoom named import is not consumeable.');1297console.assert(1298 ReactIs.isValidElementType(Zoom_core__pathImport),1299 'Zoom path import is not consumeable.',1300);1301console.assert(1302 ReactIs.isValidElementType(Accessibility_icons),1303 'Accessibility named import is not consumeable.',1304);1305console.assert(1306 ReactIs.isValidElementType(Accessibility_icons__pathImport),1307 'Accessibility path import is not consumeable.',1308);1309console.assert(ReactIs.isValidElementType(Alert_lab), 'Alert named import is not consumeable.');1310console.assert(1311 ReactIs.isValidElementType(Alert_lab__pathImport),1312 'Alert path import is not consumeable.',1313);1314console.assert(1315 ReactIs.isValidElementType(AlertTitle_lab),1316 'AlertTitle named import is not consumeable.',1317);1318console.assert(1319 ReactIs.isValidElementType(AlertTitle_lab__pathImport),1320 'AlertTitle path import is not consumeable.',1321);1322console.assert(1323 ReactIs.isValidElementType(Autocomplete_lab),1324 'Autocomplete named import is not consumeable.',1325);1326console.assert(1327 ReactIs.isValidElementType(Autocomplete_lab__pathImport),1328 'Autocomplete path import is not consumeable.',1329);1330console.assert(1331 ReactIs.isValidElementType(AvatarGroup_lab),1332 'AvatarGroup named import is not consumeable.',1333);1334console.assert(1335 ReactIs.isValidElementType(AvatarGroup_lab__pathImport),1336 'AvatarGroup path import is not consumeable.',1337);1338console.assert(1339 ReactIs.isValidElementType(LoadingButton_lab),1340 'LoadingButton named import is not consumeable.',1341);1342console.assert(1343 ReactIs.isValidElementType(LoadingButton_lab__pathImport),1344 'LoadingButton path import is not consumeable.',1345);1346console.assert(1347 ReactIs.isValidElementType(Pagination_lab),1348 'Pagination named import is not consumeable.',1349);1350console.assert(1351 ReactIs.isValidElementType(Pagination_lab__pathImport),1352 'Pagination path import is not consumeable.',1353);1354console.assert(1355 ReactIs.isValidElementType(PaginationItem_lab),1356 'PaginationItem named import is not consumeable.',1357);1358console.assert(1359 ReactIs.isValidElementType(PaginationItem_lab__pathImport),1360 'PaginationItem path import is not consumeable.',1361);1362console.assert(ReactIs.isValidElementType(Rating_lab), 'Rating named import is not consumeable.');1363console.assert(1364 ReactIs.isValidElementType(Rating_lab__pathImport),1365 'Rating path import is not consumeable.',1366);1367console.assert(1368 ReactIs.isValidElementType(Skeleton_lab),1369 'Skeleton named import is not consumeable.',1370);1371console.assert(1372 ReactIs.isValidElementType(Skeleton_lab__pathImport),1373 'Skeleton path import is not consumeable.',1374);1375console.assert(1376 ReactIs.isValidElementType(SpeedDial_lab),1377 'SpeedDial named import is not consumeable.',1378);1379console.assert(1380 ReactIs.isValidElementType(SpeedDial_lab__pathImport),1381 'SpeedDial path import is not consumeable.',1382);1383console.assert(1384 ReactIs.isValidElementType(SpeedDialAction_lab),1385 'SpeedDialAction named import is not consumeable.',1386);1387console.assert(1388 ReactIs.isValidElementType(SpeedDialAction_lab__pathImport),1389 'SpeedDialAction path import is not consumeable.',1390);1391console.assert(1392 ReactIs.isValidElementType(SpeedDialIcon_lab),1393 'SpeedDialIcon named import is not consumeable.',1394);1395console.assert(1396 ReactIs.isValidElementType(SpeedDialIcon_lab__pathImport),1397 'SpeedDialIcon path import is not consumeable.',1398);1399console.assert(1400 ReactIs.isValidElementType(TabContext_lab),1401 'TabContext named import is not consumeable.',1402);1403console.assert(1404 ReactIs.isValidElementType(TabContext_lab__pathImport),1405 'TabContext path import is not consumeable.',1406);1407console.assert(ReactIs.isValidElementType(TabList_lab), 'TabList named import is not consumeable.');1408console.assert(1409 ReactIs.isValidElementType(TabList_lab__pathImport),1410 'TabList path import is not consumeable.',1411);1412console.assert(1413 ReactIs.isValidElementType(TabPanel_lab),1414 'TabPanel named import is not consumeable.',1415);1416console.assert(1417 ReactIs.isValidElementType(TabPanel_lab__pathImport),1418 'TabPanel path import is not consumeable.',1419);1420console.assert(1421 ReactIs.isValidElementType(Timeline_lab),1422 'Timeline named import is not consumeable.',1423);1424console.assert(1425 ReactIs.isValidElementType(Timeline_lab__pathImport),1426 'Timeline path import is not consumeable.',1427);1428console.assert(1429 ReactIs.isValidElementType(TimelineConnector_lab),1430 'TimelineConnector named import is not consumeable.',1431);1432console.assert(1433 ReactIs.isValidElementType(TimelineConnector_lab__pathImport),1434 'TimelineConnector path import is not consumeable.',1435);1436console.assert(1437 ReactIs.isValidElementType(TimelineContent_lab),1438 'TimelineContent named import is not consumeable.',1439);1440console.assert(1441 ReactIs.isValidElementType(TimelineContent_lab__pathImport),1442 'TimelineContent path import is not consumeable.',1443);1444console.assert(1445 ReactIs.isValidElementType(TimelineDot_lab),1446 'TimelineDot named import is not consumeable.',1447);1448console.assert(1449 ReactIs.isValidElementType(TimelineDot_lab__pathImport),1450 'TimelineDot path import is not consumeable.',1451);1452console.assert(1453 ReactIs.isValidElementType(TimelineItem_lab),1454 'TimelineItem named import is not consumeable.',1455);1456console.assert(1457 ReactIs.isValidElementType(TimelineItem_lab__pathImport),1458 'TimelineItem path import is not consumeable.',1459);1460console.assert(1461 ReactIs.isValidElementType(TimelineOppositeContent_lab),1462 'TimelineOppositeContent named import is not consumeable.',1463);1464console.assert(1465 ReactIs.isValidElementType(TimelineOppositeContent_lab__pathImport),1466 'TimelineOppositeContent path import is not consumeable.',1467);1468console.assert(1469 ReactIs.isValidElementType(TimelineSeparator_lab),1470 'TimelineSeparator named import is not consumeable.',1471);1472console.assert(1473 ReactIs.isValidElementType(TimelineSeparator_lab__pathImport),1474 'TimelineSeparator path import is not consumeable.',1475);1476console.assert(1477 ReactIs.isValidElementType(ToggleButton_lab),1478 'ToggleButton named import is not consumeable.',1479);1480console.assert(1481 ReactIs.isValidElementType(ToggleButton_lab__pathImport),1482 'ToggleButton path import is not consumeable.',1483);1484console.assert(1485 ReactIs.isValidElementType(ToggleButtonGroup_lab),1486 'ToggleButtonGroup named import is not consumeable.',1487);1488console.assert(1489 ReactIs.isValidElementType(ToggleButtonGroup_lab__pathImport),1490 'ToggleButtonGroup path import is not consumeable.',1491);1492console.assert(1493 ReactIs.isValidElementType(TreeItem_lab),1494 'TreeItem named import is not consumeable.',1495);1496console.assert(1497 ReactIs.isValidElementType(TreeItem_lab__pathImport),1498 'TreeItem path import is not consumeable.',1499);1500console.assert(1501 ReactIs.isValidElementType(TreeView_lab),1502 'TreeView named import is not consumeable.',1503);1504console.assert(1505 ReactIs.isValidElementType(TreeView_lab__pathImport),1506 'TreeView path import is not consumeable.',1507);1508console.assert(1509 useAutocomplete_lab !== undefined,1510 'useAutocomplete named import is not consumeable.',1511);1512console.assert(1513 useAutocomplete_lab__pathImport !== undefined,1514 'useAutocomplete path import is not consumeable.',1515);1516console.assert(1517 createGenerateClassName_styles !== undefined,1518 'createGenerateClassName named import is not consumeable.',1519);1520console.assert(1521 createGenerateClassName_styles__pathImport !== undefined,1522 'createGenerateClassName path import is not consumeable.',1523);1524console.assert(createStyles_styles !== undefined, 'createStyles named import is not consumeable.');1525console.assert(1526 createStyles_styles__pathImport !== undefined,1527 'createStyles path import is not consumeable.',1528);1529console.assert(1530 getThemeProps_styles !== undefined,1531 'getThemeProps named import is not consumeable.',1532);1533console.assert(1534 getThemeProps_styles__pathImport !== undefined,1535 'getThemeProps path import is not consumeable.',1536);1537console.assert(jssPreset_styles !== undefined, 'jssPreset named import is not consumeable.');1538console.assert(1539 jssPreset_styles__pathImport !== undefined,1540 'jssPreset path import is not consumeable.',1541);1542console.assert(makeStyles_styles !== undefined, 'makeStyles named import is not consumeable.');1543console.assert(1544 makeStyles_styles__pathImport !== undefined,1545 'makeStyles path import is not consumeable.',1546);1547console.assert(mergeClasses_styles !== undefined, 'mergeClasses named import is not consumeable.');1548console.assert(1549 mergeClasses_styles__pathImport !== undefined,1550 'mergeClasses path import is not consumeable.',1551);1552console.assert(1553 propsToClassKey_styles !== undefined,1554 'propsToClassKey named import is not consumeable.',1555);1556console.assert(1557 propsToClassKey_styles__pathImport !== undefined,1558 'propsToClassKey path import is not consumeable.',1559);1560console.assert(1561 ReactIs.isValidElementType(ServerStyleSheets_styles),1562 'ServerStyleSheets named import is not consumeable.',1563);1564console.assert(1565 ReactIs.isValidElementType(ServerStyleSheets_styles__pathImport),1566 'ServerStyleSheets path import is not consumeable.',1567);1568console.assert(styled_styles !== undefined, 'styled named import is not consumeable.');1569console.assert(styled_styles__pathImport !== undefined, 'styled path import is not consumeable.');1570console.assert(1571 ReactIs.isValidElementType(StylesProvider_styles),1572 'StylesProvider named import is not consumeable.',1573);1574console.assert(1575 ReactIs.isValidElementType(StylesProvider_styles__pathImport),1576 'StylesProvider path import is not consumeable.',1577);1578console.assert(1579 ReactIs.isValidElementType(ThemeProvider_styles),1580 'ThemeProvider named import is not consumeable.',1581);1582console.assert(1583 ReactIs.isValidElementType(ThemeProvider_styles__pathImport),1584 'ThemeProvider path import is not consumeable.',1585);1586console.assert(useTheme_styles !== undefined, 'useTheme named import is not consumeable.');1587console.assert(1588 useTheme_styles__pathImport !== undefined,1589 'useTheme path import is not consumeable.',1590);1591console.assert(1592 useThemeVariants_styles !== undefined,1593 'useThemeVariants named import is not consumeable.',1594);1595console.assert(1596 useThemeVariants_styles__pathImport !== undefined,1597 'useThemeVariants path import is not consumeable.',1598);1599console.assert(withStyles_styles !== undefined, 'withStyles named import is not consumeable.');1600console.assert(1601 withStyles_styles__pathImport !== undefined,1602 'withStyles path import is not consumeable.',1603);1604console.assert(withTheme_styles !== undefined, 'withTheme named import is not consumeable.');1605console.assert(1606 withTheme_styles__pathImport !== undefined,1607 'withTheme path import is not consumeable.',1608);1609console.assert(borders_system !== undefined, 'borders named import is not consumeable.');1610console.assert(breakpoints_system !== undefined, 'breakpoints named import is not consumeable.');1611console.assert(compose_system !== undefined, 'compose named import is not consumeable.');1612console.assert(display_system !== undefined, 'display named import is not consumeable.');1613console.assert(flexbox_system !== undefined, 'flexbox named import is not consumeable.');1614console.assert(grid_system !== undefined, 'grid named import is not consumeable.');1615console.assert(palette_system !== undefined, 'palette named import is not consumeable.');1616console.assert(positions_system !== undefined, 'positions named import is not consumeable.');1617console.assert(shadows_system !== undefined, 'shadows named import is not consumeable.');1618console.assert(sizing_system !== undefined, 'sizing named import is not consumeable.');1619console.assert(spacing_system !== undefined, 'spacing named import is not consumeable.');1620console.assert(style_system !== undefined, 'style named import is not consumeable.');1621console.assert(typography_system !== undefined, 'typography named import is not consumeable.');1622console.assert(1623 chainPropTypes_utils !== undefined,1624 'chainPropTypes named import is not consumeable.',1625);1626console.assert(deepmerge_utils !== undefined, 'deepmerge named import is not consumeable.');1627console.assert(1628 elementAcceptingRef_utils !== undefined,1629 'elementAcceptingRef named import is not consumeable.',1630);1631console.assert(1632 elementTypeAcceptingRef_utils !== undefined,1633 'elementTypeAcceptingRef named import is not consumeable.',1634);1635console.assert(exactProp_utils !== undefined, 'exactProp named import is not consumeable.');1636console.assert(1637 formatMuiErrorMessage_utils !== undefined,1638 'formatMuiErrorMessage named import is not consumeable.',1639);1640console.assert(1641 getDisplayName_utils !== undefined,1642 'getDisplayName named import is not consumeable.',1643);1644console.assert(1645 ReactIs.isValidElementType(HTMLElementType_utils),1646 'HTMLElementType named import is not consumeable.',1647);1648console.assert(1649 ponyfillGlobal_utils !== undefined,1650 'ponyfillGlobal named import is not consumeable.',1651);1652console.assert(refType_utils !== undefined, 'refType named import is not consumeable.');1653/* eslint-enable no-console */1654// #endregion1655export default function Page() {1656 return null;...

Full Screen

Full Screen

fixtureTemplateValues.js

Source:fixtureTemplateValues.js Github

copy

Full Screen

...373// #endregion374// #region usage375/* eslint-disable no-console */376console.assert(377 ReactIs.isValidElementType(Accordion_core),378 'Accordion named import is not consumeable.',379);380console.assert(381 ReactIs.isValidElementType(Accordion_core__pathImport),382 'Accordion path import is not consumeable.',383);384console.assert(385 ReactIs.isValidElementType(AccordionActions_core),386 'AccordionActions named import is not consumeable.',387);388console.assert(389 ReactIs.isValidElementType(AccordionActions_core__pathImport),390 'AccordionActions path import is not consumeable.',391);392console.assert(393 ReactIs.isValidElementType(AccordionDetails_core),394 'AccordionDetails named import is not consumeable.',395);396console.assert(397 ReactIs.isValidElementType(AccordionDetails_core__pathImport),398 'AccordionDetails path import is not consumeable.',399);400console.assert(401 ReactIs.isValidElementType(AccordionSummary_core),402 'AccordionSummary named import is not consumeable.',403);404console.assert(405 ReactIs.isValidElementType(AccordionSummary_core__pathImport),406 'AccordionSummary path import is not consumeable.',407);408console.assert(ReactIs.isValidElementType(Alert_core), 'Alert named import is not consumeable.');409console.assert(410 ReactIs.isValidElementType(Alert_core__pathImport),411 'Alert path import is not consumeable.',412);413console.assert(414 ReactIs.isValidElementType(AlertTitle_core),415 'AlertTitle named import is not consumeable.',416);417console.assert(418 ReactIs.isValidElementType(AlertTitle_core__pathImport),419 'AlertTitle path import is not consumeable.',420);421console.assert(ReactIs.isValidElementType(AppBar_core), 'AppBar named import is not consumeable.');422console.assert(423 ReactIs.isValidElementType(AppBar_core__pathImport),424 'AppBar path import is not consumeable.',425);426console.assert(427 ReactIs.isValidElementType(Autocomplete_core),428 'Autocomplete named import is not consumeable.',429);430console.assert(431 ReactIs.isValidElementType(Autocomplete_core__pathImport),432 'Autocomplete path import is not consumeable.',433);434console.assert(ReactIs.isValidElementType(Avatar_core), 'Avatar named import is not consumeable.');435console.assert(436 ReactIs.isValidElementType(Avatar_core__pathImport),437 'Avatar path import is not consumeable.',438);439console.assert(440 ReactIs.isValidElementType(Backdrop_core),441 'Backdrop named import is not consumeable.',442);443console.assert(444 ReactIs.isValidElementType(Backdrop_core__pathImport),445 'Backdrop path import is not consumeable.',446);447console.assert(ReactIs.isValidElementType(Badge_core), 'Badge named import is not consumeable.');448console.assert(449 ReactIs.isValidElementType(Badge_core__pathImport),450 'Badge path import is not consumeable.',451);452console.assert(453 ReactIs.isValidElementType(BottomNavigation_core),454 'BottomNavigation named import is not consumeable.',455);456console.assert(457 ReactIs.isValidElementType(BottomNavigation_core__pathImport),458 'BottomNavigation path import is not consumeable.',459);460console.assert(461 ReactIs.isValidElementType(BottomNavigationAction_core),462 'BottomNavigationAction named import is not consumeable.',463);464console.assert(465 ReactIs.isValidElementType(BottomNavigationAction_core__pathImport),466 'BottomNavigationAction path import is not consumeable.',467);468console.assert(ReactIs.isValidElementType(Box_core), 'Box named import is not consumeable.');469console.assert(470 ReactIs.isValidElementType(Box_core__pathImport),471 'Box path import is not consumeable.',472);473console.assert(474 ReactIs.isValidElementType(Breadcrumbs_core),475 'Breadcrumbs named import is not consumeable.',476);477console.assert(478 ReactIs.isValidElementType(Breadcrumbs_core__pathImport),479 'Breadcrumbs path import is not consumeable.',480);481console.assert(ReactIs.isValidElementType(Button_core), 'Button named import is not consumeable.');482console.assert(483 ReactIs.isValidElementType(Button_core__pathImport),484 'Button path import is not consumeable.',485);486console.assert(487 ReactIs.isValidElementType(ButtonBase_core),488 'ButtonBase named import is not consumeable.',489);490console.assert(491 ReactIs.isValidElementType(ButtonBase_core__pathImport),492 'ButtonBase path import is not consumeable.',493);494console.assert(495 ReactIs.isValidElementType(ButtonGroup_core),496 'ButtonGroup named import is not consumeable.',497);498console.assert(499 ReactIs.isValidElementType(ButtonGroup_core__pathImport),500 'ButtonGroup path import is not consumeable.',501);502console.assert(ReactIs.isValidElementType(Card_core), 'Card named import is not consumeable.');503console.assert(504 ReactIs.isValidElementType(Card_core__pathImport),505 'Card path import is not consumeable.',506);507console.assert(508 ReactIs.isValidElementType(CardActionArea_core),509 'CardActionArea named import is not consumeable.',510);511console.assert(512 ReactIs.isValidElementType(CardActionArea_core__pathImport),513 'CardActionArea path import is not consumeable.',514);515console.assert(516 ReactIs.isValidElementType(CardActions_core),517 'CardActions named import is not consumeable.',518);519console.assert(520 ReactIs.isValidElementType(CardActions_core__pathImport),521 'CardActions path import is not consumeable.',522);523console.assert(524 ReactIs.isValidElementType(CardContent_core),525 'CardContent named import is not consumeable.',526);527console.assert(528 ReactIs.isValidElementType(CardContent_core__pathImport),529 'CardContent path import is not consumeable.',530);531console.assert(532 ReactIs.isValidElementType(CardHeader_core),533 'CardHeader named import is not consumeable.',534);535console.assert(536 ReactIs.isValidElementType(CardHeader_core__pathImport),537 'CardHeader path import is not consumeable.',538);539console.assert(540 ReactIs.isValidElementType(CardMedia_core),541 'CardMedia named import is not consumeable.',542);543console.assert(544 ReactIs.isValidElementType(CardMedia_core__pathImport),545 'CardMedia path import is not consumeable.',546);547console.assert(548 ReactIs.isValidElementType(Checkbox_core),549 'Checkbox named import is not consumeable.',550);551console.assert(552 ReactIs.isValidElementType(Checkbox_core__pathImport),553 'Checkbox path import is not consumeable.',554);555console.assert(ReactIs.isValidElementType(Chip_core), 'Chip named import is not consumeable.');556console.assert(557 ReactIs.isValidElementType(Chip_core__pathImport),558 'Chip path import is not consumeable.',559);560console.assert(561 ReactIs.isValidElementType(CircularProgress_core),562 'CircularProgress named import is not consumeable.',563);564console.assert(565 ReactIs.isValidElementType(CircularProgress_core__pathImport),566 'CircularProgress path import is not consumeable.',567);568console.assert(569 ReactIs.isValidElementType(ClickAwayListener_core),570 'ClickAwayListener named import is not consumeable.',571);572console.assert(573 ReactIs.isValidElementType(ClickAwayListener_core__pathImport),574 'ClickAwayListener path import is not consumeable.',575);576console.assert(577 ReactIs.isValidElementType(Collapse_core),578 'Collapse named import is not consumeable.',579);580console.assert(581 ReactIs.isValidElementType(Collapse_core__pathImport),582 'Collapse path import is not consumeable.',583);584console.assert(585 colors_core__pathImport !== null && typeof colors_core__pathImport === 'object',586 'colors path import is not consumeable.',587);588console.assert(589 ReactIs.isValidElementType(Container_core),590 'Container named import is not consumeable.',591);592console.assert(593 ReactIs.isValidElementType(Container_core__pathImport),594 'Container path import is not consumeable.',595);596console.assert(597 ReactIs.isValidElementType(CssBaseline_core),598 'CssBaseline named import is not consumeable.',599);600console.assert(601 ReactIs.isValidElementType(CssBaseline_core__pathImport),602 'CssBaseline path import is not consumeable.',603);604console.assert(ReactIs.isValidElementType(Dialog_core), 'Dialog named import is not consumeable.');605console.assert(606 ReactIs.isValidElementType(Dialog_core__pathImport),607 'Dialog path import is not consumeable.',608);609console.assert(610 ReactIs.isValidElementType(DialogActions_core),611 'DialogActions named import is not consumeable.',612);613console.assert(614 ReactIs.isValidElementType(DialogActions_core__pathImport),615 'DialogActions path import is not consumeable.',616);617console.assert(618 ReactIs.isValidElementType(DialogContent_core),619 'DialogContent named import is not consumeable.',620);621console.assert(622 ReactIs.isValidElementType(DialogContent_core__pathImport),623 'DialogContent path import is not consumeable.',624);625console.assert(626 ReactIs.isValidElementType(DialogContentText_core),627 'DialogContentText named import is not consumeable.',628);629console.assert(630 ReactIs.isValidElementType(DialogContentText_core__pathImport),631 'DialogContentText path import is not consumeable.',632);633console.assert(634 ReactIs.isValidElementType(DialogTitle_core),635 'DialogTitle named import is not consumeable.',636);637console.assert(638 ReactIs.isValidElementType(DialogTitle_core__pathImport),639 'DialogTitle path import is not consumeable.',640);641console.assert(642 ReactIs.isValidElementType(Divider_core),643 'Divider named import is not consumeable.',644);645console.assert(646 ReactIs.isValidElementType(Divider_core__pathImport),647 'Divider path import is not consumeable.',648);649console.assert(ReactIs.isValidElementType(Drawer_core), 'Drawer named import is not consumeable.');650console.assert(651 ReactIs.isValidElementType(Drawer_core__pathImport),652 'Drawer path import is not consumeable.',653);654console.assert(ReactIs.isValidElementType(Fab_core), 'Fab named import is not consumeable.');655console.assert(656 ReactIs.isValidElementType(Fab_core__pathImport),657 'Fab path import is not consumeable.',658);659console.assert(ReactIs.isValidElementType(Fade_core), 'Fade named import is not consumeable.');660console.assert(661 ReactIs.isValidElementType(Fade_core__pathImport),662 'Fade path import is not consumeable.',663);664console.assert(665 ReactIs.isValidElementType(FilledInput_core),666 'FilledInput named import is not consumeable.',667);668console.assert(669 ReactIs.isValidElementType(FilledInput_core__pathImport),670 'FilledInput path import is not consumeable.',671);672console.assert(673 ReactIs.isValidElementType(FormControl_core),674 'FormControl named import is not consumeable.',675);676console.assert(677 ReactIs.isValidElementType(FormControl_core__pathImport),678 'FormControl path import is not consumeable.',679);680console.assert(681 ReactIs.isValidElementType(FormControlLabel_core),682 'FormControlLabel named import is not consumeable.',683);684console.assert(685 ReactIs.isValidElementType(FormControlLabel_core__pathImport),686 'FormControlLabel path import is not consumeable.',687);688console.assert(689 ReactIs.isValidElementType(FormGroup_core),690 'FormGroup named import is not consumeable.',691);692console.assert(693 ReactIs.isValidElementType(FormGroup_core__pathImport),694 'FormGroup path import is not consumeable.',695);696console.assert(697 ReactIs.isValidElementType(FormHelperText_core),698 'FormHelperText named import is not consumeable.',699);700console.assert(701 ReactIs.isValidElementType(FormHelperText_core__pathImport),702 'FormHelperText path import is not consumeable.',703);704console.assert(705 ReactIs.isValidElementType(FormLabel_core),706 'FormLabel named import is not consumeable.',707);708console.assert(709 ReactIs.isValidElementType(FormLabel_core__pathImport),710 'FormLabel path import is not consumeable.',711);712console.assert(ReactIs.isValidElementType(Grid_core), 'Grid named import is not consumeable.');713console.assert(714 ReactIs.isValidElementType(Grid_core__pathImport),715 'Grid path import is not consumeable.',716);717console.assert(ReactIs.isValidElementType(Grow_core), 'Grow named import is not consumeable.');718console.assert(719 ReactIs.isValidElementType(Grow_core__pathImport),720 'Grow path import is not consumeable.',721);722console.assert(ReactIs.isValidElementType(Icon_core), 'Icon named import is not consumeable.');723console.assert(724 ReactIs.isValidElementType(Icon_core__pathImport),725 'Icon path import is not consumeable.',726);727console.assert(728 ReactIs.isValidElementType(IconButton_core),729 'IconButton named import is not consumeable.',730);731console.assert(732 ReactIs.isValidElementType(IconButton_core__pathImport),733 'IconButton path import is not consumeable.',734);735console.assert(736 ReactIs.isValidElementType(ImageList_core),737 'ImageList named import is not consumeable.',738);739console.assert(740 ReactIs.isValidElementType(ImageList_core__pathImport),741 'ImageList path import is not consumeable.',742);743console.assert(744 ReactIs.isValidElementType(ImageListItem_core),745 'ImageListItem named import is not consumeable.',746);747console.assert(748 ReactIs.isValidElementType(ImageListItem_core__pathImport),749 'ImageListItem path import is not consumeable.',750);751console.assert(752 ReactIs.isValidElementType(ImageListItemBar_core),753 'ImageListItemBar named import is not consumeable.',754);755console.assert(756 ReactIs.isValidElementType(ImageListItemBar_core__pathImport),757 'ImageListItemBar path import is not consumeable.',758);759console.assert(ReactIs.isValidElementType(Input_core), 'Input named import is not consumeable.');760console.assert(761 ReactIs.isValidElementType(Input_core__pathImport),762 'Input path import is not consumeable.',763);764console.assert(765 ReactIs.isValidElementType(InputAdornment_core),766 'InputAdornment named import is not consumeable.',767);768console.assert(769 ReactIs.isValidElementType(InputAdornment_core__pathImport),770 'InputAdornment path import is not consumeable.',771);772console.assert(773 ReactIs.isValidElementType(InputBase_core),774 'InputBase named import is not consumeable.',775);776console.assert(777 ReactIs.isValidElementType(InputBase_core__pathImport),778 'InputBase path import is not consumeable.',779);780console.assert(781 ReactIs.isValidElementType(InputLabel_core),782 'InputLabel named import is not consumeable.',783);784console.assert(785 ReactIs.isValidElementType(InputLabel_core__pathImport),786 'InputLabel path import is not consumeable.',787);788console.assert(789 ReactIs.isValidElementType(LinearProgress_core),790 'LinearProgress named import is not consumeable.',791);792console.assert(793 ReactIs.isValidElementType(LinearProgress_core__pathImport),794 'LinearProgress path import is not consumeable.',795);796console.assert(ReactIs.isValidElementType(Link_core), 'Link named import is not consumeable.');797console.assert(798 ReactIs.isValidElementType(Link_core__pathImport),799 'Link path import is not consumeable.',800);801console.assert(ReactIs.isValidElementType(List_core), 'List named import is not consumeable.');802console.assert(803 ReactIs.isValidElementType(List_core__pathImport),804 'List path import is not consumeable.',805);806console.assert(807 ReactIs.isValidElementType(ListItem_core),808 'ListItem named import is not consumeable.',809);810console.assert(811 ReactIs.isValidElementType(ListItem_core__pathImport),812 'ListItem path import is not consumeable.',813);814console.assert(815 ReactIs.isValidElementType(ListItemAvatar_core),816 'ListItemAvatar named import is not consumeable.',817);818console.assert(819 ReactIs.isValidElementType(ListItemAvatar_core__pathImport),820 'ListItemAvatar path import is not consumeable.',821);822console.assert(823 ReactIs.isValidElementType(ListItemIcon_core),824 'ListItemIcon named import is not consumeable.',825);826console.assert(827 ReactIs.isValidElementType(ListItemIcon_core__pathImport),828 'ListItemIcon path import is not consumeable.',829);830console.assert(831 ReactIs.isValidElementType(ListItemSecondaryAction_core),832 'ListItemSecondaryAction named import is not consumeable.',833);834console.assert(835 ReactIs.isValidElementType(ListItemSecondaryAction_core__pathImport),836 'ListItemSecondaryAction path import is not consumeable.',837);838console.assert(839 ReactIs.isValidElementType(ListItemText_core),840 'ListItemText named import is not consumeable.',841);842console.assert(843 ReactIs.isValidElementType(ListItemText_core__pathImport),844 'ListItemText path import is not consumeable.',845);846console.assert(847 ReactIs.isValidElementType(ListSubheader_core),848 'ListSubheader named import is not consumeable.',849);850console.assert(851 ReactIs.isValidElementType(ListSubheader_core__pathImport),852 'ListSubheader path import is not consumeable.',853);854console.assert(ReactIs.isValidElementType(Menu_core), 'Menu named import is not consumeable.');855console.assert(856 ReactIs.isValidElementType(Menu_core__pathImport),857 'Menu path import is not consumeable.',858);859console.assert(860 ReactIs.isValidElementType(MenuItem_core),861 'MenuItem named import is not consumeable.',862);863console.assert(864 ReactIs.isValidElementType(MenuItem_core__pathImport),865 'MenuItem path import is not consumeable.',866);867console.assert(868 ReactIs.isValidElementType(MenuList_core),869 'MenuList named import is not consumeable.',870);871console.assert(872 ReactIs.isValidElementType(MenuList_core__pathImport),873 'MenuList path import is not consumeable.',874);875console.assert(876 ReactIs.isValidElementType(MobileStepper_core),877 'MobileStepper named import is not consumeable.',878);879console.assert(880 ReactIs.isValidElementType(MobileStepper_core__pathImport),881 'MobileStepper path import is not consumeable.',882);883console.assert(ReactIs.isValidElementType(Modal_core), 'Modal named import is not consumeable.');884console.assert(885 ReactIs.isValidElementType(Modal_core__pathImport),886 'Modal path import is not consumeable.',887);888console.assert(889 ReactIs.isValidElementType(NativeSelect_core),890 'NativeSelect named import is not consumeable.',891);892console.assert(893 ReactIs.isValidElementType(NativeSelect_core__pathImport),894 'NativeSelect path import is not consumeable.',895);896console.assert(ReactIs.isValidElementType(NoSsr_core), 'NoSsr named import is not consumeable.');897console.assert(898 ReactIs.isValidElementType(NoSsr_core__pathImport),899 'NoSsr path import is not consumeable.',900);901console.assert(902 ReactIs.isValidElementType(OutlinedInput_core),903 'OutlinedInput named import is not consumeable.',904);905console.assert(906 ReactIs.isValidElementType(OutlinedInput_core__pathImport),907 'OutlinedInput path import is not consumeable.',908);909console.assert(910 ReactIs.isValidElementType(Pagination_core),911 'Pagination named import is not consumeable.',912);913console.assert(914 ReactIs.isValidElementType(Pagination_core__pathImport),915 'Pagination path import is not consumeable.',916);917console.assert(918 ReactIs.isValidElementType(PaginationItem_core),919 'PaginationItem named import is not consumeable.',920);921console.assert(922 ReactIs.isValidElementType(PaginationItem_core__pathImport),923 'PaginationItem path import is not consumeable.',924);925console.assert(ReactIs.isValidElementType(Paper_core), 'Paper named import is not consumeable.');926console.assert(927 ReactIs.isValidElementType(Paper_core__pathImport),928 'Paper path import is not consumeable.',929);930console.assert(931 ReactIs.isValidElementType(Popover_core),932 'Popover named import is not consumeable.',933);934console.assert(935 ReactIs.isValidElementType(Popover_core__pathImport),936 'Popover path import is not consumeable.',937);938console.assert(ReactIs.isValidElementType(Popper_core), 'Popper named import is not consumeable.');939console.assert(940 ReactIs.isValidElementType(Popper_core__pathImport),941 'Popper path import is not consumeable.',942);943console.assert(ReactIs.isValidElementType(Portal_core), 'Portal named import is not consumeable.');944console.assert(945 ReactIs.isValidElementType(Portal_core__pathImport),946 'Portal path import is not consumeable.',947);948console.assert(ReactIs.isValidElementType(Radio_core), 'Radio named import is not consumeable.');949console.assert(950 ReactIs.isValidElementType(Radio_core__pathImport),951 'Radio path import is not consumeable.',952);953console.assert(954 ReactIs.isValidElementType(RadioGroup_core),955 'RadioGroup named import is not consumeable.',956);957console.assert(958 ReactIs.isValidElementType(RadioGroup_core__pathImport),959 'RadioGroup path import is not consumeable.',960);961console.assert(ReactIs.isValidElementType(Rating_core), 'Rating named import is not consumeable.');962console.assert(963 ReactIs.isValidElementType(Rating_core__pathImport),964 'Rating path import is not consumeable.',965);966console.assert(967 ReactIs.isValidElementType(ScopedCssBaseline_core),968 'ScopedCssBaseline named import is not consumeable.',969);970console.assert(971 ReactIs.isValidElementType(ScopedCssBaseline_core__pathImport),972 'ScopedCssBaseline path import is not consumeable.',973);974console.assert(ReactIs.isValidElementType(Select_core), 'Select named import is not consumeable.');975console.assert(976 ReactIs.isValidElementType(Select_core__pathImport),977 'Select path import is not consumeable.',978);979console.assert(980 ReactIs.isValidElementType(Skeleton_core),981 'Skeleton named import is not consumeable.',982);983console.assert(984 ReactIs.isValidElementType(Skeleton_core__pathImport),985 'Skeleton path import is not consumeable.',986);987console.assert(ReactIs.isValidElementType(Slide_core), 'Slide named import is not consumeable.');988console.assert(989 ReactIs.isValidElementType(Slide_core__pathImport),990 'Slide path import is not consumeable.',991);992console.assert(ReactIs.isValidElementType(Slider_core), 'Slider named import is not consumeable.');993console.assert(994 ReactIs.isValidElementType(Slider_core__pathImport),995 'Slider path import is not consumeable.',996);997console.assert(998 ReactIs.isValidElementType(Snackbar_core),999 'Snackbar named import is not consumeable.',1000);1001console.assert(1002 ReactIs.isValidElementType(Snackbar_core__pathImport),1003 'Snackbar path import is not consumeable.',1004);1005console.assert(1006 ReactIs.isValidElementType(SnackbarContent_core),1007 'SnackbarContent named import is not consumeable.',1008);1009console.assert(1010 ReactIs.isValidElementType(SnackbarContent_core__pathImport),1011 'SnackbarContent path import is not consumeable.',1012);1013console.assert(1014 ReactIs.isValidElementType(SpeedDial_core),1015 'SpeedDial named import is not consumeable.',1016);1017console.assert(1018 ReactIs.isValidElementType(SpeedDial_core__pathImport),1019 'SpeedDial path import is not consumeable.',1020);1021console.assert(1022 ReactIs.isValidElementType(SpeedDialAction_core),1023 'SpeedDialAction named import is not consumeable.',1024);1025console.assert(1026 ReactIs.isValidElementType(SpeedDialAction_core__pathImport),1027 'SpeedDialAction path import is not consumeable.',1028);1029console.assert(1030 ReactIs.isValidElementType(SpeedDialIcon_core),1031 'SpeedDialIcon named import is not consumeable.',1032);1033console.assert(1034 ReactIs.isValidElementType(SpeedDialIcon_core__pathImport),1035 'SpeedDialIcon path import is not consumeable.',1036);1037console.assert(ReactIs.isValidElementType(Step_core), 'Step named import is not consumeable.');1038console.assert(1039 ReactIs.isValidElementType(Step_core__pathImport),1040 'Step path import is not consumeable.',1041);1042console.assert(1043 ReactIs.isValidElementType(StepButton_core),1044 'StepButton named import is not consumeable.',1045);1046console.assert(1047 ReactIs.isValidElementType(StepButton_core__pathImport),1048 'StepButton path import is not consumeable.',1049);1050console.assert(1051 ReactIs.isValidElementType(StepConnector_core),1052 'StepConnector named import is not consumeable.',1053);1054console.assert(1055 ReactIs.isValidElementType(StepConnector_core__pathImport),1056 'StepConnector path import is not consumeable.',1057);1058console.assert(1059 ReactIs.isValidElementType(StepContent_core),1060 'StepContent named import is not consumeable.',1061);1062console.assert(1063 ReactIs.isValidElementType(StepContent_core__pathImport),1064 'StepContent path import is not consumeable.',1065);1066console.assert(1067 ReactIs.isValidElementType(StepIcon_core),1068 'StepIcon named import is not consumeable.',1069);1070console.assert(1071 ReactIs.isValidElementType(StepIcon_core__pathImport),1072 'StepIcon path import is not consumeable.',1073);1074console.assert(1075 ReactIs.isValidElementType(StepLabel_core),1076 'StepLabel named import is not consumeable.',1077);1078console.assert(1079 ReactIs.isValidElementType(StepLabel_core__pathImport),1080 'StepLabel path import is not consumeable.',1081);1082console.assert(1083 ReactIs.isValidElementType(Stepper_core),1084 'Stepper named import is not consumeable.',1085);1086console.assert(1087 ReactIs.isValidElementType(Stepper_core__pathImport),1088 'Stepper path import is not consumeable.',1089);1090console.assert(1091 styles_core__pathImport !== null && typeof styles_core__pathImport === 'object',1092 'styles path import is not consumeable.',1093);1094console.assert(1095 ReactIs.isValidElementType(SvgIcon_core),1096 'SvgIcon named import is not consumeable.',1097);1098console.assert(1099 ReactIs.isValidElementType(SvgIcon_core__pathImport),1100 'SvgIcon path import is not consumeable.',1101);1102console.assert(1103 ReactIs.isValidElementType(SwipeableDrawer_core),1104 'SwipeableDrawer named import is not consumeable.',1105);1106console.assert(1107 ReactIs.isValidElementType(SwipeableDrawer_core__pathImport),1108 'SwipeableDrawer path import is not consumeable.',1109);1110console.assert(ReactIs.isValidElementType(Switch_core), 'Switch named import is not consumeable.');1111console.assert(1112 ReactIs.isValidElementType(Switch_core__pathImport),1113 'Switch path import is not consumeable.',1114);1115console.assert(ReactIs.isValidElementType(Tab_core), 'Tab named import is not consumeable.');1116console.assert(1117 ReactIs.isValidElementType(Tab_core__pathImport),1118 'Tab path import is not consumeable.',1119);1120console.assert(ReactIs.isValidElementType(Table_core), 'Table named import is not consumeable.');1121console.assert(1122 ReactIs.isValidElementType(Table_core__pathImport),1123 'Table path import is not consumeable.',1124);1125console.assert(1126 ReactIs.isValidElementType(TableBody_core),1127 'TableBody named import is not consumeable.',1128);1129console.assert(1130 ReactIs.isValidElementType(TableBody_core__pathImport),1131 'TableBody path import is not consumeable.',1132);1133console.assert(1134 ReactIs.isValidElementType(TableCell_core),1135 'TableCell named import is not consumeable.',1136);1137console.assert(1138 ReactIs.isValidElementType(TableCell_core__pathImport),1139 'TableCell path import is not consumeable.',1140);1141console.assert(1142 ReactIs.isValidElementType(TableContainer_core),1143 'TableContainer named import is not consumeable.',1144);1145console.assert(1146 ReactIs.isValidElementType(TableContainer_core__pathImport),1147 'TableContainer path import is not consumeable.',1148);1149console.assert(1150 ReactIs.isValidElementType(TableFooter_core),1151 'TableFooter named import is not consumeable.',1152);1153console.assert(1154 ReactIs.isValidElementType(TableFooter_core__pathImport),1155 'TableFooter path import is not consumeable.',1156);1157console.assert(1158 ReactIs.isValidElementType(TableHead_core),1159 'TableHead named import is not consumeable.',1160);1161console.assert(1162 ReactIs.isValidElementType(TableHead_core__pathImport),1163 'TableHead path import is not consumeable.',1164);1165console.assert(1166 ReactIs.isValidElementType(TablePagination_core),1167 'TablePagination named import is not consumeable.',1168);1169console.assert(1170 ReactIs.isValidElementType(TablePagination_core__pathImport),1171 'TablePagination path import is not consumeable.',1172);1173console.assert(1174 ReactIs.isValidElementType(TableRow_core),1175 'TableRow named import is not consumeable.',1176);1177console.assert(1178 ReactIs.isValidElementType(TableRow_core__pathImport),1179 'TableRow path import is not consumeable.',1180);1181console.assert(1182 ReactIs.isValidElementType(TableSortLabel_core),1183 'TableSortLabel named import is not consumeable.',1184);1185console.assert(1186 ReactIs.isValidElementType(TableSortLabel_core__pathImport),1187 'TableSortLabel path import is not consumeable.',1188);1189console.assert(ReactIs.isValidElementType(Tabs_core), 'Tabs named import is not consumeable.');1190console.assert(1191 ReactIs.isValidElementType(Tabs_core__pathImport),1192 'Tabs path import is not consumeable.',1193);1194console.assert(1195 ReactIs.isValidElementType(TabScrollButton_core),1196 'TabScrollButton named import is not consumeable.',1197);1198console.assert(1199 ReactIs.isValidElementType(TabScrollButton_core__pathImport),1200 'TabScrollButton path import is not consumeable.',1201);1202console.assert(1203 ReactIs.isValidElementType(TextareaAutosize_core),1204 'TextareaAutosize named import is not consumeable.',1205);1206console.assert(1207 ReactIs.isValidElementType(TextareaAutosize_core__pathImport),1208 'TextareaAutosize path import is not consumeable.',1209);1210console.assert(1211 ReactIs.isValidElementType(TextField_core),1212 'TextField named import is not consumeable.',1213);1214console.assert(1215 ReactIs.isValidElementType(TextField_core__pathImport),1216 'TextField path import is not consumeable.',1217);1218console.assert(1219 ReactIs.isValidElementType(ToggleButton_core),1220 'ToggleButton named import is not consumeable.',1221);1222console.assert(1223 ReactIs.isValidElementType(ToggleButton_core__pathImport),1224 'ToggleButton path import is not consumeable.',1225);1226console.assert(1227 ReactIs.isValidElementType(ToggleButtonGroup_core),1228 'ToggleButtonGroup named import is not consumeable.',1229);1230console.assert(1231 ReactIs.isValidElementType(ToggleButtonGroup_core__pathImport),1232 'ToggleButtonGroup path import is not consumeable.',1233);1234console.assert(1235 ReactIs.isValidElementType(Toolbar_core),1236 'Toolbar named import is not consumeable.',1237);1238console.assert(1239 ReactIs.isValidElementType(Toolbar_core__pathImport),1240 'Toolbar path import is not consumeable.',1241);1242console.assert(1243 ReactIs.isValidElementType(Tooltip_core),1244 'Tooltip named import is not consumeable.',1245);1246console.assert(1247 ReactIs.isValidElementType(Tooltip_core__pathImport),1248 'Tooltip path import is not consumeable.',1249);1250console.assert(1251 ReactIs.isValidElementType(Typography_core),1252 'Typography named import is not consumeable.',1253);1254console.assert(1255 ReactIs.isValidElementType(Typography_core__pathImport),1256 'Typography path import is not consumeable.',1257);1258console.assert(1259 ReactIs.isValidElementType(Unstable_TrapFocus_core),1260 'Unstable_TrapFocus named import is not consumeable.',1261);1262console.assert(1263 ReactIs.isValidElementType(Unstable_TrapFocus_core__pathImport),1264 'Unstable_TrapFocus path import is not consumeable.',1265);1266console.assert(1267 useAutocomplete_core !== undefined,1268 'useAutocomplete named import is not consumeable.',1269);1270console.assert(1271 useAutocomplete_core__pathImport !== undefined,1272 'useAutocomplete path import is not consumeable.',1273);1274console.assert(useMediaQuery_core !== undefined, 'useMediaQuery named import is not consumeable.');1275console.assert(1276 useMediaQuery_core__pathImport !== undefined,1277 'useMediaQuery path import is not consumeable.',1278);1279console.assert(usePagination_core !== undefined, 'usePagination named import is not consumeable.');1280console.assert(1281 usePagination_core__pathImport !== undefined,1282 'usePagination path import is not consumeable.',1283);1284console.assert(1285 useScrollTrigger_core !== undefined,1286 'useScrollTrigger named import is not consumeable.',1287);1288console.assert(1289 useScrollTrigger_core__pathImport !== undefined,1290 'useScrollTrigger path import is not consumeable.',1291);1292console.assert(1293 utils_core__pathImport !== null && typeof utils_core__pathImport === 'object',1294 'utils path import is not consumeable.',1295);1296console.assert(ReactIs.isValidElementType(Zoom_core), 'Zoom named import is not consumeable.');1297console.assert(1298 ReactIs.isValidElementType(Zoom_core__pathImport),1299 'Zoom path import is not consumeable.',1300);1301console.assert(1302 ReactIs.isValidElementType(Accessibility_icons),1303 'Accessibility named import is not consumeable.',1304);1305console.assert(1306 ReactIs.isValidElementType(Accessibility_icons__pathImport),1307 'Accessibility path import is not consumeable.',1308);1309console.assert(ReactIs.isValidElementType(Alert_lab), 'Alert named import is not consumeable.');1310console.assert(1311 ReactIs.isValidElementType(Alert_lab__pathImport),1312 'Alert path import is not consumeable.',1313);1314console.assert(1315 ReactIs.isValidElementType(AlertTitle_lab),1316 'AlertTitle named import is not consumeable.',1317);1318console.assert(1319 ReactIs.isValidElementType(AlertTitle_lab__pathImport),1320 'AlertTitle path import is not consumeable.',1321);1322console.assert(1323 ReactIs.isValidElementType(Autocomplete_lab),1324 'Autocomplete named import is not consumeable.',1325);1326console.assert(1327 ReactIs.isValidElementType(Autocomplete_lab__pathImport),1328 'Autocomplete path import is not consumeable.',1329);1330console.assert(1331 ReactIs.isValidElementType(AvatarGroup_lab),1332 'AvatarGroup named import is not consumeable.',1333);1334console.assert(1335 ReactIs.isValidElementType(AvatarGroup_lab__pathImport),1336 'AvatarGroup path import is not consumeable.',1337);1338console.assert(1339 ReactIs.isValidElementType(LoadingButton_lab),1340 'LoadingButton named import is not consumeable.',1341);1342console.assert(1343 ReactIs.isValidElementType(LoadingButton_lab__pathImport),1344 'LoadingButton path import is not consumeable.',1345);1346console.assert(1347 ReactIs.isValidElementType(Pagination_lab),1348 'Pagination named import is not consumeable.',1349);1350console.assert(1351 ReactIs.isValidElementType(Pagination_lab__pathImport),1352 'Pagination path import is not consumeable.',1353);1354console.assert(1355 ReactIs.isValidElementType(PaginationItem_lab),1356 'PaginationItem named import is not consumeable.',1357);1358console.assert(1359 ReactIs.isValidElementType(PaginationItem_lab__pathImport),1360 'PaginationItem path import is not consumeable.',1361);1362console.assert(ReactIs.isValidElementType(Rating_lab), 'Rating named import is not consumeable.');1363console.assert(1364 ReactIs.isValidElementType(Rating_lab__pathImport),1365 'Rating path import is not consumeable.',1366);1367console.assert(1368 ReactIs.isValidElementType(Skeleton_lab),1369 'Skeleton named import is not consumeable.',1370);1371console.assert(1372 ReactIs.isValidElementType(Skeleton_lab__pathImport),1373 'Skeleton path import is not consumeable.',1374);1375console.assert(1376 ReactIs.isValidElementType(SpeedDial_lab),1377 'SpeedDial named import is not consumeable.',1378);1379console.assert(1380 ReactIs.isValidElementType(SpeedDial_lab__pathImport),1381 'SpeedDial path import is not consumeable.',1382);1383console.assert(1384 ReactIs.isValidElementType(SpeedDialAction_lab),1385 'SpeedDialAction named import is not consumeable.',1386);1387console.assert(1388 ReactIs.isValidElementType(SpeedDialAction_lab__pathImport),1389 'SpeedDialAction path import is not consumeable.',1390);1391console.assert(1392 ReactIs.isValidElementType(SpeedDialIcon_lab),1393 'SpeedDialIcon named import is not consumeable.',1394);1395console.assert(1396 ReactIs.isValidElementType(SpeedDialIcon_lab__pathImport),1397 'SpeedDialIcon path import is not consumeable.',1398);1399console.assert(1400 ReactIs.isValidElementType(TabContext_lab),1401 'TabContext named import is not consumeable.',1402);1403console.assert(1404 ReactIs.isValidElementType(TabContext_lab__pathImport),1405 'TabContext path import is not consumeable.',1406);1407console.assert(ReactIs.isValidElementType(TabList_lab), 'TabList named import is not consumeable.');1408console.assert(1409 ReactIs.isValidElementType(TabList_lab__pathImport),1410 'TabList path import is not consumeable.',1411);1412console.assert(1413 ReactIs.isValidElementType(TabPanel_lab),1414 'TabPanel named import is not consumeable.',1415);1416console.assert(1417 ReactIs.isValidElementType(TabPanel_lab__pathImport),1418 'TabPanel path import is not consumeable.',1419);1420console.assert(1421 ReactIs.isValidElementType(Timeline_lab),1422 'Timeline named import is not consumeable.',1423);1424console.assert(1425 ReactIs.isValidElementType(Timeline_lab__pathImport),1426 'Timeline path import is not consumeable.',1427);1428console.assert(1429 ReactIs.isValidElementType(TimelineConnector_lab),1430 'TimelineConnector named import is not consumeable.',1431);1432console.assert(1433 ReactIs.isValidElementType(TimelineConnector_lab__pathImport),1434 'TimelineConnector path import is not consumeable.',1435);1436console.assert(1437 ReactIs.isValidElementType(TimelineContent_lab),1438 'TimelineContent named import is not consumeable.',1439);1440console.assert(1441 ReactIs.isValidElementType(TimelineContent_lab__pathImport),1442 'TimelineContent path import is not consumeable.',1443);1444console.assert(1445 ReactIs.isValidElementType(TimelineDot_lab),1446 'TimelineDot named import is not consumeable.',1447);1448console.assert(1449 ReactIs.isValidElementType(TimelineDot_lab__pathImport),1450 'TimelineDot path import is not consumeable.',1451);1452console.assert(1453 ReactIs.isValidElementType(TimelineItem_lab),1454 'TimelineItem named import is not consumeable.',1455);1456console.assert(1457 ReactIs.isValidElementType(TimelineItem_lab__pathImport),1458 'TimelineItem path import is not consumeable.',1459);1460console.assert(1461 ReactIs.isValidElementType(TimelineOppositeContent_lab),1462 'TimelineOppositeContent named import is not consumeable.',1463);1464console.assert(1465 ReactIs.isValidElementType(TimelineOppositeContent_lab__pathImport),1466 'TimelineOppositeContent path import is not consumeable.',1467);1468console.assert(1469 ReactIs.isValidElementType(TimelineSeparator_lab),1470 'TimelineSeparator named import is not consumeable.',1471);1472console.assert(1473 ReactIs.isValidElementType(TimelineSeparator_lab__pathImport),1474 'TimelineSeparator path import is not consumeable.',1475);1476console.assert(1477 ReactIs.isValidElementType(ToggleButton_lab),1478 'ToggleButton named import is not consumeable.',1479);1480console.assert(1481 ReactIs.isValidElementType(ToggleButton_lab__pathImport),1482 'ToggleButton path import is not consumeable.',1483);1484console.assert(1485 ReactIs.isValidElementType(ToggleButtonGroup_lab),1486 'ToggleButtonGroup named import is not consumeable.',1487);1488console.assert(1489 ReactIs.isValidElementType(ToggleButtonGroup_lab__pathImport),1490 'ToggleButtonGroup path import is not consumeable.',1491);1492console.assert(1493 ReactIs.isValidElementType(TreeItem_lab),1494 'TreeItem named import is not consumeable.',1495);1496console.assert(1497 ReactIs.isValidElementType(TreeItem_lab__pathImport),1498 'TreeItem path import is not consumeable.',1499);1500console.assert(1501 ReactIs.isValidElementType(TreeView_lab),1502 'TreeView named import is not consumeable.',1503);1504console.assert(1505 ReactIs.isValidElementType(TreeView_lab__pathImport),1506 'TreeView path import is not consumeable.',1507);1508console.assert(1509 useAutocomplete_lab !== undefined,1510 'useAutocomplete named import is not consumeable.',1511);1512console.assert(1513 useAutocomplete_lab__pathImport !== undefined,1514 'useAutocomplete path import is not consumeable.',1515);1516console.assert(1517 createGenerateClassName_styles !== undefined,1518 'createGenerateClassName named import is not consumeable.',1519);1520console.assert(1521 createGenerateClassName_styles__pathImport !== undefined,1522 'createGenerateClassName path import is not consumeable.',1523);1524console.assert(createStyles_styles !== undefined, 'createStyles named import is not consumeable.');1525console.assert(1526 createStyles_styles__pathImport !== undefined,1527 'createStyles path import is not consumeable.',1528);1529console.assert(1530 getThemeProps_styles !== undefined,1531 'getThemeProps named import is not consumeable.',1532);1533console.assert(1534 getThemeProps_styles__pathImport !== undefined,1535 'getThemeProps path import is not consumeable.',1536);1537console.assert(jssPreset_styles !== undefined, 'jssPreset named import is not consumeable.');1538console.assert(1539 jssPreset_styles__pathImport !== undefined,1540 'jssPreset path import is not consumeable.',1541);1542console.assert(makeStyles_styles !== undefined, 'makeStyles named import is not consumeable.');1543console.assert(1544 makeStyles_styles__pathImport !== undefined,1545 'makeStyles path import is not consumeable.',1546);1547console.assert(mergeClasses_styles !== undefined, 'mergeClasses named import is not consumeable.');1548console.assert(1549 mergeClasses_styles__pathImport !== undefined,1550 'mergeClasses path import is not consumeable.',1551);1552console.assert(1553 propsToClassKey_styles !== undefined,1554 'propsToClassKey named import is not consumeable.',1555);1556console.assert(1557 propsToClassKey_styles__pathImport !== undefined,1558 'propsToClassKey path import is not consumeable.',1559);1560console.assert(1561 ReactIs.isValidElementType(ServerStyleSheets_styles),1562 'ServerStyleSheets named import is not consumeable.',1563);1564console.assert(1565 ReactIs.isValidElementType(ServerStyleSheets_styles__pathImport),1566 'ServerStyleSheets path import is not consumeable.',1567);1568console.assert(styled_styles !== undefined, 'styled named import is not consumeable.');1569console.assert(styled_styles__pathImport !== undefined, 'styled path import is not consumeable.');1570console.assert(1571 ReactIs.isValidElementType(StylesProvider_styles),1572 'StylesProvider named import is not consumeable.',1573);1574console.assert(1575 ReactIs.isValidElementType(StylesProvider_styles__pathImport),1576 'StylesProvider path import is not consumeable.',1577);1578console.assert(1579 ReactIs.isValidElementType(ThemeProvider_styles),1580 'ThemeProvider named import is not consumeable.',1581);1582console.assert(1583 ReactIs.isValidElementType(ThemeProvider_styles__pathImport),1584 'ThemeProvider path import is not consumeable.',1585);1586console.assert(useTheme_styles !== undefined, 'useTheme named import is not consumeable.');1587console.assert(1588 useTheme_styles__pathImport !== undefined,1589 'useTheme path import is not consumeable.',1590);1591console.assert(1592 useThemeVariants_styles !== undefined,1593 'useThemeVariants named import is not consumeable.',1594);1595console.assert(1596 useThemeVariants_styles__pathImport !== undefined,1597 'useThemeVariants path import is not consumeable.',1598);1599console.assert(withStyles_styles !== undefined, 'withStyles named import is not consumeable.');1600console.assert(1601 withStyles_styles__pathImport !== undefined,1602 'withStyles path import is not consumeable.',1603);1604console.assert(withTheme_styles !== undefined, 'withTheme named import is not consumeable.');1605console.assert(1606 withTheme_styles__pathImport !== undefined,1607 'withTheme path import is not consumeable.',1608);1609console.assert(borders_system !== undefined, 'borders named import is not consumeable.');1610console.assert(breakpoints_system !== undefined, 'breakpoints named import is not consumeable.');1611console.assert(compose_system !== undefined, 'compose named import is not consumeable.');1612console.assert(display_system !== undefined, 'display named import is not consumeable.');1613console.assert(flexbox_system !== undefined, 'flexbox named import is not consumeable.');1614console.assert(grid_system !== undefined, 'grid named import is not consumeable.');1615console.assert(palette_system !== undefined, 'palette named import is not consumeable.');1616console.assert(positions_system !== undefined, 'positions named import is not consumeable.');1617console.assert(shadows_system !== undefined, 'shadows named import is not consumeable.');1618console.assert(sizing_system !== undefined, 'sizing named import is not consumeable.');1619console.assert(spacing_system !== undefined, 'spacing named import is not consumeable.');1620console.assert(style_system !== undefined, 'style named import is not consumeable.');1621console.assert(typography_system !== undefined, 'typography named import is not consumeable.');1622console.assert(1623 chainPropTypes_utils !== undefined,1624 'chainPropTypes named import is not consumeable.',1625);1626console.assert(deepmerge_utils !== undefined, 'deepmerge named import is not consumeable.');1627console.assert(1628 elementAcceptingRef_utils !== undefined,1629 'elementAcceptingRef named import is not consumeable.',1630);1631console.assert(1632 elementTypeAcceptingRef_utils !== undefined,1633 'elementTypeAcceptingRef named import is not consumeable.',1634);1635console.assert(exactProp_utils !== undefined, 'exactProp named import is not consumeable.');1636console.assert(1637 formatMuiErrorMessage_utils !== undefined,1638 'formatMuiErrorMessage named import is not consumeable.',1639);1640console.assert(1641 getDisplayName_utils !== undefined,1642 'getDisplayName named import is not consumeable.',1643);1644console.assert(1645 ReactIs.isValidElementType(HTMLElementType_utils),1646 'HTMLElementType named import is not consumeable.',1647);1648console.assert(1649 ponyfillGlobal_utils !== undefined,1650 'ponyfillGlobal named import is not consumeable.',1651);1652console.assert(refType_utils !== undefined, 'refType named import is not consumeable.');1653/* eslint-enable no-console */...

Full Screen

Full Screen

ReactIs-test.js

Source:ReactIs-test.js Github

copy

Full Screen

...48 );49 const LazyComponent = React.lazy(() => Component);50 const MemoComponent = React.memo(Component);51 const Context = React.createContext(false);52 expect(ReactIs.isValidElementType('div')).toEqual(true);53 expect(ReactIs.isValidElementType(Component)).toEqual(true);54 expect(ReactIs.isValidElementType(PureComponent)).toEqual(true);55 expect(ReactIs.isValidElementType(FunctionComponent)).toEqual(true);56 expect(ReactIs.isValidElementType(ForwardRefComponent)).toEqual(true);57 expect(ReactIs.isValidElementType(LazyComponent)).toEqual(true);58 expect(ReactIs.isValidElementType(MemoComponent)).toEqual(true);59 expect(ReactIs.isValidElementType(Context.Provider)).toEqual(true);60 expect(ReactIs.isValidElementType(Context.Consumer)).toEqual(true);61 if (!__EXPERIMENTAL__) {62 let factory;63 expect(() => {64 factory = React.createFactory('div');65 }).toWarnDev(66 'Warning: React.createFactory() is deprecated and will be removed in a ' +67 'future major release. Consider using JSX or use React.createElement() ' +68 'directly instead.',69 {withoutStack: true},70 );71 expect(ReactIs.isValidElementType(factory)).toEqual(true);72 }73 expect(ReactIs.isValidElementType(React.Fragment)).toEqual(true);74 expect(ReactIs.isValidElementType(React.StrictMode)).toEqual(true);75 expect(ReactIs.isValidElementType(React.Suspense)).toEqual(true);76 expect(ReactIs.isValidElementType(true)).toEqual(false);77 expect(ReactIs.isValidElementType(123)).toEqual(false);78 expect(ReactIs.isValidElementType({})).toEqual(false);79 expect(ReactIs.isValidElementType(null)).toEqual(false);80 expect(ReactIs.isValidElementType(undefined)).toEqual(false);81 expect(ReactIs.isValidElementType({type: 'div', props: {}})).toEqual(false);82 });83 it('should identify context consumers', () => {84 const Context = React.createContext(false);85 expect(ReactIs.isValidElementType(Context.Consumer)).toBe(true);86 expect(ReactIs.typeOf(<Context.Consumer />)).toBe(ReactIs.ContextConsumer);87 expect(ReactIs.isContextConsumer(<Context.Consumer />)).toBe(true);88 expect(ReactIs.isContextConsumer(<Context.Provider />)).toBe(false);89 expect(ReactIs.isContextConsumer(<div />)).toBe(false);90 });91 it('should identify context providers', () => {92 const Context = React.createContext(false);93 expect(ReactIs.isValidElementType(Context.Provider)).toBe(true);94 expect(ReactIs.typeOf(<Context.Provider />)).toBe(ReactIs.ContextProvider);95 expect(ReactIs.isContextProvider(<Context.Provider />)).toBe(true);96 expect(ReactIs.isContextProvider(<Context.Consumer />)).toBe(false);97 expect(ReactIs.isContextProvider(<div />)).toBe(false);98 });99 it('should identify elements', () => {100 expect(ReactIs.typeOf(<div />)).toBe(ReactIs.Element);101 expect(ReactIs.isElement(<div />)).toBe(true);102 expect(ReactIs.isElement('div')).toBe(false);103 expect(ReactIs.isElement(true)).toBe(false);104 expect(ReactIs.isElement(123)).toBe(false);105 expect(ReactIs.isElement(null)).toBe(false);106 expect(ReactIs.isElement(undefined)).toBe(false);107 expect(ReactIs.isElement({})).toBe(false);108 // It should also identify more specific types as elements109 const Context = React.createContext(false);110 expect(ReactIs.isElement(<Context.Provider />)).toBe(true);111 expect(ReactIs.isElement(<Context.Consumer />)).toBe(true);112 expect(ReactIs.isElement(<React.Fragment />)).toBe(true);113 expect(ReactIs.isElement(<React.StrictMode />)).toBe(true);114 expect(ReactIs.isElement(<React.Suspense />)).toBe(true);115 });116 it('should identify ref forwarding component', () => {117 const RefForwardingComponent = React.forwardRef((props, ref) => null);118 expect(ReactIs.isValidElementType(RefForwardingComponent)).toBe(true);119 expect(ReactIs.typeOf(<RefForwardingComponent />)).toBe(ReactIs.ForwardRef);120 expect(ReactIs.isForwardRef(<RefForwardingComponent />)).toBe(true);121 expect(ReactIs.isForwardRef({type: ReactIs.StrictMode})).toBe(false);122 expect(ReactIs.isForwardRef(<div />)).toBe(false);123 });124 it('should identify fragments', () => {125 expect(ReactIs.isValidElementType(React.Fragment)).toBe(true);126 expect(ReactIs.typeOf(<React.Fragment />)).toBe(ReactIs.Fragment);127 expect(ReactIs.isFragment(<React.Fragment />)).toBe(true);128 expect(ReactIs.isFragment({type: ReactIs.Fragment})).toBe(false);129 expect(ReactIs.isFragment('React.Fragment')).toBe(false);130 expect(ReactIs.isFragment(<div />)).toBe(false);131 expect(ReactIs.isFragment([])).toBe(false);132 });133 it('should identify portals', () => {134 const div = document.createElement('div');135 const portal = ReactDOM.createPortal(<div />, div);136 expect(ReactIs.isValidElementType(portal)).toBe(false);137 expect(ReactIs.typeOf(portal)).toBe(ReactIs.Portal);138 expect(ReactIs.isPortal(portal)).toBe(true);139 expect(ReactIs.isPortal(div)).toBe(false);140 });141 it('should identify memo', () => {142 const Component = () => React.createElement('div');143 const Memoized = React.memo(Component);144 expect(ReactIs.isValidElementType(Memoized)).toBe(true);145 expect(ReactIs.typeOf(<Memoized />)).toBe(ReactIs.Memo);146 expect(ReactIs.isMemo(<Memoized />)).toBe(true);147 expect(ReactIs.isMemo(<Component />)).toBe(false);148 });149 it('should identify lazy', () => {150 const Component = () => React.createElement('div');151 const LazyComponent = React.lazy(() => Component);152 expect(ReactIs.isValidElementType(LazyComponent)).toBe(true);153 expect(ReactIs.typeOf(<LazyComponent />)).toBe(ReactIs.Lazy);154 expect(ReactIs.isLazy(<LazyComponent />)).toBe(true);155 expect(ReactIs.isLazy(<Component />)).toBe(false);156 });157 it('should identify strict mode', () => {158 expect(ReactIs.isValidElementType(React.StrictMode)).toBe(true);159 expect(ReactIs.typeOf(<React.StrictMode />)).toBe(ReactIs.StrictMode);160 expect(ReactIs.isStrictMode(<React.StrictMode />)).toBe(true);161 expect(ReactIs.isStrictMode({type: ReactIs.StrictMode})).toBe(false);162 expect(ReactIs.isStrictMode(<div />)).toBe(false);163 });164 it('should identify suspense', () => {165 expect(ReactIs.isValidElementType(React.Suspense)).toBe(true);166 expect(ReactIs.typeOf(<React.Suspense />)).toBe(ReactIs.Suspense);167 expect(ReactIs.isSuspense(<React.Suspense />)).toBe(true);168 expect(ReactIs.isSuspense({type: ReactIs.Suspense})).toBe(false);169 expect(ReactIs.isSuspense('React.Suspense')).toBe(false);170 expect(ReactIs.isSuspense(<div />)).toBe(false);171 });172 // @gate enableSuspenseList173 it('should identify suspense list', () => {174 expect(ReactIs.isValidElementType(SuspenseList)).toBe(true);175 expect(ReactIs.typeOf(<SuspenseList />)).toBe(ReactIs.SuspenseList);176 expect(ReactIs.isSuspenseList(<SuspenseList />)).toBe(true);177 expect(ReactIs.isSuspenseList({type: ReactIs.SuspenseList})).toBe(false);178 expect(ReactIs.isSuspenseList('React.SuspenseList')).toBe(false);179 expect(ReactIs.isSuspenseList(<div />)).toBe(false);180 });181 it('should identify profile root', () => {182 expect(ReactIs.isValidElementType(React.Profiler)).toBe(true);183 expect(184 ReactIs.typeOf(<React.Profiler id="foo" onRender={jest.fn()} />),185 ).toBe(ReactIs.Profiler);186 expect(187 ReactIs.isProfiler(<React.Profiler id="foo" onRender={jest.fn()} />),188 ).toBe(true);189 expect(ReactIs.isProfiler({type: ReactIs.Profiler})).toBe(false);190 expect(ReactIs.isProfiler(<div />)).toBe(false);191 });...

Full Screen

Full Screen

Using AI Code Generation

copy

Full Screen

1const { isValidElementType } = require('playwright/lib/server/dom.js');2const { chromium } = require('playwright');3(async () => {4 const browser = await chromium.launch();5 const page = await browser.newPage();6 await page.click('text=Sign in');7 await page.click('input[type="email"]');8 await page.fill('input[type="email"]', '

Full Screen

Using AI Code Generation

copy

Full Screen

1const { isValidElementType } = require('playwright/lib/client/selectorEngine');2const { chromium } = require('playwright');3(async () => {4 const browser = await chromium.launch();5 const context = await browser.newContext();6 const page = await context.newPage();7 await page.click('text=Get started');8 await page.click('text=Create a test');9 await page.click('text=Run your test');10 await page.click('text=Debugging');11 await page.click('text=API');12 await page.click('text=Examples');13 await page.click('text=Docs');14 await page.click('text=Community');15 await page.click('text=Blog');16 await page.click('text=Support');17 await page.click('text=Playwright');18 await page.click('text=Get started');19 await page.click('text=Create a test');20 await page.click('text=Run your test');21 await page.click('text=Debugging');22 await page.click('text=API');23 await page.click('text=Examples');24 await page.click('text=Docs');25 await page.click('text=Community');26 await page.click('text=Blog');27 await page.click('text=Support');28 await page.click('text=Playwright');29 await page.click('text=Get started');30 await page.click('text=Create a test');31 await page.click('text=Run your test');32 await page.click('text=Debugging');33 await page.click('text=API');34 await page.click('text=Examples');35 await page.click('text=Docs');36 await page.click('text=Community');37 await page.click('text=Blog');38 await page.click('text=Support');39 await page.click('text=Playwright');40 await page.click('text=Get started');41 await page.click('text=Create a test');42 await page.click('text=Run your test');43 await page.click('text=Debugging');44 await page.click('text=API');45 await page.click('text=Examples');46 await page.click('text=Docs');47 await page.click('text=Community');48 await page.click('text=Blog');49 await page.click('text=Support');

Full Screen

Using AI Code Generation

copy

Full Screen

1const { isValidElementType } = require('react-is');2console.log(isValidElementType('div'));3const { isValidElementType } = require('react-is');4console.log(isValidElementType('div'));5const { isValidElementType } = require('react-is');6console.log(isValidElementType('div'));7const { isValidElementType } = require('react-is');8console.log(isValidElementType('div'));9const { isValidElementType } = require('react-is');10console.log(isValidElementType('div'));11const { isValidElementType } = require('react-is');12console.log(isValidElementType('div'));13const { isValidElementType } = require('react-is');14console.log(isValidElementType('div'));15const { isValidElementType } = require('react-is');16console.log(isValidElementType('div'));17const { isValidElementType } = require('react-is');18console.log(isValidElementType('div'));19const { isValidElementType } = require('react-is');20console.log(isValidElementType('div'));21const { isValidElementType } = require('react-is');22console.log(isValidElementType('div'));23const { isValidElementType } = require('react-is');24console.log(isValidElementType('div'));25const { isValidElementType } = require('react-is');26console.log(isValidElementType('div'));27const { isValidElementType } = require('react-is');28console.log(isValidElementType('div'));

Full Screen

Using AI Code Generation

copy

Full Screen

1const { isValidElementType } = require('playwright/lib/server/dom');2const isValid = isValidElementType('button');3console.log(isValid);4const { isValidElementType } = require('playwright/lib/server/dom');5const isValid = isValidElementType('div');6console.log(isValid);7const { isValidElementType } = require('playwright/lib/server/dom');8const isValid = isValidElementType('form');9console.log(isValid);10const { isValidElementType } = require('playwright/lib/server/dom');11const isValid = isValidElementType('span');12console.log(isValid);13const { isValidElementType } = require('playwright/lib/server/dom');14const isValid = isValidElementType('input');15console.log(isValid);16const { isValidElementType } = require('playwright/lib/server/dom');17const isValid = isValidElementType('select');18console.log(isValid);19const { isValidElementType } = require('playwright/lib/server/dom');20const isValid = isValidElementType('option');21console.log(isValid);22const { isValidElementType } = require('playwright/lib/server/dom');23const isValid = isValidElementType('textarea');24console.log(isValid);25const { isValidElementType } = require('playwright/lib/server/dom');26const isValid = isValidElementType('label');27console.log(isValid);28const { isValidElementType } = require('playwright/lib/server/dom');29const isValid = isValidElementType('a');30console.log(isValid);31const { isValidElementType } = require('playwright/lib/server/dom');32const isValid = isValidElementType('ul');33console.log(isValid);34const { isValidElementType } = require('playwright/lib/server/dom');35const isValid = isValidElementType('li');36console.log(isValid);37const { isValidElementType } = require('playwright/lib/server/dom');

Full Screen

Using AI Code Generation

copy

Full Screen

1const { isValidElementType } = require('@playwright/test/lib/utils');2console.log(isValidElementType('page'));3const { test } = require('@playwright/test');4test('test', async ({ page }) => {5});6const { test } = require('@playwright/test');7test('test', async ({ page }) => {8});9const { test } = require('@playwright/test');10test('test', async ({ page }) => {11});12const { test } = require('@playwright/test');13test('test', async ({ page }) => {14});15const { test } = require('@playwright/test');16test('test', async ({ page }) => {17});18const { test } = require('@playwright/test');19test('test', async ({ page }) => {20});21const { test } = require('@playwright/test');22test('test', async ({ page }) => {23});24const { test } = require('@playwright/test');25test('test', async ({ page }) => {26});27const { test } = require('@playwright/test');28test('test', async ({ page }) => {29});30const { test } = require('@playwright/test');31test('test', async ({ page }) => {32});33const { test } = require('@playwright/test');34test('test', async ({ page }) => {35});36const { test } = require('@playwright/test');37test('test', async ({ page }) => {

Full Screen

Using AI Code Generation

copy

Full Screen

1const { isValidElementType } = require('react-is');2console.log(isValidElementType('div'));3const { isValidElementType } = require('react-is');4console.log(isValidElementType('div'));5const { isValidElementType } = require('react-is');6console.log(isValidElementType('div'));7const { isValidElementType } = require('react-is');8console.log(isValidElementType('div'));9const { isValidElementType } = require('react-is');10console.log(isValidElementType('div'));11const { isValidElementType } = require('react-is');12console.log(isValidElementType('div'));13const { isValidElementType } = require('react-is');14console.log(isValidElementType('div'));15const { isValidElementType } = require('react-is');16console.log(isValidElementType('div'));17const { isValidElementType } = require('react-is');18console.log(isValidElementType('div'));19const { isValidElementType } = require('react-is');20console.log(isValidElementType('div'));21const { isValidElementType } = require('react-is');22console.log(isValidElementType('div'));23cont { isValidElmentType } = equire('react-is');24console.log(isValidElementType('di'));25const { isValidElementType } = require('react-is');26console.log(isValidElementType('div'));27const { isVlidEleentType } = require('react-is');28consol.log(iValidElementType('div)

Full Screen

Using AI Code Generation

copy

Full Screen

1dom.js');2const { chromium } = require('playwright-chromium');3const browser = await chromium.launch();4const page = await browser.newPage();5const elementHandle = await page.$('div');6const isValid = isValidElementType(await elementHandle.asElement());7await browser.close();8const { isVlidEleentType } = require('playwright/lib/srver/dom.j9const browser = await chromium.launch();10const page = await browser.newPage();11const elementHandle = await page.$('div');12const isValidt= o use isValentTypi(await elementHandle.asElement());13await browser.close();14const { isValidElementType } = require('playwright/lib/client/selectorEngine');15const { chromium } = require('playwright');16(async () => {17 const browser = await chromium.launch();18 const context = await browser.newContext();19 const page = await context.newPage();20 await page.click('text=Get started');21 await page.click('text=Create a test');22 await page.click('text=Run your test');23 await page.click('text=Debugging');24 await page.click('text=API');25 await page.click('text=Examples');26 await page.click('text=Docs');27 await page.click('text=Community');28 await page.click('text=Blog');29 await page.click('text=Support');30 await page.click('text=Playwright');31 await page.click('text=Get started');32 await page.click('text=Create a test');33 await page.click('text=Run your test');34 await page.click('text=Debugging');35 await page.click('text=API');36 await page.click('text=Examples');37 await page.click('text=Docs');38 await page.click('text=Community');39 await page.click('text=Blog');40 await page.click('text=Support');41 await page.click('text=Playwright');42 await page.click('text=Get started');43 await page.click('text=Create a test');44 await page.click('text=Run your test');45 await page.click('text=Debugging');46 await page.click('text=API');47 await page.click('text=Examples');48 await page.click('text=Docs');49 await page.click('text=Community');50 await page.click('text=Blog');51 await page.click('text=Support');52 await page.click('text=Playwright');53 await page.click('text=Get started');54 await page.click('text=Create a test');55 await page.click('text=Run your test');56 await page.click('text=Debugging');57 await page.click('text=API');58 await page.click('text=Examples');59 await page.click('text=Docs');60 await page.click('text=Community');61 await page.click('text=Blog');62 await page.click('text=Support');

Full Screen

Using AI Code Generation

copy

Full Screen

1const { isValidElementType } = require('playwright');2const { isValidElementType } = require('playwright/lib/client/selectorEngine');3const { isValidElementType } = require('playwright/lib/server/selectorEngine');4const { isValidElementType } = require('playwright/lib/server/frames');5const { isValidElementType } = require('playwright/lib/server/frames');6const { isValidEleme

Full Screen

Using AI Code Generation

copy

Full Screen

1const { isValidElementType } = require('playwright/lib/server/dom.js');2const { chromium } = require('playwright-chromium');3const browser = await chromium.launch();4const page = await browser.newPage();5const elementHandle = await page.$('div');6const isValid = isValidElementType(await elementHandle.asElement());7await browser.close();8const { isValidElementType } = require('playwright/lib/server/dom.js');9const { chromium } = require('playwright-chromium');10const browser = await chromium.launch();11const page = await browser.newPage();12const elementHandle = await page.$('div');13const isValid = isValidElementType(await elementHandle.asElement());14await browser.close();

Full Screen

Using AI Code Generation

copy

Full Screen

1const { isValidElementType } = require('playwright/lib/server/dom.js');2const { test } = require('@playwright/test');3test('test', async ({ page }) => {4 const element = await page.$('button');5 const result = isValidElementType(element);6 console.log(result);7});

Full Screen

Playwright tutorial

LambdaTest’s Playwright tutorial will give you a broader idea about the Playwright automation framework, its unique features, and use cases with examples to exceed your understanding of Playwright testing. This tutorial will give A to Z guidance, from installing the Playwright framework to some best practices and advanced concepts.

Chapters:

  1. What is Playwright : Playwright is comparatively new but has gained good popularity. Get to know some history of the Playwright with some interesting facts connected with it.
  2. How To Install Playwright : Learn in detail about what basic configuration and dependencies are required for installing Playwright and run a test. Get a step-by-step direction for installing the Playwright automation framework.
  3. Playwright Futuristic Features: Launched in 2020, Playwright gained huge popularity quickly because of some obliging features such as Playwright Test Generator and Inspector, Playwright Reporter, Playwright auto-waiting mechanism and etc. Read up on those features to master Playwright testing.
  4. What is Component Testing: Component testing in Playwright is a unique feature that allows a tester to test a single component of a web application without integrating them with other elements. Learn how to perform Component testing on the Playwright automation framework.
  5. Inputs And Buttons In Playwright: Every website has Input boxes and buttons; learn about testing inputs and buttons with different scenarios and examples.
  6. Functions and Selectors in Playwright: Learn how to launch the Chromium browser with Playwright. Also, gain a better understanding of some important functions like “BrowserContext,” which allows you to run multiple browser sessions, and “newPage” which interacts with a page.
  7. Handling Alerts and Dropdowns in Playwright : Playwright interact with different types of alerts and pop-ups, such as simple, confirmation, and prompt, and different types of dropdowns, such as single selector and multi-selector get your hands-on with handling alerts and dropdown in Playright testing.
  8. Playwright vs Puppeteer: Get to know about the difference between two testing frameworks and how they are different than one another, which browsers they support, and what features they provide.
  9. Run Playwright Tests on LambdaTest: Playwright testing with LambdaTest leverages test performance to the utmost. You can run multiple Playwright tests in Parallel with the LammbdaTest test cloud. Get a step-by-step guide to run your Playwright test on the LambdaTest platform.
  10. Playwright Python Tutorial: Playwright automation framework support all major languages such as Python, JavaScript, TypeScript, .NET and etc. However, there are various advantages to Python end-to-end testing with Playwright because of its versatile utility. Get the hang of Playwright python testing with this chapter.
  11. Playwright End To End Testing Tutorial: Get your hands on with Playwright end-to-end testing and learn to use some exciting features such as TraceViewer, Debugging, Networking, Component testing, Visual testing, and many more.
  12. Playwright Video Tutorial: Watch the video tutorials on Playwright testing from experts and get a consecutive in-depth explanation of Playwright automation testing.

Run Playwright Internal automation tests on LambdaTest cloud grid

Perform automation testing on 3000+ real desktop and mobile devices online.

Try LambdaTest Now !!

Get 100 minutes of automation test minutes FREE!!

Next-Gen App & Browser Testing Cloud

Was this article helpful?

Helpful

NotHelpful