diff --git a/.mocharc.js b/.mocharc.js index fba82a5388be09..d57adb8886a831 100644 --- a/.mocharc.js +++ b/.mocharc.js @@ -10,7 +10,7 @@ module.exports = { recursive: true, timeout: (process.env.CIRCLECI === 'true' ? 5 : 2) * 1000, // Circle CI has low-performance CPUs. reporter: 'dot', - require: ['@mui-internal/test-utilities/setupBabel', '@mui-internal/test-utilities/setupJSDOM'], + require: ['@mui-internal/test-utils/setupBabel', '@mui-internal/test-utils/setupJSDOM'], 'watch-ignore': [ // default '.git', diff --git a/docs/package.json b/docs/package.json index b6bb0faae78098..d66f4cd6173510 100644 --- a/docs/package.json +++ b/docs/package.json @@ -118,7 +118,7 @@ "@babel/plugin-transform-react-constant-elements": "^7.22.5", "@babel/preset-typescript": "^7.22.15", "@mui-internal/docs-utilities": "^1.0.0", - "@mui-internal/test-utilities": "^1.0.0", + "@mui-internal/test-utils": "^1.0.0", "@types/autosuggest-highlight": "^3.2.0", "@types/chai": "^4.3.5", "@types/css-mediaquery": "^0.1.2", diff --git a/docs/src/modules/components/HighlightedCode.test.js b/docs/src/modules/components/HighlightedCode.test.js index f369d9d726a307..8129c9ee38def0 100644 --- a/docs/src/modules/components/HighlightedCode.test.js +++ b/docs/src/modules/components/HighlightedCode.test.js @@ -1,6 +1,6 @@ import * as React from 'react'; import { expect } from 'chai'; -import { createRenderer } from '@mui-internal/test-utilities'; +import { createRenderer } from '@mui-internal/test-utils'; import { ThemeProvider, createTheme } from '@mui/material/styles'; import { getDesignTokens } from 'docs/src/modules/brandingTheme'; import HighlightedCode from 'docs/src/modules/components/HighlightedCode'; diff --git a/packages/eslint-plugin-material-ui/src/rules/disallow-active-elements-as-key-event-target.test.js b/packages/eslint-plugin-material-ui/src/rules/disallow-active-elements-as-key-event-target.test.js index d76ae53c57b0bd..785736f28d1aad 100644 --- a/packages/eslint-plugin-material-ui/src/rules/disallow-active-elements-as-key-event-target.test.js +++ b/packages/eslint-plugin-material-ui/src/rules/disallow-active-elements-as-key-event-target.test.js @@ -7,13 +7,13 @@ const ruleTester = new eslint.RuleTester({ }); ruleTester.run('disallow-active-element-as-key-event-target', rule, { valid: [ - "import { fireEvent } from '@mui-internal/test-utilities';\nfireEvent.keyDown(getByRole('button'), { key: ' ' })", - "import { fireEvent } from '@mui-internal/test-utilities';\nfireEvent.keyDown(document.body, { key: 'Esc' })", - "import { fireEvent } from '@mui-internal/test-utilities';\nfireEvent.keyUp(document.body, { key: 'Tab' })", + "import { fireEvent } from '@mui-internal/test-utils';\nfireEvent.keyDown(getByRole('button'), { key: ' ' })", + "import { fireEvent } from '@mui-internal/test-utils';\nfireEvent.keyDown(document.body, { key: 'Esc' })", + "import { fireEvent } from '@mui-internal/test-utils';\nfireEvent.keyUp(document.body, { key: 'Tab' })", ], invalid: [ { - code: "import { fireEvent } from '@mui-internal/test-utilities';\nfireEvent.keyUp(document.activeElement, { key: 'LeftArrow' })", + code: "import { fireEvent } from '@mui-internal/test-utils';\nfireEvent.keyUp(document.activeElement, { key: 'LeftArrow' })", errors: [ { message: @@ -23,7 +23,7 @@ ruleTester.run('disallow-active-element-as-key-event-target', rule, { ], }, { - code: "import { fireEvent } from '@mui-internal/test-utilities';\nfireEvent.keyDown(document.activeElement, { key: 'DownArrow' })", + code: "import { fireEvent } from '@mui-internal/test-utils';\nfireEvent.keyDown(document.activeElement, { key: 'DownArrow' })", errors: [ { message: @@ -54,7 +54,7 @@ ruleTester.run('disallow-active-element-as-key-event-target', rule, { }, { // test non-null assertion operator - code: "import { fireEvent } from '@mui-internal/test-utilities';\nfireEvent.keyUp(document.activeElement!, { key: 'LeftArrow' })", + code: "import { fireEvent } from '@mui-internal/test-utils';\nfireEvent.keyUp(document.activeElement!, { key: 'LeftArrow' })", errors: [ { message: diff --git a/packages/mui-base/package.json b/packages/mui-base/package.json index d16fe54fb366ca..210418628f9eae 100644 --- a/packages/mui-base/package.json +++ b/packages/mui-base/package.json @@ -51,7 +51,7 @@ }, "devDependencies": { "@mui/material": "^5.14.10", - "@mui-internal/test-utilities": "^1.0.0", + "@mui-internal/test-utils": "^1.0.0", "@testing-library/react": "^14.0.0", "@testing-library/user-event": "^14.4.3", "@types/chai": "^4.3.5", diff --git a/packages/mui-base/src/Badge/Badge.test.tsx b/packages/mui-base/src/Badge/Badge.test.tsx index 1bd6a9cdb10051..06a2ab6eeba209 100644 --- a/packages/mui-base/src/Badge/Badge.test.tsx +++ b/packages/mui-base/src/Badge/Badge.test.tsx @@ -1,9 +1,5 @@ import * as React from 'react'; -import { - createRenderer, - createMount, - describeConformanceUnstyled, -} from '@mui-internal/test-utilities'; +import { createRenderer, createMount, describeConformanceUnstyled } from '@mui-internal/test-utils'; import { Badge, badgeClasses as classes } from '@mui/base/Badge'; describe('', () => { diff --git a/packages/mui-base/src/Button/Button.test.tsx b/packages/mui-base/src/Button/Button.test.tsx index 6e813eaa57cd3b..cfd65c73aae6e9 100644 --- a/packages/mui-base/src/Button/Button.test.tsx +++ b/packages/mui-base/src/Button/Button.test.tsx @@ -5,7 +5,7 @@ import { createRenderer, describeConformanceUnstyled, fireEvent, -} from '@mui-internal/test-utilities'; +} from '@mui-internal/test-utils'; import { expect } from 'chai'; import { spy } from 'sinon'; import { Button, buttonClasses } from '@mui/base/Button'; diff --git a/packages/mui-base/src/ClickAwayListener/ClickAwayListener.test.js b/packages/mui-base/src/ClickAwayListener/ClickAwayListener.test.js index 956cf47977a265..a0032961f41db8 100644 --- a/packages/mui-base/src/ClickAwayListener/ClickAwayListener.test.js +++ b/packages/mui-base/src/ClickAwayListener/ClickAwayListener.test.js @@ -8,7 +8,7 @@ import { fireEvent, fireDiscreteEvent, screen, -} from '@mui-internal/test-utilities'; +} from '@mui-internal/test-utils'; import { Portal } from '@mui/base/Portal'; import { ClickAwayListener } from '@mui/base/ClickAwayListener'; diff --git a/packages/mui-base/src/Dropdown/Dropdown.test.tsx b/packages/mui-base/src/Dropdown/Dropdown.test.tsx index c3451c027a8cb7..7ce8d6d1f50102 100644 --- a/packages/mui-base/src/Dropdown/Dropdown.test.tsx +++ b/packages/mui-base/src/Dropdown/Dropdown.test.tsx @@ -1,6 +1,6 @@ import * as React from 'react'; import { expect } from 'chai'; -import { act, createRenderer } from '@mui-internal/test-utilities'; +import { act, createRenderer } from '@mui-internal/test-utils'; import { Dropdown } from '@mui/base/Dropdown'; import { DropdownContext } from '@mui/base/useDropdown'; import { MenuButton } from '@mui/base/MenuButton'; diff --git a/packages/mui-base/src/FocusTrap/FocusTrap.test.tsx b/packages/mui-base/src/FocusTrap/FocusTrap.test.tsx index 5b8facdd2c2803..b7ef8a3e020440 100644 --- a/packages/mui-base/src/FocusTrap/FocusTrap.test.tsx +++ b/packages/mui-base/src/FocusTrap/FocusTrap.test.tsx @@ -1,7 +1,7 @@ import * as React from 'react'; import * as ReactDOM from 'react-dom'; import { expect } from 'chai'; -import { act, createRenderer, screen } from '@mui-internal/test-utilities'; +import { act, createRenderer, screen } from '@mui-internal/test-utils'; import { FocusTrap } from '@mui/base/FocusTrap'; import { Portal } from '@mui/base/Portal'; diff --git a/packages/mui-base/src/FormControl/FormControl.test.tsx b/packages/mui-base/src/FormControl/FormControl.test.tsx index 501ba0ff6c68c5..77e28098291c80 100644 --- a/packages/mui-base/src/FormControl/FormControl.test.tsx +++ b/packages/mui-base/src/FormControl/FormControl.test.tsx @@ -6,7 +6,7 @@ import { createRenderer, describeConformanceUnstyled, fireEvent, -} from '@mui-internal/test-utilities'; +} from '@mui-internal/test-utils'; import { FormControl, formControlClasses, useFormControlContext } from '@mui/base/FormControl'; describe('', () => { diff --git a/packages/mui-base/src/Input/Input.test.tsx b/packages/mui-base/src/Input/Input.test.tsx index 5a444b51bab8f2..d287be11ac25cd 100644 --- a/packages/mui-base/src/Input/Input.test.tsx +++ b/packages/mui-base/src/Input/Input.test.tsx @@ -5,7 +5,7 @@ import { describeConformanceUnstyled, fireEvent, screen, -} from '@mui-internal/test-utilities'; +} from '@mui-internal/test-utils'; import { expect } from 'chai'; import { spy } from 'sinon'; import { Input, inputClasses } from '@mui/base/Input'; diff --git a/packages/mui-base/src/Menu/Menu.test.tsx b/packages/mui-base/src/Menu/Menu.test.tsx index c1784585f294b8..25f520d1569a2a 100644 --- a/packages/mui-base/src/Menu/Menu.test.tsx +++ b/packages/mui-base/src/Menu/Menu.test.tsx @@ -7,7 +7,7 @@ import { describeConformanceUnstyled, fireEvent, act, -} from '@mui-internal/test-utilities'; +} from '@mui-internal/test-utils'; import { Menu, menuClasses } from '@mui/base/Menu'; import { MenuItem } from '@mui/base/MenuItem'; import { DropdownContext, DropdownContextValue } from '@mui/base/useDropdown'; diff --git a/packages/mui-base/src/MenuButton/MenuButton.test.tsx b/packages/mui-base/src/MenuButton/MenuButton.test.tsx index d5781cb7da0576..44e359d2087448 100644 --- a/packages/mui-base/src/MenuButton/MenuButton.test.tsx +++ b/packages/mui-base/src/MenuButton/MenuButton.test.tsx @@ -7,7 +7,7 @@ import { createRenderer, describeConformanceUnstyled, fireEvent, -} from '@mui-internal/test-utilities'; +} from '@mui-internal/test-utils'; import { MenuButton, menuButtonClasses } from '@mui/base/MenuButton'; import { DropdownContext, DropdownContextValue, DropdownActionTypes } from '@mui/base/useDropdown'; diff --git a/packages/mui-base/src/MenuItem/MenuItem.test.tsx b/packages/mui-base/src/MenuItem/MenuItem.test.tsx index d5875b7683f444..de5ca5bf01cec8 100644 --- a/packages/mui-base/src/MenuItem/MenuItem.test.tsx +++ b/packages/mui-base/src/MenuItem/MenuItem.test.tsx @@ -1,9 +1,5 @@ import * as React from 'react'; -import { - createMount, - createRenderer, - describeConformanceUnstyled, -} from '@mui-internal/test-utilities'; +import { createMount, createRenderer, describeConformanceUnstyled } from '@mui-internal/test-utils'; import { MenuItem, menuItemClasses } from '@mui/base/MenuItem'; import { MenuProvider } from '@mui/base/useMenu'; diff --git a/packages/mui-base/src/Modal/Modal.test.tsx b/packages/mui-base/src/Modal/Modal.test.tsx index e2d5add0301a12..701fca622fd470 100644 --- a/packages/mui-base/src/Modal/Modal.test.tsx +++ b/packages/mui-base/src/Modal/Modal.test.tsx @@ -1,10 +1,6 @@ import * as React from 'react'; import { expect } from 'chai'; -import { - createMount, - createRenderer, - describeConformanceUnstyled, -} from '@mui-internal/test-utilities'; +import { createMount, createRenderer, describeConformanceUnstyled } from '@mui-internal/test-utils'; import { Modal, modalClasses as classes, ModalRootSlotProps } from '@mui/base/Modal'; describe('', () => { diff --git a/packages/mui-base/src/NoSsr/NoSsr.test.tsx b/packages/mui-base/src/NoSsr/NoSsr.test.tsx index 7490f0f5ed0cc8..16a1a6e3cdf9f1 100644 --- a/packages/mui-base/src/NoSsr/NoSsr.test.tsx +++ b/packages/mui-base/src/NoSsr/NoSsr.test.tsx @@ -1,6 +1,6 @@ import * as React from 'react'; import { expect } from 'chai'; -import { createRenderer } from '@mui-internal/test-utilities'; +import { createRenderer } from '@mui-internal/test-utils'; import { NoSsr } from '@mui/base/NoSsr'; describe('', () => { diff --git a/packages/mui-base/src/Option/Option.test.tsx b/packages/mui-base/src/Option/Option.test.tsx index 50b1563ee66e97..d34b4b7040ef9f 100644 --- a/packages/mui-base/src/Option/Option.test.tsx +++ b/packages/mui-base/src/Option/Option.test.tsx @@ -1,9 +1,5 @@ import * as React from 'react'; -import { - createMount, - createRenderer, - describeConformanceUnstyled, -} from '@mui-internal/test-utilities'; +import { createMount, createRenderer, describeConformanceUnstyled } from '@mui-internal/test-utils'; import { Option, optionClasses } from '@mui/base/Option'; import { SelectProvider } from '../useSelect/SelectProvider'; diff --git a/packages/mui-base/src/OptionGroup/OptionGroup.test.tsx b/packages/mui-base/src/OptionGroup/OptionGroup.test.tsx index 1d6f66e1d13981..6e8e5f20ee190c 100644 --- a/packages/mui-base/src/OptionGroup/OptionGroup.test.tsx +++ b/packages/mui-base/src/OptionGroup/OptionGroup.test.tsx @@ -1,9 +1,5 @@ import * as React from 'react'; -import { - createMount, - createRenderer, - describeConformanceUnstyled, -} from '@mui-internal/test-utilities'; +import { createMount, createRenderer, describeConformanceUnstyled } from '@mui-internal/test-utils'; import { OptionGroup, optionGroupClasses } from '@mui/base/OptionGroup'; describe('', () => { diff --git a/packages/mui-base/src/Popper/Popper.test.tsx b/packages/mui-base/src/Popper/Popper.test.tsx index afda4bdfdb7f80..404c4bbc822131 100644 --- a/packages/mui-base/src/Popper/Popper.test.tsx +++ b/packages/mui-base/src/Popper/Popper.test.tsx @@ -5,7 +5,7 @@ import { createMount, describeConformanceUnstyled, screen, -} from '@mui-internal/test-utilities'; +} from '@mui-internal/test-utils'; import { Popper, popperClasses } from '@mui/base/Popper'; describe('', () => { diff --git a/packages/mui-base/src/Portal/Portal.test.tsx b/packages/mui-base/src/Portal/Portal.test.tsx index 9a5b441ed95ce0..2d0091ac5539fb 100644 --- a/packages/mui-base/src/Portal/Portal.test.tsx +++ b/packages/mui-base/src/Portal/Portal.test.tsx @@ -1,7 +1,7 @@ import * as React from 'react'; import { expect } from 'chai'; import { spy } from 'sinon'; -import { createRenderer } from '@mui-internal/test-utilities'; +import { createRenderer } from '@mui-internal/test-utils'; import { Portal, PortalProps } from '@mui/base/Portal'; describe('', () => { diff --git a/packages/mui-base/src/Select/Select.test.tsx b/packages/mui-base/src/Select/Select.test.tsx index 1d264b0f36808d..145bfe0ae4e002 100644 --- a/packages/mui-base/src/Select/Select.test.tsx +++ b/packages/mui-base/src/Select/Select.test.tsx @@ -9,7 +9,7 @@ import { userEvent, act, screen, -} from '@mui-internal/test-utilities'; +} from '@mui-internal/test-utils'; import { Select, SelectListboxSlotProps, selectClasses } from '@mui/base/Select'; import { useOption, SelectOption } from '@mui/base/useOption'; import { Option, OptionProps, optionClasses } from '@mui/base/Option'; diff --git a/packages/mui-base/src/Slider/Slider.test.tsx b/packages/mui-base/src/Slider/Slider.test.tsx index 0b54b908e1f243..8905a763709add 100644 --- a/packages/mui-base/src/Slider/Slider.test.tsx +++ b/packages/mui-base/src/Slider/Slider.test.tsx @@ -8,7 +8,7 @@ import { describeConformanceUnstyled, fireEvent, screen, -} from '@mui-internal/test-utilities'; +} from '@mui-internal/test-utils'; import { Slider, sliderClasses as classes, diff --git a/packages/mui-base/src/Snackbar/Snackbar.test.tsx b/packages/mui-base/src/Snackbar/Snackbar.test.tsx index 3fe1c3ac73f9dc..0f4fe6824ffbf2 100644 --- a/packages/mui-base/src/Snackbar/Snackbar.test.tsx +++ b/packages/mui-base/src/Snackbar/Snackbar.test.tsx @@ -7,7 +7,7 @@ import { createMount, describeConformanceUnstyled, fireEvent, -} from '@mui-internal/test-utilities'; +} from '@mui-internal/test-utils'; import { Snackbar, snackbarClasses as classes } from '@mui/base/Snackbar'; describe('', () => { diff --git a/packages/mui-base/src/Switch/Switch.test.tsx b/packages/mui-base/src/Switch/Switch.test.tsx index c93adf758436c8..6861f25b3b779d 100644 --- a/packages/mui-base/src/Switch/Switch.test.tsx +++ b/packages/mui-base/src/Switch/Switch.test.tsx @@ -1,9 +1,5 @@ import * as React from 'react'; -import { - createMount, - createRenderer, - describeConformanceUnstyled, -} from '@mui-internal/test-utilities'; +import { createMount, createRenderer, describeConformanceUnstyled } from '@mui-internal/test-utils'; import { expect } from 'chai'; import { Switch, SwitchOwnerState, switchClasses } from '@mui/base/Switch'; diff --git a/packages/mui-base/src/Tab/Tab.test.tsx b/packages/mui-base/src/Tab/Tab.test.tsx index 1cdcb4469257d1..9f03a094bb4c24 100644 --- a/packages/mui-base/src/Tab/Tab.test.tsx +++ b/packages/mui-base/src/Tab/Tab.test.tsx @@ -1,9 +1,5 @@ import * as React from 'react'; -import { - createMount, - createRenderer, - describeConformanceUnstyled, -} from '@mui-internal/test-utilities'; +import { createMount, createRenderer, describeConformanceUnstyled } from '@mui-internal/test-utils'; import { Tab, tabClasses } from '@mui/base/Tab'; import { TabsListProvider, TabsListProviderValue } from '../useTabsList'; import { TabsContext } from '../Tabs'; diff --git a/packages/mui-base/src/TabPanel/TabPanel.test.tsx b/packages/mui-base/src/TabPanel/TabPanel.test.tsx index fc0d17fac8ce8c..5be5722b97017d 100644 --- a/packages/mui-base/src/TabPanel/TabPanel.test.tsx +++ b/packages/mui-base/src/TabPanel/TabPanel.test.tsx @@ -1,9 +1,5 @@ import * as React from 'react'; -import { - createMount, - createRenderer, - describeConformanceUnstyled, -} from '@mui-internal/test-utilities'; +import { createMount, createRenderer, describeConformanceUnstyled } from '@mui-internal/test-utils'; import { TabPanel, tabPanelClasses } from '@mui/base/TabPanel'; import { TabsProvider, TabsProviderValue } from '../useTabs'; diff --git a/packages/mui-base/src/TablePagination/TablePagination.test.tsx b/packages/mui-base/src/TablePagination/TablePagination.test.tsx index 5e37b01af0e036..813898a236b710 100644 --- a/packages/mui-base/src/TablePagination/TablePagination.test.tsx +++ b/packages/mui-base/src/TablePagination/TablePagination.test.tsx @@ -7,7 +7,7 @@ import { fireEvent, createRenderer, createMount, -} from '@mui-internal/test-utilities'; +} from '@mui-internal/test-utils'; import TableFooter from '@mui/material/TableFooter'; import TableRow from '@mui/material/TableRow'; import { diff --git a/packages/mui-base/src/Tabs/Tabs.test.tsx b/packages/mui-base/src/Tabs/Tabs.test.tsx index db2a254daef93d..8096e1404054d5 100644 --- a/packages/mui-base/src/Tabs/Tabs.test.tsx +++ b/packages/mui-base/src/Tabs/Tabs.test.tsx @@ -8,7 +8,7 @@ import { fireEvent, screen, createMount, -} from '@mui-internal/test-utilities'; +} from '@mui-internal/test-utils'; import { Tab } from '@mui/base/Tab'; import { Tabs, tabsClasses as classes, TabsProps } from '@mui/base/Tabs'; import { TabsList } from '@mui/base/TabsList'; diff --git a/packages/mui-base/src/TabsList/TabsList.test.tsx b/packages/mui-base/src/TabsList/TabsList.test.tsx index 5e7cce737c1c02..0c547161abe083 100644 --- a/packages/mui-base/src/TabsList/TabsList.test.tsx +++ b/packages/mui-base/src/TabsList/TabsList.test.tsx @@ -1,9 +1,5 @@ import * as React from 'react'; -import { - createMount, - createRenderer, - describeConformanceUnstyled, -} from '@mui-internal/test-utilities'; +import { createMount, createRenderer, describeConformanceUnstyled } from '@mui-internal/test-utils'; import { TabsContext } from '@mui/base/Tabs'; import { TabsList, tabsListClasses } from '@mui/base/TabsList'; diff --git a/packages/mui-base/src/TextareaAutosize/TextareaAutosize.test.tsx b/packages/mui-base/src/TextareaAutosize/TextareaAutosize.test.tsx index 5d7b7cd7687dce..76db8c8d003cd9 100644 --- a/packages/mui-base/src/TextareaAutosize/TextareaAutosize.test.tsx +++ b/packages/mui-base/src/TextareaAutosize/TextareaAutosize.test.tsx @@ -10,7 +10,7 @@ import { createRenderer, fireEvent, strictModeDoubleLoggingSuppressed, -} from '@mui-internal/test-utilities'; +} from '@mui-internal/test-utils'; import { TextareaAutosize } from '@mui/base/TextareaAutosize'; function getStyleValue(value: string) { diff --git a/packages/mui-base/src/Unstable_NumberInput/NumberInput.test.tsx b/packages/mui-base/src/Unstable_NumberInput/NumberInput.test.tsx index 5e058cf715a12a..44390eab449a25 100644 --- a/packages/mui-base/src/Unstable_NumberInput/NumberInput.test.tsx +++ b/packages/mui-base/src/Unstable_NumberInput/NumberInput.test.tsx @@ -8,7 +8,7 @@ import { createRenderer, describeConformanceUnstyled, fireEvent, -} from '@mui-internal/test-utilities'; +} from '@mui-internal/test-utils'; import { Unstable_NumberInput as NumberInput, numberInputClasses, diff --git a/packages/mui-base/src/Unstable_Popup/Popup.test.tsx b/packages/mui-base/src/Unstable_Popup/Popup.test.tsx index 95eee260dc3a32..a0d7d3b4b7598d 100644 --- a/packages/mui-base/src/Unstable_Popup/Popup.test.tsx +++ b/packages/mui-base/src/Unstable_Popup/Popup.test.tsx @@ -7,7 +7,7 @@ import { describeConformanceUnstyled, screen, fireEvent, -} from '@mui-internal/test-utilities'; +} from '@mui-internal/test-utils'; import { Unstable_Popup as Popup, popupClasses, diff --git a/packages/mui-base/src/unstable_useNumberInput/useNumberInput.test.tsx b/packages/mui-base/src/unstable_useNumberInput/useNumberInput.test.tsx index 8a89cab2e853c2..3163a2878f98ba 100644 --- a/packages/mui-base/src/unstable_useNumberInput/useNumberInput.test.tsx +++ b/packages/mui-base/src/unstable_useNumberInput/useNumberInput.test.tsx @@ -2,7 +2,7 @@ import * as React from 'react'; import { expect } from 'chai'; import { spy } from 'sinon'; import userEvent from '@testing-library/user-event'; -import { createRenderer, screen } from '@mui-internal/test-utilities'; +import { createRenderer, screen } from '@mui-internal/test-utils'; import { unstable_useNumberInput as useNumberInput, UseNumberInputParameters, diff --git a/packages/mui-base/src/useAutocomplete/useAutocomplete.test.js b/packages/mui-base/src/useAutocomplete/useAutocomplete.test.js index d56aee03858fbe..0386731e59eeb8 100644 --- a/packages/mui-base/src/useAutocomplete/useAutocomplete.test.js +++ b/packages/mui-base/src/useAutocomplete/useAutocomplete.test.js @@ -1,12 +1,6 @@ import * as React from 'react'; import { expect } from 'chai'; -import { - createRenderer, - screen, - ErrorBoundary, - act, - fireEvent, -} from '@mui-internal/test-utilities'; +import { createRenderer, screen, ErrorBoundary, act, fireEvent } from '@mui-internal/test-utils'; import { spy } from 'sinon'; import { useAutocomplete, createFilterOptions } from '@mui/base/useAutocomplete'; diff --git a/packages/mui-base/src/useButton/useButton.test.tsx b/packages/mui-base/src/useButton/useButton.test.tsx index 6b3a7d09a6c733..860114c3eba9fb 100644 --- a/packages/mui-base/src/useButton/useButton.test.tsx +++ b/packages/mui-base/src/useButton/useButton.test.tsx @@ -1,5 +1,5 @@ import * as React from 'react'; -import { act, createRenderer, fireEvent } from '@mui-internal/test-utilities'; +import { act, createRenderer, fireEvent } from '@mui-internal/test-utils'; import { expect } from 'chai'; import { spy } from 'sinon'; import { useButton } from '@mui/base/useButton'; diff --git a/packages/mui-base/src/useInput/useInput.test.tsx b/packages/mui-base/src/useInput/useInput.test.tsx index 637b467f514a12..8f6622c2b36949 100644 --- a/packages/mui-base/src/useInput/useInput.test.tsx +++ b/packages/mui-base/src/useInput/useInput.test.tsx @@ -1,5 +1,5 @@ import * as React from 'react'; -import { act, createRenderer } from '@mui-internal/test-utilities'; +import { act, createRenderer } from '@mui-internal/test-utils'; import { expect } from 'chai'; import { spy } from 'sinon'; import { useInput } from './useInput'; diff --git a/packages/mui-base/src/useList/useList.test.tsx b/packages/mui-base/src/useList/useList.test.tsx index d515127c63c554..7e8ffa6f1ce2fb 100644 --- a/packages/mui-base/src/useList/useList.test.tsx +++ b/packages/mui-base/src/useList/useList.test.tsx @@ -1,7 +1,7 @@ import * as React from 'react'; import { expect } from 'chai'; import { SinonSpy, spy } from 'sinon'; -import { createRenderer, createEvent, fireEvent } from '@mui-internal/test-utilities'; +import { createRenderer, createEvent, fireEvent } from '@mui-internal/test-utils'; import { useList } from './useList'; describe('useList', () => { diff --git a/packages/mui-base/src/useSnackbar/useSnackbar.test.tsx b/packages/mui-base/src/useSnackbar/useSnackbar.test.tsx index b336e14da27cbb..6ee48a71e0e017 100644 --- a/packages/mui-base/src/useSnackbar/useSnackbar.test.tsx +++ b/packages/mui-base/src/useSnackbar/useSnackbar.test.tsx @@ -1,7 +1,7 @@ import * as React from 'react'; import { expect } from 'chai'; import { spy } from 'sinon'; -import { fireEvent, createRenderer } from '@mui-internal/test-utilities'; +import { fireEvent, createRenderer } from '@mui-internal/test-utils'; import { useSnackbar, UseSnackbarParameters } from '@mui/base/useSnackbar'; describe('useSnackbar', () => { diff --git a/packages/mui-base/src/useSwitch/useSwitch.test.tsx b/packages/mui-base/src/useSwitch/useSwitch.test.tsx index ecdc6e7675c454..0414f65ba3d0c2 100644 --- a/packages/mui-base/src/useSwitch/useSwitch.test.tsx +++ b/packages/mui-base/src/useSwitch/useSwitch.test.tsx @@ -8,7 +8,7 @@ import { programmaticFocusTriggersFocusVisible, screen, simulatePointerDevice, -} from '@mui-internal/test-utilities'; +} from '@mui-internal/test-utils'; import { useSwitch, UseSwitchParameters } from '@mui/base/useSwitch'; describe('useSwitch', () => { diff --git a/packages/mui-base/src/utils/ClassNameConfigurator.test.tsx b/packages/mui-base/src/utils/ClassNameConfigurator.test.tsx index 74909bf4b58038..85d6db68f7d791 100644 --- a/packages/mui-base/src/utils/ClassNameConfigurator.test.tsx +++ b/packages/mui-base/src/utils/ClassNameConfigurator.test.tsx @@ -1,5 +1,5 @@ import * as React from 'react'; -import { createRenderer } from '@mui-internal/test-utilities'; +import { createRenderer } from '@mui-internal/test-utils'; import { expect } from 'chai'; import { Switch, switchClasses } from '@mui/base/Switch'; import { ClassNameConfigurator } from '@mui/base/utils/ClassNameConfigurator'; diff --git a/packages/mui-base/src/utils/prepareForSlot.test.tsx b/packages/mui-base/src/utils/prepareForSlot.test.tsx index 1120a2eed6f499..7b26144b2e6e79 100644 --- a/packages/mui-base/src/utils/prepareForSlot.test.tsx +++ b/packages/mui-base/src/utils/prepareForSlot.test.tsx @@ -1,6 +1,6 @@ import * as React from 'react'; import { expect } from 'chai'; -import { createRenderer } from '@mui-internal/test-utilities'; +import { createRenderer } from '@mui-internal/test-utils'; import { Button } from '@mui/base/Button'; import { prepareForSlot } from './prepareForSlot'; diff --git a/packages/mui-base/src/utils/useCompound.test.tsx b/packages/mui-base/src/utils/useCompound.test.tsx index 1f70344cacd707..8a0361fa7e7d42 100644 --- a/packages/mui-base/src/utils/useCompound.test.tsx +++ b/packages/mui-base/src/utils/useCompound.test.tsx @@ -1,6 +1,6 @@ import * as React from 'react'; import { expect } from 'chai'; -import { render } from '@mui-internal/test-utilities'; +import { render } from '@mui-internal/test-utils'; import { CompoundComponentContext, useCompoundParent } from './useCompound'; import { useCompoundItem } from './useCompoundItem'; diff --git a/packages/mui-base/src/utils/useControllableReducer.test.tsx b/packages/mui-base/src/utils/useControllableReducer.test.tsx index 62ec51c9a1611b..e6a77bd08eaacb 100644 --- a/packages/mui-base/src/utils/useControllableReducer.test.tsx +++ b/packages/mui-base/src/utils/useControllableReducer.test.tsx @@ -1,7 +1,7 @@ import { expect } from 'chai'; import * as React from 'react'; import { spy } from 'sinon'; -import { createRenderer } from '@mui-internal/test-utilities'; +import { createRenderer } from '@mui-internal/test-utils'; import { useControllableReducer } from './useControllableReducer'; import { ControllableReducerParameters } from './useControllableReducer.types'; diff --git a/packages/mui-base/src/utils/useSlotProps.test.tsx b/packages/mui-base/src/utils/useSlotProps.test.tsx index 55c16dae1cecc6..367aeba5ee67cb 100644 --- a/packages/mui-base/src/utils/useSlotProps.test.tsx +++ b/packages/mui-base/src/utils/useSlotProps.test.tsx @@ -1,7 +1,7 @@ import * as React from 'react'; import { expect } from 'chai'; import { spy } from 'sinon'; -import { createRenderer } from '@mui-internal/test-utilities'; +import { createRenderer } from '@mui-internal/test-utils'; import { EventHandlers } from '@mui/base'; import { useSlotProps, UseSlotPropsParameters, UseSlotPropsResult } from './useSlotProps'; diff --git a/packages/mui-joy/package.json b/packages/mui-joy/package.json index 9a790c9eb95e6b..246f1bd2653be8 100644 --- a/packages/mui-joy/package.json +++ b/packages/mui-joy/package.json @@ -49,7 +49,7 @@ }, "devDependencies": { "@mui/material": "^5.14.10", - "@mui-internal/test-utilities": "^1.0.0", + "@mui-internal/test-utils": "^1.0.0", "@types/chai": "^4.3.5", "@types/prop-types": "^15.7.5", "@types/react": "^18.2.21", diff --git a/packages/mui-joy/src/Accordion/Accordion.test.tsx b/packages/mui-joy/src/Accordion/Accordion.test.tsx index 132dfca04de51a..a26905361028b5 100644 --- a/packages/mui-joy/src/Accordion/Accordion.test.tsx +++ b/packages/mui-joy/src/Accordion/Accordion.test.tsx @@ -1,7 +1,7 @@ import * as React from 'react'; import { expect } from 'chai'; import { spy } from 'sinon'; -import { createRenderer, describeConformance, fireEvent } from '@mui-internal/test-utilities'; +import { createRenderer, describeConformance, fireEvent } from '@mui-internal/test-utils'; import { ThemeProvider } from '@mui/joy/styles'; import Accordion, { accordionClasses as classes } from '@mui/joy/Accordion'; import AccordionSummary from '@mui/joy/AccordionSummary'; diff --git a/packages/mui-joy/src/AccordionDetails/AccordionDetails.test.tsx b/packages/mui-joy/src/AccordionDetails/AccordionDetails.test.tsx index fa5d62eead40f0..5afd57b2794f3f 100644 --- a/packages/mui-joy/src/AccordionDetails/AccordionDetails.test.tsx +++ b/packages/mui-joy/src/AccordionDetails/AccordionDetails.test.tsx @@ -1,11 +1,6 @@ import * as React from 'react'; import { expect } from 'chai'; -import { - createRenderer, - describeConformance, - fireEvent, - screen, -} from '@mui-internal/test-utilities'; +import { createRenderer, describeConformance, fireEvent, screen } from '@mui-internal/test-utils'; import { ThemeProvider } from '@mui/joy/styles'; import Accordion from '@mui/joy/Accordion'; import AccordionSummary from '@mui/joy/AccordionSummary'; diff --git a/packages/mui-joy/src/AccordionGroup/AccordionGroup.test.tsx b/packages/mui-joy/src/AccordionGroup/AccordionGroup.test.tsx index df32181e363a1c..50dbfbd9de058d 100644 --- a/packages/mui-joy/src/AccordionGroup/AccordionGroup.test.tsx +++ b/packages/mui-joy/src/AccordionGroup/AccordionGroup.test.tsx @@ -4,7 +4,7 @@ import { createRenderer, describeConformance, describeJoyColorInversion, -} from '@mui-internal/test-utilities'; +} from '@mui-internal/test-utils'; import { ThemeProvider } from '@mui/joy/styles'; import AccordionGroup, { accordionGroupClasses as classes } from '@mui/joy/AccordionGroup'; diff --git a/packages/mui-joy/src/AccordionSummary/AccordionSummary.test.tsx b/packages/mui-joy/src/AccordionSummary/AccordionSummary.test.tsx index 550c07612dd6a7..4c21ff09e95ce4 100644 --- a/packages/mui-joy/src/AccordionSummary/AccordionSummary.test.tsx +++ b/packages/mui-joy/src/AccordionSummary/AccordionSummary.test.tsx @@ -1,5 +1,5 @@ import * as React from 'react'; -import { createRenderer, describeConformance } from '@mui-internal/test-utilities'; +import { createRenderer, describeConformance } from '@mui-internal/test-utils'; import { ThemeProvider } from '@mui/joy/styles'; import AccordionSummary, { accordionSummaryClasses as classes } from '@mui/joy/AccordionSummary'; diff --git a/packages/mui-joy/src/Alert/Alert.test.tsx b/packages/mui-joy/src/Alert/Alert.test.tsx index 7d330877dd945b..58003f6ebe9363 100644 --- a/packages/mui-joy/src/Alert/Alert.test.tsx +++ b/packages/mui-joy/src/Alert/Alert.test.tsx @@ -4,7 +4,7 @@ import { createRenderer, describeConformance, describeJoyColorInversion, -} from '@mui-internal/test-utilities'; +} from '@mui-internal/test-utils'; import { unstable_capitalize as capitalize } from '@mui/utils'; import { ThemeProvider } from '@mui/joy/styles'; import Alert, { AlertClassKey, alertClasses as classes } from '@mui/joy/Alert'; diff --git a/packages/mui-joy/src/AspectRatio/AspectRatio.test.tsx b/packages/mui-joy/src/AspectRatio/AspectRatio.test.tsx index df6e33a876a273..855482a1a59530 100644 --- a/packages/mui-joy/src/AspectRatio/AspectRatio.test.tsx +++ b/packages/mui-joy/src/AspectRatio/AspectRatio.test.tsx @@ -4,7 +4,7 @@ import { createRenderer, describeConformance, describeJoyColorInversion, -} from '@mui-internal/test-utilities'; +} from '@mui-internal/test-utils'; import { unstable_capitalize as capitalize } from '@mui/utils'; import { ThemeProvider } from '@mui/joy/styles'; import AspectRatio, { diff --git a/packages/mui-joy/src/Autocomplete/Autocomplete.test.tsx b/packages/mui-joy/src/Autocomplete/Autocomplete.test.tsx index f9f89097eb5fda..4fbe3908ea0834 100644 --- a/packages/mui-joy/src/Autocomplete/Autocomplete.test.tsx +++ b/packages/mui-joy/src/Autocomplete/Autocomplete.test.tsx @@ -10,7 +10,7 @@ import { fireEvent, strictModeDoubleLoggingSuppressed, describeJoyColorInversion, -} from '@mui-internal/test-utilities'; +} from '@mui-internal/test-utils'; import Autocomplete, { autocompleteClasses as classes, createFilterOptions, diff --git a/packages/mui-joy/src/AutocompleteListbox/AutocompleteListbox.test.tsx b/packages/mui-joy/src/AutocompleteListbox/AutocompleteListbox.test.tsx index 06bcbff8c62b1e..d2aa9408bbc062 100644 --- a/packages/mui-joy/src/AutocompleteListbox/AutocompleteListbox.test.tsx +++ b/packages/mui-joy/src/AutocompleteListbox/AutocompleteListbox.test.tsx @@ -4,7 +4,7 @@ import { describeConformance, createRenderer, describeJoyColorInversion, -} from '@mui-internal/test-utilities'; +} from '@mui-internal/test-utils'; import { ThemeProvider } from '@mui/joy/styles'; import AutocompleteListbox, { autocompleteListboxClasses as classes, diff --git a/packages/mui-joy/src/AutocompleteOption/AutocompleteOption.test.tsx b/packages/mui-joy/src/AutocompleteOption/AutocompleteOption.test.tsx index 88596bab18118d..2e3cbd1519b956 100644 --- a/packages/mui-joy/src/AutocompleteOption/AutocompleteOption.test.tsx +++ b/packages/mui-joy/src/AutocompleteOption/AutocompleteOption.test.tsx @@ -4,7 +4,7 @@ import { describeConformance, createRenderer, describeJoyColorInversion, -} from '@mui-internal/test-utilities'; +} from '@mui-internal/test-utils'; import { ThemeProvider } from '@mui/joy/styles'; import AutocompleteOption, { autocompleteOptionClasses as classes, diff --git a/packages/mui-joy/src/Avatar/Avatar.test.tsx b/packages/mui-joy/src/Avatar/Avatar.test.tsx index 63e125571015d6..c1d9bf1be2aabf 100644 --- a/packages/mui-joy/src/Avatar/Avatar.test.tsx +++ b/packages/mui-joy/src/Avatar/Avatar.test.tsx @@ -6,7 +6,7 @@ import { describeConformance, describeJoyColorInversion, fireEvent, -} from '@mui-internal/test-utilities'; +} from '@mui-internal/test-utils'; import { unstable_capitalize as capitalize } from '@mui/utils'; import { ThemeProvider } from '@mui/joy/styles'; import Avatar, { AvatarClassKey, avatarClasses as classes } from '@mui/joy/Avatar'; diff --git a/packages/mui-joy/src/AvatarGroup/AvatarGroup.test.tsx b/packages/mui-joy/src/AvatarGroup/AvatarGroup.test.tsx index 689e8295acdb77..debab8f46265ea 100644 --- a/packages/mui-joy/src/AvatarGroup/AvatarGroup.test.tsx +++ b/packages/mui-joy/src/AvatarGroup/AvatarGroup.test.tsx @@ -1,6 +1,6 @@ import * as React from 'react'; import { expect } from 'chai'; -import { createRenderer, describeConformance } from '@mui-internal/test-utilities'; +import { createRenderer, describeConformance } from '@mui-internal/test-utils'; import { ThemeProvider } from '@mui/joy/styles'; import AvatarGroup, { avatarGroupClasses as classes } from '@mui/joy/AvatarGroup'; import Avatar, { avatarClasses } from '@mui/joy/Avatar'; diff --git a/packages/mui-joy/src/Badge/Badge.test.tsx b/packages/mui-joy/src/Badge/Badge.test.tsx index d7625361bd1e2c..672b81c87d3ae2 100644 --- a/packages/mui-joy/src/Badge/Badge.test.tsx +++ b/packages/mui-joy/src/Badge/Badge.test.tsx @@ -4,7 +4,7 @@ import { createRenderer, describeConformance, describeJoyColorInversion, -} from '@mui-internal/test-utilities'; +} from '@mui-internal/test-utils'; import { unstable_capitalize as capitalize } from '@mui/utils'; import { ThemeProvider } from '@mui/joy/styles'; import Badge, { BadgeClassKey, BadgeOrigin, badgeClasses as classes } from '@mui/joy/Badge'; diff --git a/packages/mui-joy/src/Box/Box.test.tsx b/packages/mui-joy/src/Box/Box.test.tsx index 3572688fe5d190..ac4108897d991c 100644 --- a/packages/mui-joy/src/Box/Box.test.tsx +++ b/packages/mui-joy/src/Box/Box.test.tsx @@ -1,7 +1,7 @@ /* eslint-disable material-ui/no-empty-box */ import * as React from 'react'; import { expect } from 'chai'; -import { createRenderer, describeConformance } from '@mui-internal/test-utilities'; +import { createRenderer, describeConformance } from '@mui-internal/test-utils'; import { ThemeProvider, CssVarsProvider, extendTheme, PalettePrimary } from '@mui/joy/styles'; import { unstable_ClassNameGenerator as ClassNameGenerator } from '@mui/joy/className'; import Box from '@mui/joy/Box'; diff --git a/packages/mui-joy/src/Breadcrumbs/Breadcrumbs.test.tsx b/packages/mui-joy/src/Breadcrumbs/Breadcrumbs.test.tsx index d88942128d5056..937ad578eb4e2a 100644 --- a/packages/mui-joy/src/Breadcrumbs/Breadcrumbs.test.tsx +++ b/packages/mui-joy/src/Breadcrumbs/Breadcrumbs.test.tsx @@ -1,6 +1,6 @@ import * as React from 'react'; import { expect } from 'chai'; -import { createRenderer, describeConformance } from '@mui-internal/test-utilities'; +import { createRenderer, describeConformance } from '@mui-internal/test-utils'; import { unstable_capitalize as capitalize } from '@mui/utils'; import { ThemeProvider } from '@mui/joy/styles'; import Breadcrumbs, { diff --git a/packages/mui-joy/src/Button/Button.test.tsx b/packages/mui-joy/src/Button/Button.test.tsx index 122d3648910ad8..69d504e45780d3 100644 --- a/packages/mui-joy/src/Button/Button.test.tsx +++ b/packages/mui-joy/src/Button/Button.test.tsx @@ -4,7 +4,7 @@ import { describeConformance, createRenderer, describeJoyColorInversion, -} from '@mui-internal/test-utilities'; +} from '@mui-internal/test-utils'; import Button, { buttonClasses as classes } from '@mui/joy/Button'; import { ThemeProvider } from '@mui/joy/styles'; diff --git a/packages/mui-joy/src/ButtonGroup/ButtonGroup.test.tsx b/packages/mui-joy/src/ButtonGroup/ButtonGroup.test.tsx index c8209df95bbf04..f18621a9955fd6 100644 --- a/packages/mui-joy/src/ButtonGroup/ButtonGroup.test.tsx +++ b/packages/mui-joy/src/ButtonGroup/ButtonGroup.test.tsx @@ -1,6 +1,6 @@ import * as React from 'react'; import { expect } from 'chai'; -import { createRenderer, describeConformance } from '@mui-internal/test-utilities'; +import { createRenderer, describeConformance } from '@mui-internal/test-utils'; import { unstable_capitalize as capitalize } from '@mui/utils'; import { ThemeProvider } from '@mui/joy/styles'; import ButtonGroup, { diff --git a/packages/mui-joy/src/Card/Card.test.tsx b/packages/mui-joy/src/Card/Card.test.tsx index 44b9d575096f82..88272f6688a1c5 100644 --- a/packages/mui-joy/src/Card/Card.test.tsx +++ b/packages/mui-joy/src/Card/Card.test.tsx @@ -4,7 +4,7 @@ import { createRenderer, describeConformance, describeJoyColorInversion, -} from '@mui-internal/test-utilities'; +} from '@mui-internal/test-utils'; import { unstable_capitalize as capitalize } from '@mui/utils'; import { ThemeProvider } from '@mui/joy/styles'; import Card, { cardClasses as classes, CardClassKey } from '@mui/joy/Card'; diff --git a/packages/mui-joy/src/CardActions/CardActions.test.tsx b/packages/mui-joy/src/CardActions/CardActions.test.tsx index 4df71b73595d2a..3a5f0f6bc8b499 100644 --- a/packages/mui-joy/src/CardActions/CardActions.test.tsx +++ b/packages/mui-joy/src/CardActions/CardActions.test.tsx @@ -1,5 +1,5 @@ import * as React from 'react'; -import { createRenderer, describeConformance } from '@mui-internal/test-utilities'; +import { createRenderer, describeConformance } from '@mui-internal/test-utils'; import { ThemeProvider } from '@mui/joy/styles'; import CardActions, { cardActionsClasses as classes } from '@mui/joy/CardActions'; diff --git a/packages/mui-joy/src/CardContent/CardContent.test.tsx b/packages/mui-joy/src/CardContent/CardContent.test.tsx index f50e07aff0c2df..f457f9260369da 100644 --- a/packages/mui-joy/src/CardContent/CardContent.test.tsx +++ b/packages/mui-joy/src/CardContent/CardContent.test.tsx @@ -1,5 +1,5 @@ import * as React from 'react'; -import { createRenderer, describeConformance } from '@mui-internal/test-utilities'; +import { createRenderer, describeConformance } from '@mui-internal/test-utils'; import { ThemeProvider } from '@mui/joy/styles'; import CardContent, { cardContentClasses as classes } from '@mui/joy/CardContent'; diff --git a/packages/mui-joy/src/CardCover/CardCover.test.tsx b/packages/mui-joy/src/CardCover/CardCover.test.tsx index 81f62d5905ca23..8c3a228d56ab79 100644 --- a/packages/mui-joy/src/CardCover/CardCover.test.tsx +++ b/packages/mui-joy/src/CardCover/CardCover.test.tsx @@ -1,6 +1,6 @@ import * as React from 'react'; import { expect } from 'chai'; -import { createRenderer, describeConformance } from '@mui-internal/test-utilities'; +import { createRenderer, describeConformance } from '@mui-internal/test-utils'; import { ThemeProvider } from '@mui/joy/styles'; import CardCover, { cardCoverClasses as classes } from '@mui/joy/CardCover'; diff --git a/packages/mui-joy/src/CardOverflow/CardOverflow.test.tsx b/packages/mui-joy/src/CardOverflow/CardOverflow.test.tsx index 6efc608fda8b88..33619311553c68 100644 --- a/packages/mui-joy/src/CardOverflow/CardOverflow.test.tsx +++ b/packages/mui-joy/src/CardOverflow/CardOverflow.test.tsx @@ -4,7 +4,7 @@ import { createRenderer, describeConformance, describeJoyColorInversion, -} from '@mui-internal/test-utilities'; +} from '@mui-internal/test-utils'; import { unstable_capitalize as capitalize } from '@mui/utils'; import { ThemeProvider } from '@mui/joy/styles'; import CardOverflow, { diff --git a/packages/mui-joy/src/Checkbox/Checkbox.test.tsx b/packages/mui-joy/src/Checkbox/Checkbox.test.tsx index 519c6ed8aa5beb..a52ee390e075a6 100644 --- a/packages/mui-joy/src/Checkbox/Checkbox.test.tsx +++ b/packages/mui-joy/src/Checkbox/Checkbox.test.tsx @@ -6,7 +6,7 @@ import { createRenderer, fireEvent, describeJoyColorInversion, -} from '@mui-internal/test-utilities'; +} from '@mui-internal/test-utils'; import Checkbox, { checkboxClasses as classes } from '@mui/joy/Checkbox'; import { ThemeProvider } from '@mui/joy/styles'; import CloseIcon from '../internal/svg-icons/Close'; diff --git a/packages/mui-joy/src/Chip/Chip.test.tsx b/packages/mui-joy/src/Chip/Chip.test.tsx index 1e45f0739266ce..952079d7dd80a6 100644 --- a/packages/mui-joy/src/Chip/Chip.test.tsx +++ b/packages/mui-joy/src/Chip/Chip.test.tsx @@ -6,7 +6,7 @@ import { describeConformance, describeJoyColorInversion, fireEvent, -} from '@mui-internal/test-utilities'; +} from '@mui-internal/test-utils'; import { unstable_capitalize as capitalize } from '@mui/utils'; import { ThemeProvider } from '@mui/joy/styles'; import Chip, { ChipClassKey, chipClasses as classes } from '@mui/joy/Chip'; diff --git a/packages/mui-joy/src/ChipDelete/ChipDelete.test.tsx b/packages/mui-joy/src/ChipDelete/ChipDelete.test.tsx index 13c7d942b3f52d..b6ff05e0483838 100644 --- a/packages/mui-joy/src/ChipDelete/ChipDelete.test.tsx +++ b/packages/mui-joy/src/ChipDelete/ChipDelete.test.tsx @@ -7,7 +7,7 @@ import { describeJoyColorInversion, act, fireEvent, -} from '@mui-internal/test-utilities'; +} from '@mui-internal/test-utils'; import { ThemeProvider } from '@mui/joy/styles'; import Chip from '@mui/joy/Chip'; import ChipDelete, { chipDeleteClasses as classes } from '@mui/joy/ChipDelete'; diff --git a/packages/mui-joy/src/CircularProgress/CircularProgress.test.tsx b/packages/mui-joy/src/CircularProgress/CircularProgress.test.tsx index fa7f94fc0cc971..8316f1454bb014 100644 --- a/packages/mui-joy/src/CircularProgress/CircularProgress.test.tsx +++ b/packages/mui-joy/src/CircularProgress/CircularProgress.test.tsx @@ -4,7 +4,7 @@ import { createRenderer, describeConformance, describeJoyColorInversion, -} from '@mui-internal/test-utilities'; +} from '@mui-internal/test-utils'; import { unstable_capitalize as capitalize } from '@mui/utils'; import { ThemeProvider } from '@mui/joy/styles'; import CircularProgress, { circularProgressClasses as classes } from '@mui/joy/CircularProgress'; diff --git a/packages/mui-joy/src/Container/Container.test.tsx b/packages/mui-joy/src/Container/Container.test.tsx index efedfb4cd848e8..9094c70a701358 100644 --- a/packages/mui-joy/src/Container/Container.test.tsx +++ b/packages/mui-joy/src/Container/Container.test.tsx @@ -1,5 +1,5 @@ import * as React from 'react'; -import { describeConformance, createRenderer } from '@mui-internal/test-utilities'; +import { describeConformance, createRenderer } from '@mui-internal/test-utils'; import { ThemeProvider } from '@mui/joy/styles'; import Container, { containerClasses as classes } from '@mui/joy/Container'; diff --git a/packages/mui-joy/src/DialogActions/DialogActions.test.tsx b/packages/mui-joy/src/DialogActions/DialogActions.test.tsx index 8bac9c8b5a1198..00cb6e9070239a 100644 --- a/packages/mui-joy/src/DialogActions/DialogActions.test.tsx +++ b/packages/mui-joy/src/DialogActions/DialogActions.test.tsx @@ -1,5 +1,5 @@ import * as React from 'react'; -import { createRenderer, describeConformance } from '@mui-internal/test-utilities'; +import { createRenderer, describeConformance } from '@mui-internal/test-utils'; import { ThemeProvider } from '@mui/joy/styles'; import DialogActions, { dialogActionsClasses as classes } from '@mui/joy/DialogActions'; diff --git a/packages/mui-joy/src/DialogContent/DialogContent.test.tsx b/packages/mui-joy/src/DialogContent/DialogContent.test.tsx index ac0e264bea20fb..be5e64079572ef 100644 --- a/packages/mui-joy/src/DialogContent/DialogContent.test.tsx +++ b/packages/mui-joy/src/DialogContent/DialogContent.test.tsx @@ -1,5 +1,5 @@ import * as React from 'react'; -import { createRenderer, describeConformance } from '@mui-internal/test-utilities'; +import { createRenderer, describeConformance } from '@mui-internal/test-utils'; import { ThemeProvider } from '@mui/joy/styles'; import DialogContent, { dialogContentClasses as classes } from '@mui/joy/DialogContent'; diff --git a/packages/mui-joy/src/DialogTitle/DialogTitle.test.tsx b/packages/mui-joy/src/DialogTitle/DialogTitle.test.tsx index f50e07aff0c2df..f457f9260369da 100644 --- a/packages/mui-joy/src/DialogTitle/DialogTitle.test.tsx +++ b/packages/mui-joy/src/DialogTitle/DialogTitle.test.tsx @@ -1,5 +1,5 @@ import * as React from 'react'; -import { createRenderer, describeConformance } from '@mui-internal/test-utilities'; +import { createRenderer, describeConformance } from '@mui-internal/test-utils'; import { ThemeProvider } from '@mui/joy/styles'; import CardContent, { cardContentClasses as classes } from '@mui/joy/CardContent'; diff --git a/packages/mui-joy/src/Divider/Divider.test.tsx b/packages/mui-joy/src/Divider/Divider.test.tsx index c886c485f4c5cc..efe1574a149619 100644 --- a/packages/mui-joy/src/Divider/Divider.test.tsx +++ b/packages/mui-joy/src/Divider/Divider.test.tsx @@ -1,6 +1,6 @@ import * as React from 'react'; import { expect } from 'chai'; -import { describeConformance, createRenderer } from '@mui-internal/test-utilities'; +import { describeConformance, createRenderer } from '@mui-internal/test-utils'; import { ThemeProvider } from '@mui/joy/styles'; import Divider, { dividerClasses as classes } from '@mui/joy/Divider'; diff --git a/packages/mui-joy/src/Drawer/Drawer.test.tsx b/packages/mui-joy/src/Drawer/Drawer.test.tsx index e6b066b11dd8f8..786dd8e6452248 100644 --- a/packages/mui-joy/src/Drawer/Drawer.test.tsx +++ b/packages/mui-joy/src/Drawer/Drawer.test.tsx @@ -1,6 +1,6 @@ import * as React from 'react'; import { expect } from 'chai'; -import { createRenderer, describeConformance } from '@mui-internal/test-utilities'; +import { createRenderer, describeConformance } from '@mui-internal/test-utils'; import { ThemeProvider } from '@mui/joy/styles'; import Drawer, { drawerClasses as classes } from '@mui/joy/Drawer'; diff --git a/packages/mui-joy/src/FormControl/FormControl.test.tsx b/packages/mui-joy/src/FormControl/FormControl.test.tsx index 121951d38a50a3..1ef6de294d1b5a 100644 --- a/packages/mui-joy/src/FormControl/FormControl.test.tsx +++ b/packages/mui-joy/src/FormControl/FormControl.test.tsx @@ -1,6 +1,6 @@ import * as React from 'react'; import { expect } from 'chai'; -import { createRenderer, describeConformance } from '@mui-internal/test-utilities'; +import { createRenderer, describeConformance } from '@mui-internal/test-utils'; import { unstable_capitalize as capitalize } from '@mui/utils'; import { ThemeProvider } from '@mui/joy/styles'; import FormControl, { formControlClasses as classes } from '@mui/joy/FormControl'; diff --git a/packages/mui-joy/src/FormHelperText/FormHelperText.test.tsx b/packages/mui-joy/src/FormHelperText/FormHelperText.test.tsx index 18a369687eca68..48b5c31cb221ba 100644 --- a/packages/mui-joy/src/FormHelperText/FormHelperText.test.tsx +++ b/packages/mui-joy/src/FormHelperText/FormHelperText.test.tsx @@ -1,6 +1,6 @@ import * as React from 'react'; import { expect } from 'chai'; -import { describeConformance, createRenderer } from '@mui-internal/test-utilities'; +import { describeConformance, createRenderer } from '@mui-internal/test-utils'; import { ThemeProvider } from '@mui/joy/styles'; import FormHelperText, { formHelperTextClasses as classes } from '@mui/joy/FormHelperText'; diff --git a/packages/mui-joy/src/FormLabel/FormLabel.test.tsx b/packages/mui-joy/src/FormLabel/FormLabel.test.tsx index 19af6122e3fa46..ec5cb89df1e1db 100644 --- a/packages/mui-joy/src/FormLabel/FormLabel.test.tsx +++ b/packages/mui-joy/src/FormLabel/FormLabel.test.tsx @@ -1,6 +1,6 @@ import * as React from 'react'; import { expect } from 'chai'; -import { describeConformance, createRenderer } from '@mui-internal/test-utilities'; +import { describeConformance, createRenderer } from '@mui-internal/test-utils'; import { ThemeProvider } from '@mui/joy/styles'; import FormLabel, { formLabelClasses as classes } from '@mui/joy/FormLabel'; diff --git a/packages/mui-joy/src/Grid/Grid.test.tsx b/packages/mui-joy/src/Grid/Grid.test.tsx index 9cc493566feac2..06a9c77a84701e 100644 --- a/packages/mui-joy/src/Grid/Grid.test.tsx +++ b/packages/mui-joy/src/Grid/Grid.test.tsx @@ -1,6 +1,6 @@ import * as React from 'react'; import { expect } from 'chai'; -import { describeConformance, createRenderer } from '@mui-internal/test-utilities'; +import { describeConformance, createRenderer } from '@mui-internal/test-utils'; import { ThemeProvider } from '@mui/joy/styles'; import Grid, { gridClasses as classes } from '@mui/joy/Grid'; diff --git a/packages/mui-joy/src/IconButton/IconButton.test.tsx b/packages/mui-joy/src/IconButton/IconButton.test.tsx index cb7040df398307..358c1fb4e89a80 100644 --- a/packages/mui-joy/src/IconButton/IconButton.test.tsx +++ b/packages/mui-joy/src/IconButton/IconButton.test.tsx @@ -4,7 +4,7 @@ import { describeConformance, createRenderer, describeJoyColorInversion, -} from '@mui-internal/test-utilities'; +} from '@mui-internal/test-utils'; import IconButton, { iconButtonClasses as classes } from '@mui/joy/IconButton'; import { ThemeProvider } from '@mui/joy/styles'; diff --git a/packages/mui-joy/src/Input/Input.test.tsx b/packages/mui-joy/src/Input/Input.test.tsx index 6b9d8523c086b5..839ab09b864861 100644 --- a/packages/mui-joy/src/Input/Input.test.tsx +++ b/packages/mui-joy/src/Input/Input.test.tsx @@ -8,7 +8,7 @@ import { screen, act, fireEvent, -} from '@mui-internal/test-utilities'; +} from '@mui-internal/test-utils'; import Input, { inputClasses as classes } from '@mui/joy/Input'; import { ThemeProvider } from '@mui/joy/styles'; diff --git a/packages/mui-joy/src/LinearProgress/LinearProgress.test.tsx b/packages/mui-joy/src/LinearProgress/LinearProgress.test.tsx index bff1c65d66032e..1cdac10d1daab2 100644 --- a/packages/mui-joy/src/LinearProgress/LinearProgress.test.tsx +++ b/packages/mui-joy/src/LinearProgress/LinearProgress.test.tsx @@ -4,7 +4,7 @@ import { createRenderer, describeConformance, describeJoyColorInversion, -} from '@mui-internal/test-utilities'; +} from '@mui-internal/test-utils'; import { unstable_capitalize as capitalize } from '@mui/utils'; import { ThemeProvider } from '@mui/joy/styles'; import LinearProgress, { linearProgressClasses as classes } from '@mui/joy/LinearProgress'; diff --git a/packages/mui-joy/src/Link/Link.test.tsx b/packages/mui-joy/src/Link/Link.test.tsx index 122f60a0ea9ca5..f5ec486606602e 100644 --- a/packages/mui-joy/src/Link/Link.test.tsx +++ b/packages/mui-joy/src/Link/Link.test.tsx @@ -7,7 +7,7 @@ import { fireEvent, describeConformance, describeJoyColorInversion, -} from '@mui-internal/test-utilities'; +} from '@mui-internal/test-utils'; import { unstable_capitalize as capitalize } from '@mui/utils'; import Link, { LinkClassKey, linkClasses as classes } from '@mui/joy/Link'; import Typography from '@mui/joy/Typography'; diff --git a/packages/mui-joy/src/List/List.test.tsx b/packages/mui-joy/src/List/List.test.tsx index 78b44af28b34fd..5959b877d3619f 100644 --- a/packages/mui-joy/src/List/List.test.tsx +++ b/packages/mui-joy/src/List/List.test.tsx @@ -5,7 +5,7 @@ import { createRenderer, screen, describeJoyColorInversion, -} from '@mui-internal/test-utilities'; +} from '@mui-internal/test-utils'; import { ThemeProvider } from '@mui/joy/styles'; import List, { listClasses as classes } from '@mui/joy/List'; import ListItem from '@mui/joy/ListItem'; diff --git a/packages/mui-joy/src/ListDivider/ListDivider.test.tsx b/packages/mui-joy/src/ListDivider/ListDivider.test.tsx index cc54f70e48a6ec..1a6515afaa5d73 100644 --- a/packages/mui-joy/src/ListDivider/ListDivider.test.tsx +++ b/packages/mui-joy/src/ListDivider/ListDivider.test.tsx @@ -1,6 +1,6 @@ import * as React from 'react'; import { expect } from 'chai'; -import { describeConformance, createRenderer, screen } from '@mui-internal/test-utilities'; +import { describeConformance, createRenderer, screen } from '@mui-internal/test-utils'; import { ThemeProvider } from '@mui/joy/styles'; import List from '@mui/joy/List'; import ListDivider, { listDividerClasses as classes } from '@mui/joy/ListDivider'; diff --git a/packages/mui-joy/src/ListItem/ListItem.test.tsx b/packages/mui-joy/src/ListItem/ListItem.test.tsx index 6713d68ce0063d..9275155bcfbd99 100644 --- a/packages/mui-joy/src/ListItem/ListItem.test.tsx +++ b/packages/mui-joy/src/ListItem/ListItem.test.tsx @@ -5,7 +5,7 @@ import { createRenderer, screen, describeJoyColorInversion, -} from '@mui-internal/test-utilities'; +} from '@mui-internal/test-utils'; import { ThemeProvider } from '@mui/joy/styles'; import MenuList from '@mui/joy/MenuList'; import List from '@mui/joy/List'; diff --git a/packages/mui-joy/src/ListItemButton/ListItemButton.test.tsx b/packages/mui-joy/src/ListItemButton/ListItemButton.test.tsx index cdc45dfc48c470..4d84724100881f 100644 --- a/packages/mui-joy/src/ListItemButton/ListItemButton.test.tsx +++ b/packages/mui-joy/src/ListItemButton/ListItemButton.test.tsx @@ -6,7 +6,7 @@ import { createRenderer, act, fireEvent, -} from '@mui-internal/test-utilities'; +} from '@mui-internal/test-utils'; import { ThemeProvider } from '@mui/joy/styles'; import ListItemButton, { listItemButtonClasses as classes } from '@mui/joy/ListItemButton'; diff --git a/packages/mui-joy/src/ListItemContent/ListItemContent.test.tsx b/packages/mui-joy/src/ListItemContent/ListItemContent.test.tsx index 08eb74620c5d39..5727a4fecda71b 100644 --- a/packages/mui-joy/src/ListItemContent/ListItemContent.test.tsx +++ b/packages/mui-joy/src/ListItemContent/ListItemContent.test.tsx @@ -1,6 +1,6 @@ import * as React from 'react'; import { expect } from 'chai'; -import { describeConformance, createRenderer } from '@mui-internal/test-utilities'; +import { describeConformance, createRenderer } from '@mui-internal/test-utils'; import { ThemeProvider } from '@mui/joy/styles'; import ListItemContent, { listItemContentClasses as classes } from '@mui/joy/ListItemContent'; diff --git a/packages/mui-joy/src/ListItemDecorator/ListItemDecorator.test.tsx b/packages/mui-joy/src/ListItemDecorator/ListItemDecorator.test.tsx index 65723010a7ebd0..1b0bad3280aaa8 100644 --- a/packages/mui-joy/src/ListItemDecorator/ListItemDecorator.test.tsx +++ b/packages/mui-joy/src/ListItemDecorator/ListItemDecorator.test.tsx @@ -1,6 +1,6 @@ import * as React from 'react'; import { expect } from 'chai'; -import { describeConformance, createRenderer } from '@mui-internal/test-utilities'; +import { describeConformance, createRenderer } from '@mui-internal/test-utils'; import { ThemeProvider } from '@mui/joy/styles'; import ListItemDecorator, { listItemDecoratorClasses as classes } from '@mui/joy/ListItemDecorator'; diff --git a/packages/mui-joy/src/ListSubheader/ListSubheader.test.tsx b/packages/mui-joy/src/ListSubheader/ListSubheader.test.tsx index fad82aec53fb3a..0e406e20ed9473 100644 --- a/packages/mui-joy/src/ListSubheader/ListSubheader.test.tsx +++ b/packages/mui-joy/src/ListSubheader/ListSubheader.test.tsx @@ -5,7 +5,7 @@ import { describeConformance, createRenderer, describeJoyColorInversion, -} from '@mui-internal/test-utilities'; +} from '@mui-internal/test-utils'; import { ThemeProvider } from '@mui/joy/styles'; import ListSubheader, { listSubheaderClasses as classes } from '@mui/joy/ListSubheader'; import ListSubheaderDispatch from './ListSubheaderContext'; diff --git a/packages/mui-joy/src/Menu/Menu.test.tsx b/packages/mui-joy/src/Menu/Menu.test.tsx index 681f7878b61205..143b191faab91e 100644 --- a/packages/mui-joy/src/Menu/Menu.test.tsx +++ b/packages/mui-joy/src/Menu/Menu.test.tsx @@ -8,7 +8,7 @@ import { screen, fireEvent, describeJoyColorInversion, -} from '@mui-internal/test-utilities'; +} from '@mui-internal/test-utils'; import { Popper as PopperUnstyled } from '@mui/base/Popper'; import { DropdownContext, DropdownContextValue } from '@mui/base/useDropdown'; import { ThemeProvider } from '@mui/joy/styles'; diff --git a/packages/mui-joy/src/MenuButton/MenuButton.test.tsx b/packages/mui-joy/src/MenuButton/MenuButton.test.tsx index 0535aeb2dadab0..ba265e18575be2 100644 --- a/packages/mui-joy/src/MenuButton/MenuButton.test.tsx +++ b/packages/mui-joy/src/MenuButton/MenuButton.test.tsx @@ -1,7 +1,7 @@ import * as React from 'react'; import { expect } from 'chai'; import { spy } from 'sinon'; -import { createRenderer, describeConformance } from '@mui-internal/test-utilities'; +import { createRenderer, describeConformance } from '@mui-internal/test-utils'; import { DropdownContext, DropdownContextValue } from '@mui/base/useDropdown'; import { ThemeProvider } from '@mui/joy/styles'; import MenuButton, { menuButtonClasses as classes } from '@mui/joy/MenuButton'; diff --git a/packages/mui-joy/src/MenuItem/MenuItem.test.tsx b/packages/mui-joy/src/MenuItem/MenuItem.test.tsx index 511e778866aee4..3bce808e700b04 100644 --- a/packages/mui-joy/src/MenuItem/MenuItem.test.tsx +++ b/packages/mui-joy/src/MenuItem/MenuItem.test.tsx @@ -8,7 +8,7 @@ import { fireEvent, screen, describeJoyColorInversion, -} from '@mui-internal/test-utilities'; +} from '@mui-internal/test-utils'; import { MenuProvider, MenuProviderValue } from '@mui/base/useMenu'; import { ThemeProvider } from '@mui/joy/styles'; import MenuItem, { menuItemClasses as classes } from '@mui/joy/MenuItem'; diff --git a/packages/mui-joy/src/MenuList/MenuList.test.tsx b/packages/mui-joy/src/MenuList/MenuList.test.tsx index d6a55d88de8bdb..a95592b17bc4b3 100644 --- a/packages/mui-joy/src/MenuList/MenuList.test.tsx +++ b/packages/mui-joy/src/MenuList/MenuList.test.tsx @@ -5,7 +5,7 @@ import { createRenderer, screen, describeJoyColorInversion, -} from '@mui-internal/test-utilities'; +} from '@mui-internal/test-utils'; import { ThemeProvider } from '@mui/joy/styles'; import MenuList, { menuListClasses as classes } from '@mui/joy/MenuList'; diff --git a/packages/mui-joy/src/Modal/Modal.test.tsx b/packages/mui-joy/src/Modal/Modal.test.tsx index 183c436d42bab8..3d79c7b8cd6969 100644 --- a/packages/mui-joy/src/Modal/Modal.test.tsx +++ b/packages/mui-joy/src/Modal/Modal.test.tsx @@ -8,7 +8,7 @@ import { act, fireEvent, within, -} from '@mui-internal/test-utilities'; +} from '@mui-internal/test-utils'; import { ThemeProvider } from '@mui/joy/styles'; import Modal, { modalClasses as classes, ModalProps } from '@mui/joy/Modal'; diff --git a/packages/mui-joy/src/ModalClose/ModalClose.test.tsx b/packages/mui-joy/src/ModalClose/ModalClose.test.tsx index fc0f501bd03a0b..4bd68b15827b79 100644 --- a/packages/mui-joy/src/ModalClose/ModalClose.test.tsx +++ b/packages/mui-joy/src/ModalClose/ModalClose.test.tsx @@ -6,7 +6,7 @@ import { describeConformance, describeJoyColorInversion, fireEvent, -} from '@mui-internal/test-utilities'; +} from '@mui-internal/test-utils'; import { unstable_capitalize as capitalize } from '@mui/utils'; import { ThemeProvider } from '@mui/joy/styles'; import Modal from '@mui/joy/Modal'; diff --git a/packages/mui-joy/src/ModalDialog/ModalDialog.test.tsx b/packages/mui-joy/src/ModalDialog/ModalDialog.test.tsx index 66d2e45fd836cf..c07f4e3e5d84e2 100644 --- a/packages/mui-joy/src/ModalDialog/ModalDialog.test.tsx +++ b/packages/mui-joy/src/ModalDialog/ModalDialog.test.tsx @@ -4,7 +4,7 @@ import { createRenderer, describeConformance, describeJoyColorInversion, -} from '@mui-internal/test-utilities'; +} from '@mui-internal/test-utils'; import { unstable_capitalize as capitalize } from '@mui/utils'; import { ThemeProvider } from '@mui/joy/styles'; import ModalDialog, { modalDialogClasses as classes } from '@mui/joy/ModalDialog'; diff --git a/packages/mui-joy/src/ModalOverflow/ModalOverflow.test.tsx b/packages/mui-joy/src/ModalOverflow/ModalOverflow.test.tsx index 2eebb3ebb929a2..4b33be3c56985f 100644 --- a/packages/mui-joy/src/ModalOverflow/ModalOverflow.test.tsx +++ b/packages/mui-joy/src/ModalOverflow/ModalOverflow.test.tsx @@ -1,5 +1,5 @@ import * as React from 'react'; -import { createRenderer, describeConformance } from '@mui-internal/test-utilities'; +import { createRenderer, describeConformance } from '@mui-internal/test-utils'; import { ThemeProvider } from '@mui/joy/styles'; import ModalOverflow, { modalOverflowClasses as classes } from '@mui/joy/ModalOverflow'; diff --git a/packages/mui-joy/src/Radio/Radio.test.tsx b/packages/mui-joy/src/Radio/Radio.test.tsx index cb48646a3dc22e..eaf3bf40235e82 100644 --- a/packages/mui-joy/src/Radio/Radio.test.tsx +++ b/packages/mui-joy/src/Radio/Radio.test.tsx @@ -6,7 +6,7 @@ import { createRenderer, fireEvent, describeJoyColorInversion, -} from '@mui-internal/test-utilities'; +} from '@mui-internal/test-utils'; import Radio, { radioClasses as classes } from '@mui/joy/Radio'; import { ThemeProvider } from '@mui/joy/styles'; diff --git a/packages/mui-joy/src/RadioGroup/RadioGroup.test.tsx b/packages/mui-joy/src/RadioGroup/RadioGroup.test.tsx index 4664c85ebf5b37..1c622252b9cff3 100644 --- a/packages/mui-joy/src/RadioGroup/RadioGroup.test.tsx +++ b/packages/mui-joy/src/RadioGroup/RadioGroup.test.tsx @@ -8,7 +8,7 @@ import { createRenderer, fireEvent, screen, -} from '@mui-internal/test-utilities'; +} from '@mui-internal/test-utils'; import RadioGroup, { radioGroupClasses as classes, RadioGroupProps } from '@mui/joy/RadioGroup'; import Radio from '@mui/joy/Radio'; import { ThemeProvider } from '@mui/joy/styles'; diff --git a/packages/mui-joy/src/ScopedCssBaseline/ScopedCssBaseline.test.tsx b/packages/mui-joy/src/ScopedCssBaseline/ScopedCssBaseline.test.tsx index f9e995a2c6244d..064797f0a7a41d 100644 --- a/packages/mui-joy/src/ScopedCssBaseline/ScopedCssBaseline.test.tsx +++ b/packages/mui-joy/src/ScopedCssBaseline/ScopedCssBaseline.test.tsx @@ -1,5 +1,5 @@ import * as React from 'react'; -import { createRenderer, describeConformance } from '@mui-internal/test-utilities'; +import { createRenderer, describeConformance } from '@mui-internal/test-utils'; import { ThemeProvider } from '@mui/joy/styles'; import ScopedCssBaseline, { scopedCssBaselineClasses as classes } from '@mui/joy/ScopedCssBaseline'; diff --git a/packages/mui-joy/src/Select/Select.test.tsx b/packages/mui-joy/src/Select/Select.test.tsx index 3b0752f235b1e7..239871e5a8e49f 100644 --- a/packages/mui-joy/src/Select/Select.test.tsx +++ b/packages/mui-joy/src/Select/Select.test.tsx @@ -8,7 +8,7 @@ import { createRenderer, fireEvent, screen, -} from '@mui-internal/test-utilities'; +} from '@mui-internal/test-utils'; import { ThemeProvider } from '@mui/joy/styles'; import Select, { selectClasses as classes, SelectOption } from '@mui/joy/Select'; import Option from '@mui/joy/Option'; diff --git a/packages/mui-joy/src/Sheet/Sheet.test.tsx b/packages/mui-joy/src/Sheet/Sheet.test.tsx index 849f3c0ec8ecad..6b9c58e3752461 100644 --- a/packages/mui-joy/src/Sheet/Sheet.test.tsx +++ b/packages/mui-joy/src/Sheet/Sheet.test.tsx @@ -4,7 +4,7 @@ import { createRenderer, describeConformance, describeJoyColorInversion, -} from '@mui-internal/test-utilities'; +} from '@mui-internal/test-utils'; import { unstable_capitalize as capitalize } from '@mui/utils'; import { ThemeProvider } from '@mui/joy/styles'; import Sheet, { sheetClasses as classes, SheetClassKey } from '@mui/joy/Sheet'; diff --git a/packages/mui-joy/src/Skeleton/Skeleton.test.tsx b/packages/mui-joy/src/Skeleton/Skeleton.test.tsx index acf09156e91c39..854409169b2710 100644 --- a/packages/mui-joy/src/Skeleton/Skeleton.test.tsx +++ b/packages/mui-joy/src/Skeleton/Skeleton.test.tsx @@ -1,6 +1,6 @@ import * as React from 'react'; import { expect } from 'chai'; -import { createRenderer, describeConformance } from '@mui-internal/test-utilities'; +import { createRenderer, describeConformance } from '@mui-internal/test-utils'; import { ThemeProvider } from '@mui/joy/styles'; import Skeleton, { skeletonClasses as classes } from '@mui/joy/Skeleton'; diff --git a/packages/mui-joy/src/Slider/Slider.test.tsx b/packages/mui-joy/src/Slider/Slider.test.tsx index df1f16e88825ba..8e2a08410db6e6 100644 --- a/packages/mui-joy/src/Slider/Slider.test.tsx +++ b/packages/mui-joy/src/Slider/Slider.test.tsx @@ -4,7 +4,7 @@ import { describeConformance, createRenderer, describeJoyColorInversion, -} from '@mui-internal/test-utilities'; +} from '@mui-internal/test-utils'; import Slider, { sliderClasses as classes } from '@mui/joy/Slider'; import { ThemeProvider } from '@mui/joy/styles'; diff --git a/packages/mui-joy/src/Stack/Stack.test.tsx b/packages/mui-joy/src/Stack/Stack.test.tsx index ef49cb3f7e451b..bf4552bd2abe00 100644 --- a/packages/mui-joy/src/Stack/Stack.test.tsx +++ b/packages/mui-joy/src/Stack/Stack.test.tsx @@ -1,6 +1,6 @@ import * as React from 'react'; import { expect } from 'chai'; -import { describeConformance, createRenderer } from '@mui-internal/test-utilities'; +import { describeConformance, createRenderer } from '@mui-internal/test-utils'; import { ThemeProvider } from '@mui/joy/styles'; import Stack, { stackClasses as classes } from '@mui/joy/Stack'; diff --git a/packages/mui-joy/src/SvgIcon/SvgIcon.test.tsx b/packages/mui-joy/src/SvgIcon/SvgIcon.test.tsx index c7a44d6c570a9c..47f169e59abf0f 100644 --- a/packages/mui-joy/src/SvgIcon/SvgIcon.test.tsx +++ b/packages/mui-joy/src/SvgIcon/SvgIcon.test.tsx @@ -1,6 +1,6 @@ import * as React from 'react'; import { expect } from 'chai'; -import { createRenderer, describeConformance } from '@mui-internal/test-utilities'; +import { createRenderer, describeConformance } from '@mui-internal/test-utils'; import { unstable_capitalize as capitalize } from '@mui/utils'; import SvgIcon, { svgIconClasses as classes, diff --git a/packages/mui-joy/src/Switch/Switch.test.tsx b/packages/mui-joy/src/Switch/Switch.test.tsx index 9fd068388be8aa..014c0baf54c62c 100644 --- a/packages/mui-joy/src/Switch/Switch.test.tsx +++ b/packages/mui-joy/src/Switch/Switch.test.tsx @@ -7,7 +7,7 @@ import { createRenderer, fireEvent, screen, -} from '@mui-internal/test-utilities'; +} from '@mui-internal/test-utils'; import Switch, { switchClasses as classes } from '@mui/joy/Switch'; import { ThemeProvider } from '@mui/joy/styles'; diff --git a/packages/mui-joy/src/Tab/Tab.test.tsx b/packages/mui-joy/src/Tab/Tab.test.tsx index df5e1d22e1f791..538a9845f194f7 100644 --- a/packages/mui-joy/src/Tab/Tab.test.tsx +++ b/packages/mui-joy/src/Tab/Tab.test.tsx @@ -5,7 +5,7 @@ import { createRenderer, screen, describeJoyColorInversion, -} from '@mui-internal/test-utilities'; +} from '@mui-internal/test-utils'; import { TabsProps } from '@mui/base/Tabs'; import { useTabs, TabsProvider as BaseTabsProvider } from '@mui/base/useTabs'; import { useTabsList, TabsListProvider as BaseTabsListProvider } from '@mui/base/useTabsList'; diff --git a/packages/mui-joy/src/TabList/TabList.test.tsx b/packages/mui-joy/src/TabList/TabList.test.tsx index ce19c4ee3f391c..5dbd76080dcacd 100644 --- a/packages/mui-joy/src/TabList/TabList.test.tsx +++ b/packages/mui-joy/src/TabList/TabList.test.tsx @@ -5,7 +5,7 @@ import { createRenderer, screen, describeJoyColorInversion, -} from '@mui-internal/test-utilities'; +} from '@mui-internal/test-utils'; import { TabsProps } from '@mui/base/Tabs'; import { useTabs, TabsProvider as BaseTabsProvider } from '@mui/base/useTabs'; import { ThemeProvider } from '@mui/joy/styles'; diff --git a/packages/mui-joy/src/TabPanel/TabPanel.test.tsx b/packages/mui-joy/src/TabPanel/TabPanel.test.tsx index 910c4459ef23ce..cab2e72d8dd44b 100644 --- a/packages/mui-joy/src/TabPanel/TabPanel.test.tsx +++ b/packages/mui-joy/src/TabPanel/TabPanel.test.tsx @@ -1,6 +1,6 @@ import * as React from 'react'; import { expect } from 'chai'; -import { describeConformance, createRenderer, screen } from '@mui-internal/test-utilities'; +import { describeConformance, createRenderer, screen } from '@mui-internal/test-utils'; import { TabsProps } from '@mui/base/Tabs'; import { useTabs, TabsProvider as BaseTabsProvider } from '@mui/base/useTabs'; import { ThemeProvider } from '@mui/joy/styles'; diff --git a/packages/mui-joy/src/Table/Table.test.tsx b/packages/mui-joy/src/Table/Table.test.tsx index 254046f03e8914..843f73cf9bdf7b 100644 --- a/packages/mui-joy/src/Table/Table.test.tsx +++ b/packages/mui-joy/src/Table/Table.test.tsx @@ -4,7 +4,7 @@ import { createRenderer, describeConformance, describeJoyColorInversion, -} from '@mui-internal/test-utilities'; +} from '@mui-internal/test-utils'; import { unstable_capitalize as capitalize } from '@mui/utils'; import { ThemeProvider } from '@mui/joy/styles'; import Table, { tableClasses as classes } from '@mui/joy/Table'; diff --git a/packages/mui-joy/src/Tabs/Tabs.test.tsx b/packages/mui-joy/src/Tabs/Tabs.test.tsx index b5a2fcf6f41aba..56052e1b00d5bd 100644 --- a/packages/mui-joy/src/Tabs/Tabs.test.tsx +++ b/packages/mui-joy/src/Tabs/Tabs.test.tsx @@ -5,7 +5,7 @@ import { createRenderer, screen, describeJoyColorInversion, -} from '@mui-internal/test-utilities'; +} from '@mui-internal/test-utils'; import { ThemeProvider } from '@mui/joy/styles'; import Tabs, { tabsClasses as classes } from '@mui/joy/Tabs'; import SizeTabsContext from './SizeTabsContext'; diff --git a/packages/mui-joy/src/Textarea/Textarea.test.tsx b/packages/mui-joy/src/Textarea/Textarea.test.tsx index ee94d3fb1a7087..9df58d9be64752 100644 --- a/packages/mui-joy/src/Textarea/Textarea.test.tsx +++ b/packages/mui-joy/src/Textarea/Textarea.test.tsx @@ -8,7 +8,7 @@ import { screen, act, fireEvent, -} from '@mui-internal/test-utilities'; +} from '@mui-internal/test-utils'; import Textarea, { textareaClasses as classes } from '@mui/joy/Textarea'; import { ThemeProvider } from '@mui/joy/styles'; diff --git a/packages/mui-joy/src/ToggleButtonGroup/ToggleButtonGroup.test.tsx b/packages/mui-joy/src/ToggleButtonGroup/ToggleButtonGroup.test.tsx index 35ebd6ed2da6aa..9ab59c31f052eb 100644 --- a/packages/mui-joy/src/ToggleButtonGroup/ToggleButtonGroup.test.tsx +++ b/packages/mui-joy/src/ToggleButtonGroup/ToggleButtonGroup.test.tsx @@ -1,7 +1,7 @@ import * as React from 'react'; import { expect } from 'chai'; import { spy } from 'sinon'; -import { createRenderer, describeConformance, screen } from '@mui-internal/test-utilities'; +import { createRenderer, describeConformance, screen } from '@mui-internal/test-utils'; import { ThemeProvider } from '@mui/joy/styles'; import ToggleButtonGroup, { toggleButtonGroupClasses as classes } from '@mui/joy/ToggleButtonGroup'; import Button from '@mui/joy/Button'; diff --git a/packages/mui-joy/src/Tooltip/Tooltip.test.tsx b/packages/mui-joy/src/Tooltip/Tooltip.test.tsx index b444790fdb235d..92daed9f4dda4f 100644 --- a/packages/mui-joy/src/Tooltip/Tooltip.test.tsx +++ b/packages/mui-joy/src/Tooltip/Tooltip.test.tsx @@ -4,7 +4,7 @@ import { createRenderer, describeConformance, describeJoyColorInversion, -} from '@mui-internal/test-utilities'; +} from '@mui-internal/test-utils'; import { unstable_capitalize as capitalize } from '@mui/utils'; import { PopperProps } from '@mui/base'; import { ThemeProvider } from '@mui/joy/styles'; diff --git a/packages/mui-joy/src/Typography/Typography.test.tsx b/packages/mui-joy/src/Typography/Typography.test.tsx index 0b637ab7e42ad9..b372586094dfe6 100644 --- a/packages/mui-joy/src/Typography/Typography.test.tsx +++ b/packages/mui-joy/src/Typography/Typography.test.tsx @@ -4,7 +4,7 @@ import { createRenderer, describeConformance, describeJoyColorInversion, -} from '@mui-internal/test-utilities'; +} from '@mui-internal/test-utils'; import Typography, { typographyClasses as classes, TypographyProps } from '@mui/joy/Typography'; import { ThemeProvider } from '@mui/joy/styles'; diff --git a/packages/mui-joy/src/styles/ColorInversion.test.js b/packages/mui-joy/src/styles/ColorInversion.test.js index 98a7c5e8a75af7..7b1a4af927157b 100644 --- a/packages/mui-joy/src/styles/ColorInversion.test.js +++ b/packages/mui-joy/src/styles/ColorInversion.test.js @@ -1,7 +1,7 @@ import * as React from 'react'; import { expect } from 'chai'; import sinon from 'sinon'; -import { createRenderer } from '@mui-internal/test-utilities'; +import { createRenderer } from '@mui-internal/test-utils'; import useThemeProps from './useThemeProps'; import ThemeProvider from './ThemeProvider'; import ColorInversion, { useColorInversion } from './ColorInversion'; diff --git a/packages/mui-joy/src/styles/CssVarsProvider.test.tsx b/packages/mui-joy/src/styles/CssVarsProvider.test.tsx index e168edbe3bc3ce..7d139fda1b3ec7 100644 --- a/packages/mui-joy/src/styles/CssVarsProvider.test.tsx +++ b/packages/mui-joy/src/styles/CssVarsProvider.test.tsx @@ -1,6 +1,6 @@ import * as React from 'react'; import { expect } from 'chai'; -import { createRenderer, screen } from '@mui-internal/test-utilities'; +import { createRenderer, screen } from '@mui-internal/test-utils'; import { CssVarsProvider, extendTheme, useTheme, shouldSkipGeneratingVar } from '@mui/joy/styles'; describe('[Joy] CssVarsProvider', () => { diff --git a/packages/mui-joy/src/styles/ThemeProvider.test.tsx b/packages/mui-joy/src/styles/ThemeProvider.test.tsx index 3453dd7b6c74b2..584192f0748373 100644 --- a/packages/mui-joy/src/styles/ThemeProvider.test.tsx +++ b/packages/mui-joy/src/styles/ThemeProvider.test.tsx @@ -1,6 +1,6 @@ import * as React from 'react'; import { expect } from 'chai'; -import { createRenderer } from '@mui-internal/test-utilities'; +import { createRenderer } from '@mui-internal/test-utils'; import { ThemeProvider, useTheme } from '@mui/joy/styles'; import defaultTheme from './defaultTheme'; diff --git a/packages/mui-joy/src/styles/extendTheme.test.js b/packages/mui-joy/src/styles/extendTheme.test.js index 60caa0fa435640..88a47614004503 100644 --- a/packages/mui-joy/src/styles/extendTheme.test.js +++ b/packages/mui-joy/src/styles/extendTheme.test.js @@ -1,6 +1,6 @@ import * as React from 'react'; import { expect } from 'chai'; -import { createRenderer } from '@mui-internal/test-utilities'; +import { createRenderer } from '@mui-internal/test-utils'; import { extendTheme, useTheme, CssVarsProvider } from '@mui/joy/styles'; describe('extendTheme', () => { diff --git a/packages/mui-joy/src/styles/styled.test.tsx b/packages/mui-joy/src/styles/styled.test.tsx index 8f6e79602ad9d7..7a555ddaababef 100644 --- a/packages/mui-joy/src/styles/styled.test.tsx +++ b/packages/mui-joy/src/styles/styled.test.tsx @@ -1,6 +1,6 @@ import * as React from 'react'; import { expect } from 'chai'; -import { createRenderer } from '@mui-internal/test-utilities'; +import { createRenderer } from '@mui-internal/test-utils'; import { CssVarsProvider, ThemeProvider, styled, extendTheme } from '@mui/joy/styles'; import defaultTheme from './defaultTheme'; diff --git a/packages/mui-joy/src/styles/variantColorInheritance.test.tsx b/packages/mui-joy/src/styles/variantColorInheritance.test.tsx index 808aadf37701be..d6f967869565ee 100644 --- a/packages/mui-joy/src/styles/variantColorInheritance.test.tsx +++ b/packages/mui-joy/src/styles/variantColorInheritance.test.tsx @@ -1,6 +1,6 @@ import * as React from 'react'; import { expect } from 'chai'; -import { createRenderer } from '@mui-internal/test-utilities'; +import { createRenderer } from '@mui-internal/test-utils'; import { VariantColorProvider, useVariantColor } from './variantColorInheritance'; describe('VariantColorProvider', () => { diff --git a/packages/mui-joy/src/utils/useSlot.test.tsx b/packages/mui-joy/src/utils/useSlot.test.tsx index 5cee65b078009c..0684216f95ac35 100644 --- a/packages/mui-joy/src/utils/useSlot.test.tsx +++ b/packages/mui-joy/src/utils/useSlot.test.tsx @@ -1,6 +1,6 @@ import * as React from 'react'; import { expect } from 'chai'; -import { createRenderer } from '@mui-internal/test-utilities'; +import { createRenderer } from '@mui-internal/test-utils'; import { Popper } from '@mui/base/Popper'; import { ColorPaletteProp, styled, VariantProp } from '../styles'; import { CreateSlotsAndSlotProps, SlotProps } from './types'; diff --git a/packages/mui-joy/test/integration/TabsIntegration.test.tsx b/packages/mui-joy/test/integration/TabsIntegration.test.tsx index 2aa5b49ae12064..6a27f964e0cbb0 100644 --- a/packages/mui-joy/test/integration/TabsIntegration.test.tsx +++ b/packages/mui-joy/test/integration/TabsIntegration.test.tsx @@ -1,6 +1,6 @@ import * as React from 'react'; import { expect } from 'chai'; -import { createRenderer } from '@mui-internal/test-utilities'; +import { createRenderer } from '@mui-internal/test-utils'; import Tabs from '@mui/joy/Tabs'; import TabList from '@mui/joy/TabList'; import Tab from '@mui/joy/Tab'; diff --git a/packages/mui-lab/package.json b/packages/mui-lab/package.json index e560c6419f186b..2321840f7a2da0 100644 --- a/packages/mui-lab/package.json +++ b/packages/mui-lab/package.json @@ -51,7 +51,7 @@ "prop-types": "^15.8.1" }, "devDependencies": { - "@mui-internal/test-utilities": "^1.0.0", + "@mui-internal/test-utils": "^1.0.0", "@types/chai": "^4.3.5", "@types/prop-types": "^15.7.5", "@types/react": "^18.2.21", diff --git a/packages/mui-lab/src/LoadingButton/LoadingButton.test.js b/packages/mui-lab/src/LoadingButton/LoadingButton.test.js index 84c40808ad280a..ceea7217e298c8 100644 --- a/packages/mui-lab/src/LoadingButton/LoadingButton.test.js +++ b/packages/mui-lab/src/LoadingButton/LoadingButton.test.js @@ -1,5 +1,5 @@ import * as React from 'react'; -import { createRenderer, describeConformance, screen, within } from '@mui-internal/test-utilities'; +import { createRenderer, describeConformance, screen, within } from '@mui-internal/test-utils'; import { expect } from 'chai'; import Button from '@mui/material/Button'; import LoadingButton, { loadingButtonClasses as classes } from '@mui/lab/LoadingButton'; diff --git a/packages/mui-lab/src/Masonry/Masonry.test.js b/packages/mui-lab/src/Masonry/Masonry.test.js index 0988b65748caff..7320e3aaaf49df 100644 --- a/packages/mui-lab/src/Masonry/Masonry.test.js +++ b/packages/mui-lab/src/Masonry/Masonry.test.js @@ -1,5 +1,5 @@ import * as React from 'react'; -import { createRenderer, describeConformance } from '@mui-internal/test-utilities'; +import { createRenderer, describeConformance } from '@mui-internal/test-utils'; import { expect } from 'chai'; import { createTheme } from '@mui/material/styles'; import defaultTheme from '@mui/material/styles/defaultTheme'; diff --git a/packages/mui-lab/src/TabContext/TabContext.test.js b/packages/mui-lab/src/TabContext/TabContext.test.js index 1af3c014534a8a..657bae9e853620 100644 --- a/packages/mui-lab/src/TabContext/TabContext.test.js +++ b/packages/mui-lab/src/TabContext/TabContext.test.js @@ -2,7 +2,7 @@ import * as React from 'react'; import * as ReactDOMServer from 'react-dom/server'; import { expect } from 'chai'; -import { createRenderer } from '@mui-internal/test-utilities'; +import { createRenderer } from '@mui-internal/test-utils'; import TabContext, { getPanelId, getTabId, useTabContext } from './TabContext'; describe('', () => { diff --git a/packages/mui-lab/src/TabList/TabList.test.js b/packages/mui-lab/src/TabList/TabList.test.js index c514b7d793362b..6419a4cb31c9f6 100644 --- a/packages/mui-lab/src/TabList/TabList.test.js +++ b/packages/mui-lab/src/TabList/TabList.test.js @@ -1,7 +1,7 @@ // @ts-check import * as React from 'react'; import { expect } from 'chai'; -import { createRenderer, describeConformance } from '@mui-internal/test-utilities'; +import { createRenderer, describeConformance } from '@mui-internal/test-utils'; import Tab from '@mui/material/Tab'; import Tabs, { tabsClasses as classes } from '@mui/material/Tabs'; import TabList from './TabList'; diff --git a/packages/mui-lab/src/TabPanel/TabPanel.test.tsx b/packages/mui-lab/src/TabPanel/TabPanel.test.tsx index efa20aa1134b3c..00db045f2b2a60 100644 --- a/packages/mui-lab/src/TabPanel/TabPanel.test.tsx +++ b/packages/mui-lab/src/TabPanel/TabPanel.test.tsx @@ -1,6 +1,6 @@ import * as React from 'react'; import { expect } from 'chai'; -import { createRenderer, describeConformance } from '@mui-internal/test-utilities'; +import { createRenderer, describeConformance } from '@mui-internal/test-utils'; import TabPanel, { tabPanelClasses as classes } from '@mui/lab/TabPanel'; import TabContext from '../TabContext'; diff --git a/packages/mui-lab/src/Timeline/Timeline.test.tsx b/packages/mui-lab/src/Timeline/Timeline.test.tsx index fb57753371d3b8..bdec9ccdfdd988 100644 --- a/packages/mui-lab/src/Timeline/Timeline.test.tsx +++ b/packages/mui-lab/src/Timeline/Timeline.test.tsx @@ -1,6 +1,6 @@ import * as React from 'react'; import { expect } from 'chai'; -import { createRenderer, describeConformance, screen } from '@mui-internal/test-utilities'; +import { createRenderer, describeConformance, screen } from '@mui-internal/test-utils'; import Timeline, { timelineClasses as classes } from '@mui/lab/Timeline'; describe('', () => { diff --git a/packages/mui-lab/src/TimelineConnector/TimelineConnector.test.js b/packages/mui-lab/src/TimelineConnector/TimelineConnector.test.js index 80b438a2a2743d..48bb30ebca0a27 100644 --- a/packages/mui-lab/src/TimelineConnector/TimelineConnector.test.js +++ b/packages/mui-lab/src/TimelineConnector/TimelineConnector.test.js @@ -1,5 +1,5 @@ import * as React from 'react'; -import { createRenderer, describeConformance } from '@mui-internal/test-utilities'; +import { createRenderer, describeConformance } from '@mui-internal/test-utils'; import TimelineConnector, { timelineConnectorClasses as classes } from '@mui/lab/TimelineConnector'; describe('', () => { diff --git a/packages/mui-lab/src/TimelineContent/TimelineContent.test.js b/packages/mui-lab/src/TimelineContent/TimelineContent.test.js index f854a9602044e0..bae2b2dd90e6c4 100644 --- a/packages/mui-lab/src/TimelineContent/TimelineContent.test.js +++ b/packages/mui-lab/src/TimelineContent/TimelineContent.test.js @@ -1,6 +1,6 @@ import * as React from 'react'; import { expect } from 'chai'; -import { createRenderer, describeConformance } from '@mui-internal/test-utilities'; +import { createRenderer, describeConformance } from '@mui-internal/test-utils'; import Typography from '@mui/material/Typography'; import Timeline from '@mui/lab/Timeline'; import TimelineItem from '@mui/lab/TimelineItem'; diff --git a/packages/mui-lab/src/TimelineDot/TimelineDot.test.js b/packages/mui-lab/src/TimelineDot/TimelineDot.test.js index 9a5f846c3f4c50..8a6619363b972a 100644 --- a/packages/mui-lab/src/TimelineDot/TimelineDot.test.js +++ b/packages/mui-lab/src/TimelineDot/TimelineDot.test.js @@ -1,6 +1,6 @@ import * as React from 'react'; import { expect } from 'chai'; -import { createRenderer, describeConformance } from '@mui-internal/test-utilities'; +import { createRenderer, describeConformance } from '@mui-internal/test-utils'; import TimelineDot, { timelineDotClasses as classes } from '@mui/lab/TimelineDot'; describe('', () => { diff --git a/packages/mui-lab/src/TimelineItem/TimelineItem.test.js b/packages/mui-lab/src/TimelineItem/TimelineItem.test.js index d51b5e18dffdd3..532af2a2fac603 100644 --- a/packages/mui-lab/src/TimelineItem/TimelineItem.test.js +++ b/packages/mui-lab/src/TimelineItem/TimelineItem.test.js @@ -1,5 +1,5 @@ import * as React from 'react'; -import { createRenderer, describeConformance } from '@mui-internal/test-utilities'; +import { createRenderer, describeConformance } from '@mui-internal/test-utils'; import TimelineItem, { timelineItemClasses as classes } from '@mui/lab/TimelineItem'; describe('', () => { diff --git a/packages/mui-lab/src/TimelineOppositeContent/TimelineOppositeContent.test.js b/packages/mui-lab/src/TimelineOppositeContent/TimelineOppositeContent.test.js index 285355fa9f9389..0b3087893f291e 100644 --- a/packages/mui-lab/src/TimelineOppositeContent/TimelineOppositeContent.test.js +++ b/packages/mui-lab/src/TimelineOppositeContent/TimelineOppositeContent.test.js @@ -1,6 +1,6 @@ import * as React from 'react'; import { expect } from 'chai'; -import { createRenderer, describeConformance } from '@mui-internal/test-utilities'; +import { createRenderer, describeConformance } from '@mui-internal/test-utils'; import Typography from '@mui/material/Typography'; import Timeline from '@mui/lab/Timeline'; import TimelineItem from '@mui/lab/TimelineItem'; diff --git a/packages/mui-lab/src/TimelineSeparator/TimelineSeparator.test.js b/packages/mui-lab/src/TimelineSeparator/TimelineSeparator.test.js index eaa477b1f6eeb8..e2c9f61aa7d109 100644 --- a/packages/mui-lab/src/TimelineSeparator/TimelineSeparator.test.js +++ b/packages/mui-lab/src/TimelineSeparator/TimelineSeparator.test.js @@ -1,5 +1,5 @@ import * as React from 'react'; -import { createRenderer, describeConformance } from '@mui-internal/test-utilities'; +import { createRenderer, describeConformance } from '@mui-internal/test-utils'; import TimelineSeparator, { timelineSeparatorClasses as classes } from '@mui/lab/TimelineSeparator'; describe('', () => { diff --git a/packages/mui-lab/test/integration/Tabs.test.js b/packages/mui-lab/test/integration/Tabs.test.js index 861b0f9f82f4c8..4106b9f10a8e22 100644 --- a/packages/mui-lab/test/integration/Tabs.test.js +++ b/packages/mui-lab/test/integration/Tabs.test.js @@ -1,6 +1,6 @@ import * as React from 'react'; import { expect } from 'chai'; -import { createRenderer } from '@mui-internal/test-utilities'; +import { createRenderer } from '@mui-internal/test-utils'; import Tab from '@mui/material/Tab'; import TabContext from '@mui/lab/TabContext'; import TabList from '@mui/lab/TabList'; diff --git a/packages/mui-material-next/package.json b/packages/mui-material-next/package.json index 945b48981b3749..cb0b1f894b4215 100644 --- a/packages/mui-material-next/package.json +++ b/packages/mui-material-next/package.json @@ -52,7 +52,7 @@ "react-transition-group": "^4.4.5" }, "devDependencies": { - "@mui-internal/test-utilities": "^1.0.0", + "@mui-internal/test-utils": "^1.0.0", "@testing-library/user-event": "^14.4.3", "@types/chai": "^4.3.5", "@types/prop-types": "^15.7.5", diff --git a/packages/mui-material-next/src/Badge/Badge.test.tsx b/packages/mui-material-next/src/Badge/Badge.test.tsx index 1bcd6849481cae..22d881a4e1a0a7 100644 --- a/packages/mui-material-next/src/Badge/Badge.test.tsx +++ b/packages/mui-material-next/src/Badge/Badge.test.tsx @@ -1,6 +1,6 @@ import * as React from 'react'; import { expect } from 'chai'; -import { createRenderer, describeConformance } from '@mui-internal/test-utilities'; +import { createRenderer, describeConformance } from '@mui-internal/test-utils'; import Badge, { badgeClasses as classes } from '@mui/material-next/Badge'; import { CssVarsProvider, extendTheme } from '@mui/material-next/styles'; diff --git a/packages/mui-material-next/src/Button/Button.test.js b/packages/mui-material-next/src/Button/Button.test.js index a328f29c4cc8a9..7edd62846b1603 100644 --- a/packages/mui-material-next/src/Button/Button.test.js +++ b/packages/mui-material-next/src/Button/Button.test.js @@ -1,7 +1,7 @@ import * as React from 'react'; import { expect } from 'chai'; import { spy } from 'sinon'; -import { describeConformance, createRenderer, fireEvent, act } from '@mui-internal/test-utilities'; +import { describeConformance, createRenderer, fireEvent, act } from '@mui-internal/test-utils'; import { camelCase } from 'lodash'; import Button, { buttonClasses as classes } from '@mui/material-next/Button'; import { CssVarsProvider, extendTheme } from '@mui/material-next/styles'; diff --git a/packages/mui-material-next/src/ButtonBase/ButtonBase.test.tsx b/packages/mui-material-next/src/ButtonBase/ButtonBase.test.tsx index a43c46e451c1d8..a5ae1e5528469c 100644 --- a/packages/mui-material-next/src/ButtonBase/ButtonBase.test.tsx +++ b/packages/mui-material-next/src/ButtonBase/ButtonBase.test.tsx @@ -12,7 +12,7 @@ import { focusVisible, simulatePointerDevice, programmaticFocusTriggersFocusVisible, -} from '@mui-internal/test-utilities'; +} from '@mui-internal/test-utils'; import PropTypes from 'prop-types'; import { MuiCancellableEventHandler } from '@mui/base/utils/MuiCancellableEvent'; import { CssVarsProvider, extendTheme } from '@mui/material-next/styles'; diff --git a/packages/mui-material-next/src/ButtonBase/Ripple.test.js b/packages/mui-material-next/src/ButtonBase/Ripple.test.js index 69f2250e60bb2b..fa583ab6a62244 100644 --- a/packages/mui-material-next/src/ButtonBase/Ripple.test.js +++ b/packages/mui-material-next/src/ButtonBase/Ripple.test.js @@ -1,7 +1,7 @@ import * as React from 'react'; import { expect } from 'chai'; import { spy } from 'sinon'; -import { createRenderer } from '@mui-internal/test-utilities'; +import { createRenderer } from '@mui-internal/test-utils'; import Ripple from './Ripple'; import classes from './touchRippleClasses'; diff --git a/packages/mui-material-next/src/ButtonBase/TouchRipple.test.js b/packages/mui-material-next/src/ButtonBase/TouchRipple.test.js index f89a0db6129758..a056cea0f10d60 100644 --- a/packages/mui-material-next/src/ButtonBase/TouchRipple.test.js +++ b/packages/mui-material-next/src/ButtonBase/TouchRipple.test.js @@ -1,6 +1,6 @@ import * as React from 'react'; import { expect } from 'chai'; -import { describeConformance, act, createRenderer } from '@mui-internal/test-utilities'; +import { describeConformance, act, createRenderer } from '@mui-internal/test-utils'; import TouchRipple, { DELAY_RIPPLE } from './TouchRipple'; const cb = () => {}; diff --git a/packages/mui-material-next/src/Chip/Chip.test.js b/packages/mui-material-next/src/Chip/Chip.test.js index 2ab0df7a962b05..72362765fb4688 100644 --- a/packages/mui-material-next/src/Chip/Chip.test.js +++ b/packages/mui-material-next/src/Chip/Chip.test.js @@ -9,7 +9,7 @@ import { focusVisible, simulatePointerDevice, programmaticFocusTriggersFocusVisible, -} from '@mui-internal/test-utilities'; +} from '@mui-internal/test-utils'; import { hexToRgb } from '@mui/system'; import { createTheme } from '@mui/material/styles'; import Avatar from '@mui/material/Avatar'; diff --git a/packages/mui-material-next/src/Input/Input.test.js b/packages/mui-material-next/src/Input/Input.test.js index 2cb0cbfa265b46..1882b3e36d6024 100644 --- a/packages/mui-material-next/src/Input/Input.test.js +++ b/packages/mui-material-next/src/Input/Input.test.js @@ -8,7 +8,7 @@ import { createRenderer, fireEvent, screen, -} from '@mui-internal/test-utilities'; +} from '@mui-internal/test-utils'; import Input, { inputClasses as classes } from '@mui/material-next/Input'; describe('', () => { diff --git a/packages/mui-material-next/src/InputBase/InputBase.test.js b/packages/mui-material-next/src/InputBase/InputBase.test.js index 6264182288dde6..3774b529c76751 100644 --- a/packages/mui-material-next/src/InputBase/InputBase.test.js +++ b/packages/mui-material-next/src/InputBase/InputBase.test.js @@ -9,7 +9,7 @@ import { createRenderer, fireEvent, screen, -} from '@mui-internal/test-utilities'; +} from '@mui-internal/test-utils'; import { ThemeProvider } from '@emotion/react'; import FormControl, { useFormControl } from '@mui/material/FormControl'; import InputAdornment from '@mui/material/InputAdornment'; diff --git a/packages/mui-material-next/src/Slider/Slider.test.js b/packages/mui-material-next/src/Slider/Slider.test.js index 9fc4852c0b5c59..da7dc8d96917b4 100644 --- a/packages/mui-material-next/src/Slider/Slider.test.js +++ b/packages/mui-material-next/src/Slider/Slider.test.js @@ -8,7 +8,7 @@ import { createRenderer, fireEvent, screen, -} from '@mui-internal/test-utilities'; +} from '@mui-internal/test-utils'; import { Slider as BaseSlider } from '@mui/base/Slider'; import { CssVarsProvider, extendTheme } from '@mui/material-next/styles'; import Slider, { sliderClasses as classes } from '@mui/material-next/Slider'; diff --git a/packages/mui-material-next/src/Tab/Tab.test.js b/packages/mui-material-next/src/Tab/Tab.test.js index be784a145c08a2..ac5fdb6e89c8e9 100644 --- a/packages/mui-material-next/src/Tab/Tab.test.js +++ b/packages/mui-material-next/src/Tab/Tab.test.js @@ -3,7 +3,7 @@ import Tab, { tabClasses as classes } from '@mui/material/Tab'; import { expect } from 'chai'; import * as React from 'react'; import { spy } from 'sinon'; -import { act, createRenderer, describeConformance, fireEvent } from '@mui-internal/test-utilities'; +import { act, createRenderer, describeConformance, fireEvent } from '@mui-internal/test-utils'; describe('', () => { const { render } = createRenderer(); diff --git a/packages/mui-material-next/src/TabScrollButton/TabScrollButton.test.js b/packages/mui-material-next/src/TabScrollButton/TabScrollButton.test.js index d15cdc720be705..ee5440fc203fd8 100644 --- a/packages/mui-material-next/src/TabScrollButton/TabScrollButton.test.js +++ b/packages/mui-material-next/src/TabScrollButton/TabScrollButton.test.js @@ -1,6 +1,6 @@ import * as React from 'react'; import { expect } from 'chai'; -import { createRenderer, describeConformance } from '@mui-internal/test-utilities'; +import { createRenderer, describeConformance } from '@mui-internal/test-utils'; import TabScrollButton, { tabScrollButtonClasses as classes, } from '@mui/material-next/TabScrollButton'; diff --git a/packages/mui-material-next/src/TablePagination/TablePagination.test.js b/packages/mui-material-next/src/TablePagination/TablePagination.test.js index 88f854d7828375..aaf143d62a87b5 100644 --- a/packages/mui-material-next/src/TablePagination/TablePagination.test.js +++ b/packages/mui-material-next/src/TablePagination/TablePagination.test.js @@ -2,7 +2,7 @@ import * as React from 'react'; import { expect } from 'chai'; import { spy } from 'sinon'; import PropTypes from 'prop-types'; -import { describeConformance, fireEvent, createRenderer } from '@mui-internal/test-utilities'; +import { describeConformance, fireEvent, createRenderer } from '@mui-internal/test-utils'; import TableFooter from '@mui/material/TableFooter'; import TableCell from '@mui/material/TableCell'; import TableRow from '@mui/material/TableRow'; diff --git a/packages/mui-material-next/src/Tabs/ScrollbarSize.test.js b/packages/mui-material-next/src/Tabs/ScrollbarSize.test.js index b3ef873726cc5b..eb6e6899303525 100644 --- a/packages/mui-material-next/src/Tabs/ScrollbarSize.test.js +++ b/packages/mui-material-next/src/Tabs/ScrollbarSize.test.js @@ -1,7 +1,7 @@ import * as React from 'react'; import { expect } from 'chai'; import { spy, stub } from 'sinon'; -import { createRenderer } from '@mui-internal/test-utilities'; +import { createRenderer } from '@mui-internal/test-utils'; import ScrollbarSize from './ScrollbarSize'; describe('', () => { diff --git a/packages/mui-material-next/src/Tabs/Tabs.test.js b/packages/mui-material-next/src/Tabs/Tabs.test.js index 079ef5c107bec4..085af0c5d1e9af 100644 --- a/packages/mui-material-next/src/Tabs/Tabs.test.js +++ b/packages/mui-material-next/src/Tabs/Tabs.test.js @@ -8,7 +8,7 @@ import { fireEvent, screen, strictModeDoubleLoggingSuppressed, -} from '@mui-internal/test-utilities'; +} from '@mui-internal/test-utils'; import { createTheme, ThemeProvider } from '@mui/material/styles'; import { unstable_capitalize as capitalize } from '@mui/utils'; import Tab from '@mui/material-next/Tab'; diff --git a/packages/mui-material-next/src/styles/styled.test.js b/packages/mui-material-next/src/styles/styled.test.js index 66628a263c0a2a..720850622207fe 100644 --- a/packages/mui-material-next/src/styles/styled.test.js +++ b/packages/mui-material-next/src/styles/styled.test.js @@ -1,6 +1,6 @@ import * as React from 'react'; import { expect } from 'chai'; -import { createRenderer, screen } from '@mui-internal/test-utilities'; +import { createRenderer, screen } from '@mui-internal/test-utils'; import { styled } from '@mui/material-next/styles'; describe('styled', () => { diff --git a/packages/mui-material/package.json b/packages/mui-material/package.json index 7050550514ce0e..0e1638299fbbf6 100644 --- a/packages/mui-material/package.json +++ b/packages/mui-material/package.json @@ -59,7 +59,7 @@ "@mui/icons-material": "^5.14.9", "@mui/lab": "^5.0.0-alpha.145", "@mui/styles": "^5.14.10", - "@mui-internal/test-utilities": "^1.0.0", + "@mui-internal/test-utils": "^1.0.0", "@popperjs/core": "^2.11.8", "@rollup/plugin-replace": "^5.0.2", "@testing-library/dom": "^9.3.1", diff --git a/packages/mui-material/src/Accordion/Accordion.test.js b/packages/mui-material/src/Accordion/Accordion.test.js index ebc37b62747a3b..60d596a0abf0e2 100644 --- a/packages/mui-material/src/Accordion/Accordion.test.js +++ b/packages/mui-material/src/Accordion/Accordion.test.js @@ -2,7 +2,7 @@ import * as React from 'react'; import PropTypes from 'prop-types'; import { expect } from 'chai'; import { spy } from 'sinon'; -import { describeConformance, createRenderer, fireEvent } from '@mui-internal/test-utilities'; +import { describeConformance, createRenderer, fireEvent } from '@mui-internal/test-utils'; import Accordion, { accordionClasses as classes } from '@mui/material/Accordion'; import Paper from '@mui/material/Paper'; import AccordionSummary from '@mui/material/AccordionSummary'; diff --git a/packages/mui-material/src/AccordionActions/AccordionActions.test.js b/packages/mui-material/src/AccordionActions/AccordionActions.test.js index fad75b57e6b290..82f6abbc674d5d 100644 --- a/packages/mui-material/src/AccordionActions/AccordionActions.test.js +++ b/packages/mui-material/src/AccordionActions/AccordionActions.test.js @@ -1,5 +1,5 @@ import * as React from 'react'; -import { createRenderer, describeConformance } from '@mui-internal/test-utilities'; +import { createRenderer, describeConformance } from '@mui-internal/test-utils'; import AccordionActions, { accordionActionsClasses as classes, } from '@mui/material/AccordionActions'; diff --git a/packages/mui-material/src/AccordionDetails/AccordionDetails.test.js b/packages/mui-material/src/AccordionDetails/AccordionDetails.test.js index 129295d603698e..ced854a3fbbbcb 100644 --- a/packages/mui-material/src/AccordionDetails/AccordionDetails.test.js +++ b/packages/mui-material/src/AccordionDetails/AccordionDetails.test.js @@ -1,6 +1,6 @@ import * as React from 'react'; import { expect } from 'chai'; -import { createRenderer, describeConformance } from '@mui-internal/test-utilities'; +import { createRenderer, describeConformance } from '@mui-internal/test-utils'; import AccordionDetails, { accordionDetailsClasses as classes, } from '@mui/material/AccordionDetails'; diff --git a/packages/mui-material/src/AccordionSummary/AccordionSummary.test.js b/packages/mui-material/src/AccordionSummary/AccordionSummary.test.js index fa5f6e00dc197d..8db043bb46dada 100644 --- a/packages/mui-material/src/AccordionSummary/AccordionSummary.test.js +++ b/packages/mui-material/src/AccordionSummary/AccordionSummary.test.js @@ -1,7 +1,7 @@ import * as React from 'react'; import { expect } from 'chai'; import { spy } from 'sinon'; -import { describeConformance, act, createRenderer, fireEvent } from '@mui-internal/test-utilities'; +import { describeConformance, act, createRenderer, fireEvent } from '@mui-internal/test-utils'; import AccordionSummary, { accordionSummaryClasses as classes, } from '@mui/material/AccordionSummary'; diff --git a/packages/mui-material/src/Alert/Alert.test.js b/packages/mui-material/src/Alert/Alert.test.js index ccc71d725394d7..8914928c7ff6b4 100644 --- a/packages/mui-material/src/Alert/Alert.test.js +++ b/packages/mui-material/src/Alert/Alert.test.js @@ -1,6 +1,6 @@ import * as React from 'react'; import { expect } from 'chai'; -import { createRenderer, describeConformance, screen } from '@mui-internal/test-utilities'; +import { createRenderer, describeConformance, screen } from '@mui-internal/test-utils'; import { ThemeProvider, createTheme } from '@mui/material/styles'; import Alert, { alertClasses as classes } from '@mui/material/Alert'; import Paper, { paperClasses } from '@mui/material/Paper'; diff --git a/packages/mui-material/src/AlertTitle/AlertTitle.test.js b/packages/mui-material/src/AlertTitle/AlertTitle.test.js index e79a81000a2f3a..986029a69be08e 100644 --- a/packages/mui-material/src/AlertTitle/AlertTitle.test.js +++ b/packages/mui-material/src/AlertTitle/AlertTitle.test.js @@ -1,5 +1,5 @@ import * as React from 'react'; -import { createRenderer, describeConformance } from '@mui-internal/test-utilities'; +import { createRenderer, describeConformance } from '@mui-internal/test-utils'; import AlertTitle, { alertTitleClasses as classes } from '@mui/material/AlertTitle'; import Typography from '@mui/material/Typography'; diff --git a/packages/mui-material/src/AppBar/AppBar.test.js b/packages/mui-material/src/AppBar/AppBar.test.js index fce3a68aafb6dd..33f2c038013a45 100644 --- a/packages/mui-material/src/AppBar/AppBar.test.js +++ b/packages/mui-material/src/AppBar/AppBar.test.js @@ -1,6 +1,6 @@ import * as React from 'react'; import { expect } from 'chai'; -import { createRenderer, describeConformance, screen } from '@mui-internal/test-utilities'; +import { createRenderer, describeConformance, screen } from '@mui-internal/test-utils'; import AppBar, { appBarClasses as classes } from '@mui/material/AppBar'; import Paper from '@mui/material/Paper'; diff --git a/packages/mui-material/src/Autocomplete/Autocomplete.test.js b/packages/mui-material/src/Autocomplete/Autocomplete.test.js index e6644558a949e9..c2a42e332e7cf3 100644 --- a/packages/mui-material/src/Autocomplete/Autocomplete.test.js +++ b/packages/mui-material/src/Autocomplete/Autocomplete.test.js @@ -8,7 +8,7 @@ import { fireEvent, screen, strictModeDoubleLoggingSuppressed, -} from '@mui-internal/test-utilities'; +} from '@mui-internal/test-utils'; import { spy } from 'sinon'; import userEvent from '@testing-library/user-event'; import Box from '@mui/system/Box'; diff --git a/packages/mui-material/src/Avatar/Avatar.test.js b/packages/mui-material/src/Avatar/Avatar.test.js index 5e75c078e390ce..3ece7858bb378c 100644 --- a/packages/mui-material/src/Avatar/Avatar.test.js +++ b/packages/mui-material/src/Avatar/Avatar.test.js @@ -1,6 +1,6 @@ import * as React from 'react'; import { expect } from 'chai'; -import { createRenderer, fireEvent, describeConformance } from '@mui-internal/test-utilities'; +import { createRenderer, fireEvent, describeConformance } from '@mui-internal/test-utils'; import { spy } from 'sinon'; import Avatar, { avatarClasses as classes } from '@mui/material/Avatar'; import { createTheme, ThemeProvider } from '@mui/material/styles'; diff --git a/packages/mui-material/src/AvatarGroup/AvatarGroup.test.js b/packages/mui-material/src/AvatarGroup/AvatarGroup.test.js index 555cfd12e2729c..26764b881281b3 100644 --- a/packages/mui-material/src/AvatarGroup/AvatarGroup.test.js +++ b/packages/mui-material/src/AvatarGroup/AvatarGroup.test.js @@ -1,6 +1,6 @@ import * as React from 'react'; import { expect } from 'chai'; -import { describeConformance, createRenderer } from '@mui-internal/test-utilities'; +import { describeConformance, createRenderer } from '@mui-internal/test-utils'; import Avatar from '@mui/material/Avatar'; import AvatarGroup, { avatarGroupClasses as classes } from '@mui/material/AvatarGroup'; diff --git a/packages/mui-material/src/Backdrop/Backdrop.test.js b/packages/mui-material/src/Backdrop/Backdrop.test.js index e9f40f7e5c843f..13a8f92f3f01d8 100644 --- a/packages/mui-material/src/Backdrop/Backdrop.test.js +++ b/packages/mui-material/src/Backdrop/Backdrop.test.js @@ -1,7 +1,7 @@ import * as React from 'react'; import { expect } from 'chai'; import { spy } from 'sinon'; -import { createRenderer, describeConformance } from '@mui-internal/test-utilities'; +import { createRenderer, describeConformance } from '@mui-internal/test-utils'; import Backdrop, { backdropClasses as classes } from '@mui/material/Backdrop'; import Fade from '@mui/material/Fade'; diff --git a/packages/mui-material/src/Badge/Badge.test.js b/packages/mui-material/src/Badge/Badge.test.js index 2a4ae49da9318b..b76c788a843bf4 100644 --- a/packages/mui-material/src/Badge/Badge.test.js +++ b/packages/mui-material/src/Badge/Badge.test.js @@ -1,6 +1,6 @@ import * as React from 'react'; import { expect } from 'chai'; -import { createRenderer, describeConformance } from '@mui-internal/test-utilities'; +import { createRenderer, describeConformance } from '@mui-internal/test-utils'; import Badge, { badgeClasses as classes } from '@mui/material/Badge'; function findBadgeRoot(container) { diff --git a/packages/mui-material/src/BottomNavigation/BottomNavigation.test.js b/packages/mui-material/src/BottomNavigation/BottomNavigation.test.js index 6a3a238c009bf3..66fa1028947f76 100755 --- a/packages/mui-material/src/BottomNavigation/BottomNavigation.test.js +++ b/packages/mui-material/src/BottomNavigation/BottomNavigation.test.js @@ -1,7 +1,7 @@ import * as React from 'react'; import { expect } from 'chai'; import { spy } from 'sinon'; -import { describeConformance, createRenderer, fireEvent } from '@mui-internal/test-utilities'; +import { describeConformance, createRenderer, fireEvent } from '@mui-internal/test-utils'; import BottomNavigation, { bottomNavigationClasses as classes, } from '@mui/material/BottomNavigation'; diff --git a/packages/mui-material/src/BottomNavigationAction/BottomNavigationAction.test.js b/packages/mui-material/src/BottomNavigationAction/BottomNavigationAction.test.js index 5f4ab250c7383f..57604a6232b138 100644 --- a/packages/mui-material/src/BottomNavigationAction/BottomNavigationAction.test.js +++ b/packages/mui-material/src/BottomNavigationAction/BottomNavigationAction.test.js @@ -1,7 +1,7 @@ import * as React from 'react'; import { expect } from 'chai'; import { spy } from 'sinon'; -import { describeConformance, createRenderer, within } from '@mui-internal/test-utilities'; +import { describeConformance, createRenderer, within } from '@mui-internal/test-utils'; import BottomNavigationAction, { bottomNavigationActionClasses as classes, } from '@mui/material/BottomNavigationAction'; diff --git a/packages/mui-material/src/Box/Box.test.js b/packages/mui-material/src/Box/Box.test.js index 56c708284a506a..b25089a467b311 100644 --- a/packages/mui-material/src/Box/Box.test.js +++ b/packages/mui-material/src/Box/Box.test.js @@ -1,7 +1,7 @@ /* eslint-disable material-ui/no-empty-box */ import * as React from 'react'; import { expect } from 'chai'; -import { createRenderer, describeConformance } from '@mui-internal/test-utilities'; +import { createRenderer, describeConformance } from '@mui-internal/test-utils'; import { createTheme, ThemeProvider } from '@mui/material/styles'; import Box from '@mui/material/Box'; import { unstable_ClassNameGenerator as ClassNameGenerator } from '@mui/material/className'; diff --git a/packages/mui-material/src/Breadcrumbs/BreadcrumbCollapsed.test.js b/packages/mui-material/src/Breadcrumbs/BreadcrumbCollapsed.test.js index 0b426505b3ae94..a5d1542fe008b2 100644 --- a/packages/mui-material/src/Breadcrumbs/BreadcrumbCollapsed.test.js +++ b/packages/mui-material/src/Breadcrumbs/BreadcrumbCollapsed.test.js @@ -1,7 +1,7 @@ import * as React from 'react'; import { expect } from 'chai'; import { spy } from 'sinon'; -import { fireEvent, createRenderer } from '@mui-internal/test-utilities'; +import { fireEvent, createRenderer } from '@mui-internal/test-utils'; import BreadcrumbCollapsed from './BreadcrumbCollapsed'; describe('', () => { diff --git a/packages/mui-material/src/Breadcrumbs/Breadcrumbs.test.js b/packages/mui-material/src/Breadcrumbs/Breadcrumbs.test.js index fc617af3758693..468fbf4a608224 100644 --- a/packages/mui-material/src/Breadcrumbs/Breadcrumbs.test.js +++ b/packages/mui-material/src/Breadcrumbs/Breadcrumbs.test.js @@ -6,7 +6,7 @@ import { createRenderer, screen, strictModeDoubleLoggingSuppressed, -} from '@mui-internal/test-utilities'; +} from '@mui-internal/test-utils'; import Breadcrumbs, { breadcrumbsClasses as classes } from '@mui/material/Breadcrumbs'; import Typography from '@mui/material/Typography'; import FirstPageIcon from '../internal/svg-icons/FirstPage'; diff --git a/packages/mui-material/src/Button/Button.test.js b/packages/mui-material/src/Button/Button.test.js index bcee04a095523d..76381c29cec6f8 100644 --- a/packages/mui-material/src/Button/Button.test.js +++ b/packages/mui-material/src/Button/Button.test.js @@ -6,7 +6,7 @@ import { createRenderer, fireEvent, screen, -} from '@mui-internal/test-utilities'; +} from '@mui-internal/test-utils'; import { ClassNames } from '@emotion/react'; import { ThemeProvider, createTheme } from '@mui/material/styles'; import Button, { buttonClasses as classes } from '@mui/material/Button'; diff --git a/packages/mui-material/src/ButtonBase/ButtonBase.test.js b/packages/mui-material/src/ButtonBase/ButtonBase.test.js index b24d679e095abd..27d5b00c226cd1 100644 --- a/packages/mui-material/src/ButtonBase/ButtonBase.test.js +++ b/packages/mui-material/src/ButtonBase/ButtonBase.test.js @@ -11,7 +11,7 @@ import { focusVisible, simulatePointerDevice, programmaticFocusTriggersFocusVisible, -} from '@mui-internal/test-utilities'; +} from '@mui-internal/test-utils'; import PropTypes from 'prop-types'; import { ThemeProvider, createTheme } from '@mui/material/styles'; import ButtonBase, { buttonBaseClasses as classes } from '@mui/material/ButtonBase'; diff --git a/packages/mui-material/src/ButtonBase/Ripple.test.js b/packages/mui-material/src/ButtonBase/Ripple.test.js index bea058039f8807..23e325362196b9 100644 --- a/packages/mui-material/src/ButtonBase/Ripple.test.js +++ b/packages/mui-material/src/ButtonBase/Ripple.test.js @@ -1,7 +1,7 @@ import * as React from 'react'; import { expect } from 'chai'; import { spy } from 'sinon'; -import { createRenderer } from '@mui-internal/test-utilities'; +import { createRenderer } from '@mui-internal/test-utils'; import Ripple from './Ripple'; import classes from './touchRippleClasses'; diff --git a/packages/mui-material/src/ButtonBase/TouchRipple.test.js b/packages/mui-material/src/ButtonBase/TouchRipple.test.js index f8e0a4caf5e96b..3c32076db30668 100644 --- a/packages/mui-material/src/ButtonBase/TouchRipple.test.js +++ b/packages/mui-material/src/ButtonBase/TouchRipple.test.js @@ -1,6 +1,6 @@ import * as React from 'react'; import { expect } from 'chai'; -import { describeConformance, act, createRenderer } from '@mui-internal/test-utilities'; +import { describeConformance, act, createRenderer } from '@mui-internal/test-utils'; import TouchRipple, { DELAY_RIPPLE } from './TouchRipple'; const cb = () => {}; diff --git a/packages/mui-material/src/ButtonGroup/ButtonGroup.test.js b/packages/mui-material/src/ButtonGroup/ButtonGroup.test.js index 184e3ae857954f..809ad92a059cd4 100644 --- a/packages/mui-material/src/ButtonGroup/ButtonGroup.test.js +++ b/packages/mui-material/src/ButtonGroup/ButtonGroup.test.js @@ -1,6 +1,6 @@ import * as React from 'react'; import { expect } from 'chai'; -import { createRenderer, describeConformance, screen } from '@mui-internal/test-utilities'; +import { createRenderer, describeConformance, screen } from '@mui-internal/test-utils'; import ButtonGroup, { buttonGroupClasses as classes } from '@mui/material/ButtonGroup'; import { ThemeProvider, createTheme } from '@mui/material/styles'; import Button, { buttonClasses } from '@mui/material/Button'; diff --git a/packages/mui-material/src/Card/Card.test.tsx b/packages/mui-material/src/Card/Card.test.tsx index 9c25b6c30f4a2a..d6ee9fdcd3bea1 100644 --- a/packages/mui-material/src/Card/Card.test.tsx +++ b/packages/mui-material/src/Card/Card.test.tsx @@ -1,6 +1,6 @@ import * as React from 'react'; import { expect } from 'chai'; -import { createRenderer, describeConformance } from '@mui-internal/test-utilities'; +import { createRenderer, describeConformance } from '@mui-internal/test-utils'; import Card, { cardClasses as classes } from '@mui/material/Card'; import Paper from '@mui/material/Paper'; diff --git a/packages/mui-material/src/CardActionArea/CardActionArea.test.js b/packages/mui-material/src/CardActionArea/CardActionArea.test.js index ccb026fad1a37c..1d878f74a37e9b 100644 --- a/packages/mui-material/src/CardActionArea/CardActionArea.test.js +++ b/packages/mui-material/src/CardActionArea/CardActionArea.test.js @@ -1,5 +1,5 @@ import * as React from 'react'; -import { createRenderer, describeConformance } from '@mui-internal/test-utilities'; +import { createRenderer, describeConformance } from '@mui-internal/test-utils'; import CardActionArea, { cardActionAreaClasses as classes } from '@mui/material/CardActionArea'; import ButtonBase from '@mui/material/ButtonBase'; diff --git a/packages/mui-material/src/CardActions/CardActions.test.js b/packages/mui-material/src/CardActions/CardActions.test.js index 56bddad7214e1b..734aa0c294be0a 100644 --- a/packages/mui-material/src/CardActions/CardActions.test.js +++ b/packages/mui-material/src/CardActions/CardActions.test.js @@ -1,5 +1,5 @@ import * as React from 'react'; -import { createRenderer, describeConformance } from '@mui-internal/test-utilities'; +import { createRenderer, describeConformance } from '@mui-internal/test-utils'; import CardActions, { cardActionsClasses as classes } from '@mui/material/CardActions'; describe('', () => { diff --git a/packages/mui-material/src/CardContent/CardContent.test.js b/packages/mui-material/src/CardContent/CardContent.test.js index e2fb96160408ba..2ac705d5f40c49 100644 --- a/packages/mui-material/src/CardContent/CardContent.test.js +++ b/packages/mui-material/src/CardContent/CardContent.test.js @@ -1,5 +1,5 @@ import * as React from 'react'; -import { createRenderer, describeConformance } from '@mui-internal/test-utilities'; +import { createRenderer, describeConformance } from '@mui-internal/test-utils'; import CardContent, { cardContentClasses as classes } from '@mui/material/CardContent'; describe('', () => { diff --git a/packages/mui-material/src/CardHeader/CardHeader.test.js b/packages/mui-material/src/CardHeader/CardHeader.test.js index b547b1eec50bd6..e78678b846cf81 100644 --- a/packages/mui-material/src/CardHeader/CardHeader.test.js +++ b/packages/mui-material/src/CardHeader/CardHeader.test.js @@ -1,6 +1,6 @@ import * as React from 'react'; import { expect } from 'chai'; -import { createRenderer, describeConformance } from '@mui-internal/test-utilities'; +import { createRenderer, describeConformance } from '@mui-internal/test-utils'; import { typographyClasses } from '@mui/material/Typography'; import CardHeader, { cardHeaderClasses as classes } from '@mui/material/CardHeader'; diff --git a/packages/mui-material/src/CardMedia/CardMedia.test.js b/packages/mui-material/src/CardMedia/CardMedia.test.js index d9ad1bc2355ab0..b538f30603ac37 100644 --- a/packages/mui-material/src/CardMedia/CardMedia.test.js +++ b/packages/mui-material/src/CardMedia/CardMedia.test.js @@ -1,7 +1,7 @@ import * as React from 'react'; import PropTypes from 'prop-types'; import { expect } from 'chai'; -import { createRenderer, describeConformance, screen } from '@mui-internal/test-utilities'; +import { createRenderer, describeConformance, screen } from '@mui-internal/test-utils'; import CardMedia, { cardMediaClasses as classes } from '@mui/material/CardMedia'; describe('', () => { diff --git a/packages/mui-material/src/Checkbox/Checkbox.test.js b/packages/mui-material/src/Checkbox/Checkbox.test.js index 0aedb22a937592..900c02f5879e62 100644 --- a/packages/mui-material/src/Checkbox/Checkbox.test.js +++ b/packages/mui-material/src/Checkbox/Checkbox.test.js @@ -1,7 +1,7 @@ import * as React from 'react'; import { expect } from 'chai'; import { spy } from 'sinon'; -import { describeConformance, act, createRenderer } from '@mui-internal/test-utilities'; +import { describeConformance, act, createRenderer } from '@mui-internal/test-utils'; import Checkbox, { checkboxClasses as classes } from '@mui/material/Checkbox'; import FormControl from '@mui/material/FormControl'; import ButtonBase from '@mui/material/ButtonBase'; diff --git a/packages/mui-material/src/Chip/Chip.test.js b/packages/mui-material/src/Chip/Chip.test.js index c6139a82ee4d7e..9c46654465cb14 100644 --- a/packages/mui-material/src/Chip/Chip.test.js +++ b/packages/mui-material/src/Chip/Chip.test.js @@ -9,7 +9,7 @@ import { focusVisible, simulatePointerDevice, programmaticFocusTriggersFocusVisible, -} from '@mui-internal/test-utilities'; +} from '@mui-internal/test-utils'; import Avatar from '@mui/material/Avatar'; import Chip, { chipClasses as classes } from '@mui/material/Chip'; import { diff --git a/packages/mui-material/src/CircularProgress/CircularProgress.test.js b/packages/mui-material/src/CircularProgress/CircularProgress.test.js index ebe50c535bddb7..bc21d0569eb17e 100644 --- a/packages/mui-material/src/CircularProgress/CircularProgress.test.js +++ b/packages/mui-material/src/CircularProgress/CircularProgress.test.js @@ -1,6 +1,6 @@ import * as React from 'react'; import { expect } from 'chai'; -import { createRenderer, describeConformance } from '@mui-internal/test-utilities'; +import { createRenderer, describeConformance } from '@mui-internal/test-utils'; import CircularProgress, { circularProgressClasses as classes, } from '@mui/material/CircularProgress'; diff --git a/packages/mui-material/src/Collapse/Collapse.test.js b/packages/mui-material/src/Collapse/Collapse.test.js index 0f3ed83e34e600..e5489956ea46f5 100644 --- a/packages/mui-material/src/Collapse/Collapse.test.js +++ b/packages/mui-material/src/Collapse/Collapse.test.js @@ -1,7 +1,7 @@ import * as React from 'react'; import { expect } from 'chai'; import { spy, stub } from 'sinon'; -import { act, createRenderer, describeConformance } from '@mui-internal/test-utilities'; +import { act, createRenderer, describeConformance } from '@mui-internal/test-utils'; import { Transition } from 'react-transition-group'; import { ThemeProvider, createTheme } from '@mui/material/styles'; import Collapse, { collapseClasses as classes } from '@mui/material/Collapse'; diff --git a/packages/mui-material/src/Container/Container.test.js b/packages/mui-material/src/Container/Container.test.js index 3649ee415c0096..1747d8ffb00248 100644 --- a/packages/mui-material/src/Container/Container.test.js +++ b/packages/mui-material/src/Container/Container.test.js @@ -1,6 +1,6 @@ import * as React from 'react'; import { expect } from 'chai'; -import { describeConformance, createRenderer } from '@mui-internal/test-utilities'; +import { describeConformance, createRenderer } from '@mui-internal/test-utils'; import Container, { containerClasses as classes } from '@mui/material/Container'; describe('', () => { diff --git a/packages/mui-material/src/CssBaseline/CssBaseline.test.js b/packages/mui-material/src/CssBaseline/CssBaseline.test.js index 0cc911b76dcf20..af2be310779777 100644 --- a/packages/mui-material/src/CssBaseline/CssBaseline.test.js +++ b/packages/mui-material/src/CssBaseline/CssBaseline.test.js @@ -1,6 +1,6 @@ import * as React from 'react'; import { expect } from 'chai'; -import { createRenderer } from '@mui-internal/test-utilities'; +import { createRenderer } from '@mui-internal/test-utils'; import CssBaseline from '@mui/material/CssBaseline'; import { ThemeProvider, createTheme, hexToRgb } from '@mui/material/styles'; diff --git a/packages/mui-material/src/Dialog/Dialog.test.js b/packages/mui-material/src/Dialog/Dialog.test.js index ddff37476b8e27..0280c5810a0e2a 100644 --- a/packages/mui-material/src/Dialog/Dialog.test.js +++ b/packages/mui-material/src/Dialog/Dialog.test.js @@ -7,7 +7,7 @@ import { createRenderer, fireEvent, screen, -} from '@mui-internal/test-utilities'; +} from '@mui-internal/test-utils'; import Modal from '@mui/material/Modal'; import Dialog, { dialogClasses as classes } from '@mui/material/Dialog'; import { ThemeProvider, createTheme } from '@mui/material/styles'; @@ -25,14 +25,14 @@ function userClick(element) { } /** - * @param {typeof import('@mui-internal/test-utilities').screen} view + * @param {typeof import('@mui-internal/test-utils').screen} view */ function findBackdrop(view) { return view.getByRole('dialog').parentElement; } /** - * @param {typeof import('@mui-internal/test-utilities').screen} view + * @param {typeof import('@mui-internal/test-utils').screen} view */ function clickBackdrop(view) { userClick(findBackdrop(view)); diff --git a/packages/mui-material/src/DialogActions/DialogActions.test.js b/packages/mui-material/src/DialogActions/DialogActions.test.js index 537930d1a02497..e5c0426fd8a836 100644 --- a/packages/mui-material/src/DialogActions/DialogActions.test.js +++ b/packages/mui-material/src/DialogActions/DialogActions.test.js @@ -1,5 +1,5 @@ import * as React from 'react'; -import { createRenderer, describeConformance } from '@mui-internal/test-utilities'; +import { createRenderer, describeConformance } from '@mui-internal/test-utils'; import DialogActions, { dialogActionsClasses as classes } from '@mui/material/DialogActions'; describe('', () => { diff --git a/packages/mui-material/src/DialogContent/DialogContent.test.js b/packages/mui-material/src/DialogContent/DialogContent.test.js index 52e49dbeed93ae..ba7041fbbd59f7 100644 --- a/packages/mui-material/src/DialogContent/DialogContent.test.js +++ b/packages/mui-material/src/DialogContent/DialogContent.test.js @@ -1,5 +1,5 @@ import * as React from 'react'; -import { describeConformance, createRenderer } from '@mui-internal/test-utilities'; +import { describeConformance, createRenderer } from '@mui-internal/test-utils'; import DialogContent, { dialogContentClasses as classes } from '@mui/material/DialogContent'; describe('', () => { diff --git a/packages/mui-material/src/DialogContentText/DialogContentText.test.js b/packages/mui-material/src/DialogContentText/DialogContentText.test.js index ebdbd12364e39c..e83e70d20f9312 100644 --- a/packages/mui-material/src/DialogContentText/DialogContentText.test.js +++ b/packages/mui-material/src/DialogContentText/DialogContentText.test.js @@ -1,5 +1,5 @@ import * as React from 'react'; -import { createRenderer, describeConformance } from '@mui-internal/test-utilities'; +import { createRenderer, describeConformance } from '@mui-internal/test-utils'; import Typography from '@mui/material/Typography'; import DialogContentText, { dialogContentTextClasses as classes, diff --git a/packages/mui-material/src/DialogTitle/DialogTitle.test.js b/packages/mui-material/src/DialogTitle/DialogTitle.test.js index af85250983560d..9ba57ca45486da 100644 --- a/packages/mui-material/src/DialogTitle/DialogTitle.test.js +++ b/packages/mui-material/src/DialogTitle/DialogTitle.test.js @@ -1,6 +1,6 @@ import * as React from 'react'; import { expect } from 'chai'; -import { describeConformance, createRenderer } from '@mui-internal/test-utilities'; +import { describeConformance, createRenderer } from '@mui-internal/test-utils'; import Typography from '@mui/material/Typography'; import DialogTitle, { dialogTitleClasses as classes } from '@mui/material/DialogTitle'; import Dialog from '@mui/material/Dialog'; diff --git a/packages/mui-material/src/Divider/Divider.test.js b/packages/mui-material/src/Divider/Divider.test.js index 9f4beffd14bef9..cdba5d9675f424 100644 --- a/packages/mui-material/src/Divider/Divider.test.js +++ b/packages/mui-material/src/Divider/Divider.test.js @@ -1,6 +1,6 @@ import * as React from 'react'; import { expect } from 'chai'; -import { describeConformance, createRenderer } from '@mui-internal/test-utilities'; +import { describeConformance, createRenderer } from '@mui-internal/test-utils'; import Divider, { dividerClasses as classes } from '@mui/material/Divider'; describe('', () => { diff --git a/packages/mui-material/src/Drawer/Drawer.test.js b/packages/mui-material/src/Drawer/Drawer.test.js index d93409d87b7c7a..f410f654e621cd 100644 --- a/packages/mui-material/src/Drawer/Drawer.test.js +++ b/packages/mui-material/src/Drawer/Drawer.test.js @@ -1,7 +1,7 @@ import * as React from 'react'; import { expect } from 'chai'; import { spy } from 'sinon'; -import { createRenderer, describeConformance, screen } from '@mui-internal/test-utilities'; +import { createRenderer, describeConformance, screen } from '@mui-internal/test-utils'; import { ThemeProvider, createTheme } from '@mui/material/styles'; import Drawer, { drawerClasses as classes } from '@mui/material/Drawer'; import { getAnchor, isHorizontal } from './Drawer'; diff --git a/packages/mui-material/src/Fab/Fab.test.js b/packages/mui-material/src/Fab/Fab.test.js index 19c2c376e3f805..df56852e626573 100644 --- a/packages/mui-material/src/Fab/Fab.test.js +++ b/packages/mui-material/src/Fab/Fab.test.js @@ -1,6 +1,6 @@ import * as React from 'react'; import { expect } from 'chai'; -import { describeConformance, createRenderer, act, fireEvent } from '@mui-internal/test-utilities'; +import { describeConformance, createRenderer, act, fireEvent } from '@mui-internal/test-utils'; import Fab, { fabClasses as classes } from '@mui/material/Fab'; import ButtonBase, { touchRippleClasses } from '@mui/material/ButtonBase'; import Icon from '@mui/material/Icon'; diff --git a/packages/mui-material/src/Fade/Fade.test.js b/packages/mui-material/src/Fade/Fade.test.js index 8246e4fb8a5689..a4861623add6e1 100644 --- a/packages/mui-material/src/Fade/Fade.test.js +++ b/packages/mui-material/src/Fade/Fade.test.js @@ -1,7 +1,7 @@ import * as React from 'react'; import { expect } from 'chai'; import { spy } from 'sinon'; -import { createRenderer, describeConformance } from '@mui-internal/test-utilities'; +import { createRenderer, describeConformance } from '@mui-internal/test-utils'; import { Transition } from 'react-transition-group'; import Fade from '@mui/material/Fade'; import { ThemeProvider, createTheme } from '@mui/material/styles'; diff --git a/packages/mui-material/src/FilledInput/FilledInput.test.js b/packages/mui-material/src/FilledInput/FilledInput.test.js index af1154c1217230..e7ce5fde0068d7 100644 --- a/packages/mui-material/src/FilledInput/FilledInput.test.js +++ b/packages/mui-material/src/FilledInput/FilledInput.test.js @@ -1,6 +1,6 @@ import * as React from 'react'; import { expect } from 'chai'; -import { createRenderer, describeConformance } from '@mui-internal/test-utilities'; +import { createRenderer, describeConformance } from '@mui-internal/test-utils'; import FilledInput, { filledInputClasses as classes } from '@mui/material/FilledInput'; import InputBase from '@mui/material/InputBase'; diff --git a/packages/mui-material/src/FormControl/FormControl.test.js b/packages/mui-material/src/FormControl/FormControl.test.js index 8ab7a0bbe85ad3..1e905a6e098884 100644 --- a/packages/mui-material/src/FormControl/FormControl.test.js +++ b/packages/mui-material/src/FormControl/FormControl.test.js @@ -1,7 +1,7 @@ import * as React from 'react'; import { expect } from 'chai'; import { spy } from 'sinon'; -import { describeConformance, act, createRenderer } from '@mui-internal/test-utilities'; +import { describeConformance, act, createRenderer } from '@mui-internal/test-utils'; import FormControl, { formControlClasses as classes } from '@mui/material/FormControl'; import Input from '@mui/material/Input'; import Select from '@mui/material/Select'; diff --git a/packages/mui-material/src/FormControlLabel/FormControlLabel.test.js b/packages/mui-material/src/FormControlLabel/FormControlLabel.test.js index f430f073986721..54711bbc7544d5 100644 --- a/packages/mui-material/src/FormControlLabel/FormControlLabel.test.js +++ b/packages/mui-material/src/FormControlLabel/FormControlLabel.test.js @@ -1,6 +1,6 @@ import * as React from 'react'; import { expect } from 'chai'; -import { createRenderer, describeConformance } from '@mui-internal/test-utilities'; +import { createRenderer, describeConformance } from '@mui-internal/test-utils'; import FormControlLabel, { formControlLabelClasses as classes, } from '@mui/material/FormControlLabel'; diff --git a/packages/mui-material/src/FormGroup/FormGroup.test.js b/packages/mui-material/src/FormGroup/FormGroup.test.js index 7087a2833714ff..6750ca848e023e 100644 --- a/packages/mui-material/src/FormGroup/FormGroup.test.js +++ b/packages/mui-material/src/FormGroup/FormGroup.test.js @@ -1,6 +1,6 @@ import * as React from 'react'; import { expect } from 'chai'; -import { createRenderer, describeConformance } from '@mui-internal/test-utilities'; +import { createRenderer, describeConformance } from '@mui-internal/test-utils'; import FormGroup, { formGroupClasses as classes } from '@mui/material/FormGroup'; import FormControl from '@mui/material/FormControl'; diff --git a/packages/mui-material/src/FormHelperText/FormHelperText.test.js b/packages/mui-material/src/FormHelperText/FormHelperText.test.js index 800061ef8df96b..1d56b54bd16a31 100644 --- a/packages/mui-material/src/FormHelperText/FormHelperText.test.js +++ b/packages/mui-material/src/FormHelperText/FormHelperText.test.js @@ -1,6 +1,6 @@ import * as React from 'react'; import { expect } from 'chai'; -import { createRenderer, describeConformance } from '@mui-internal/test-utilities'; +import { createRenderer, describeConformance } from '@mui-internal/test-utils'; import FormHelperText, { formHelperTextClasses as classes } from '@mui/material/FormHelperText'; import FormControl from '@mui/material/FormControl'; diff --git a/packages/mui-material/src/FormLabel/FormLabel.test.js b/packages/mui-material/src/FormLabel/FormLabel.test.js index 6c6fbd94e1a618..ca7dee45ad6604 100644 --- a/packages/mui-material/src/FormLabel/FormLabel.test.js +++ b/packages/mui-material/src/FormLabel/FormLabel.test.js @@ -1,7 +1,7 @@ import * as React from 'react'; import PropTypes from 'prop-types'; import { expect } from 'chai'; -import { describeConformance, act, createRenderer } from '@mui-internal/test-utilities'; +import { describeConformance, act, createRenderer } from '@mui-internal/test-utils'; import FormLabel, { formLabelClasses as classes } from '@mui/material/FormLabel'; import FormControl, { useFormControl } from '@mui/material/FormControl'; import { hexToRgb } from '@mui/material/styles'; diff --git a/packages/mui-material/src/GlobalStyles/GlobalStyles.test.js b/packages/mui-material/src/GlobalStyles/GlobalStyles.test.js index b15a0fd5037f31..7d203be949b1c5 100644 --- a/packages/mui-material/src/GlobalStyles/GlobalStyles.test.js +++ b/packages/mui-material/src/GlobalStyles/GlobalStyles.test.js @@ -1,6 +1,6 @@ import * as React from 'react'; import { expect } from 'chai'; -import { createRenderer } from '@mui-internal/test-utilities'; +import { createRenderer } from '@mui-internal/test-utils'; import GlobalStyles from '@mui/material/GlobalStyles'; import { ThemeProvider, createTheme } from '@mui/material//styles/'; diff --git a/packages/mui-material/src/Grid/Grid.test.js b/packages/mui-material/src/Grid/Grid.test.js index f952182163b9f9..72d581a9812272 100644 --- a/packages/mui-material/src/Grid/Grid.test.js +++ b/packages/mui-material/src/Grid/Grid.test.js @@ -1,6 +1,6 @@ import * as React from 'react'; import { expect } from 'chai'; -import { describeConformance, createRenderer, screen } from '@mui-internal/test-utilities'; +import { describeConformance, createRenderer, screen } from '@mui-internal/test-utils'; import { createTheme, ThemeProvider } from '@mui/material/styles'; import defaultTheme from '@mui/material/styles/defaultTheme'; import Grid, { gridClasses as classes } from '@mui/material/Grid'; diff --git a/packages/mui-material/src/Grow/Grow.test.js b/packages/mui-material/src/Grow/Grow.test.js index 5845834e271a3c..6c156a3bda9c0d 100644 --- a/packages/mui-material/src/Grow/Grow.test.js +++ b/packages/mui-material/src/Grow/Grow.test.js @@ -1,7 +1,7 @@ import * as React from 'react'; import { expect } from 'chai'; import { spy } from 'sinon'; -import { createRenderer, describeConformance } from '@mui-internal/test-utilities'; +import { createRenderer, describeConformance } from '@mui-internal/test-utils'; import { Transition } from 'react-transition-group'; import { createTheme, ThemeProvider } from '@mui/material/styles'; import Grow from '@mui/material/Grow'; diff --git a/packages/mui-material/src/Hidden/Hidden.test.js b/packages/mui-material/src/Hidden/Hidden.test.js index 1f131ea1dc9b86..f5024fe11fb8fa 100644 --- a/packages/mui-material/src/Hidden/Hidden.test.js +++ b/packages/mui-material/src/Hidden/Hidden.test.js @@ -1,6 +1,6 @@ import * as React from 'react'; import { expect } from 'chai'; -import { createRenderer } from '@mui-internal/test-utilities'; +import { createRenderer } from '@mui-internal/test-utils'; import Hidden from '@mui/material/Hidden'; describe('', () => { diff --git a/packages/mui-material/src/Hidden/HiddenCss.test.js b/packages/mui-material/src/Hidden/HiddenCss.test.js index 36a90afa0208fd..a77e5ebd557b8c 100644 --- a/packages/mui-material/src/Hidden/HiddenCss.test.js +++ b/packages/mui-material/src/Hidden/HiddenCss.test.js @@ -1,6 +1,6 @@ import * as React from 'react'; import { expect } from 'chai'; -import { createRenderer, strictModeDoubleLoggingSuppressed } from '@mui-internal/test-utilities'; +import { createRenderer, strictModeDoubleLoggingSuppressed } from '@mui-internal/test-utils'; import HiddenCss from './HiddenCss'; import { createTheme, ThemeProvider } from '../styles'; import classes from './hiddenCssClasses'; diff --git a/packages/mui-material/src/Hidden/HiddenJs.test.js b/packages/mui-material/src/Hidden/HiddenJs.test.js index 005af110748cdb..43cc2320c25648 100644 --- a/packages/mui-material/src/Hidden/HiddenJs.test.js +++ b/packages/mui-material/src/Hidden/HiddenJs.test.js @@ -1,6 +1,6 @@ import * as React from 'react'; import { expect } from 'chai'; -import { createRenderer } from '@mui-internal/test-utilities'; +import { createRenderer } from '@mui-internal/test-utils'; import HiddenJs from './HiddenJs'; describe('', () => { diff --git a/packages/mui-material/src/Icon/Icon.test.js b/packages/mui-material/src/Icon/Icon.test.js index bcf5c55009765b..c4acaff527e05e 100644 --- a/packages/mui-material/src/Icon/Icon.test.js +++ b/packages/mui-material/src/Icon/Icon.test.js @@ -1,6 +1,6 @@ import * as React from 'react'; import { expect } from 'chai'; -import { createRenderer, describeConformance } from '@mui-internal/test-utilities'; +import { createRenderer, describeConformance } from '@mui-internal/test-utils'; import Icon, { iconClasses as classes } from '@mui/material/Icon'; describe('', () => { diff --git a/packages/mui-material/src/IconButton/IconButton.test.js b/packages/mui-material/src/IconButton/IconButton.test.js index e0b8cfdc4fdc64..7c744f92a59c47 100644 --- a/packages/mui-material/src/IconButton/IconButton.test.js +++ b/packages/mui-material/src/IconButton/IconButton.test.js @@ -1,7 +1,7 @@ import * as React from 'react'; import { expect } from 'chai'; import PropTypes from 'prop-types'; -import { createRenderer, describeConformance } from '@mui-internal/test-utilities'; +import { createRenderer, describeConformance } from '@mui-internal/test-utils'; import { unstable_capitalize as capitalize } from '@mui/utils'; import { ThemeProvider, createTheme } from '@mui/material/styles'; import IconButton, { iconButtonClasses as classes } from '@mui/material/IconButton'; diff --git a/packages/mui-material/src/ImageList/ImageList.test.js b/packages/mui-material/src/ImageList/ImageList.test.js index 5179d7656a8fcd..d57841ecc61442 100644 --- a/packages/mui-material/src/ImageList/ImageList.test.js +++ b/packages/mui-material/src/ImageList/ImageList.test.js @@ -1,6 +1,6 @@ import { expect } from 'chai'; import * as React from 'react'; -import { createRenderer, describeConformance } from '@mui-internal/test-utilities'; +import { createRenderer, describeConformance } from '@mui-internal/test-utils'; import ImageList, { imageListClasses as classes } from '@mui/material/ImageList'; const itemsData = [ diff --git a/packages/mui-material/src/ImageListItem/ImageListItem.test.js b/packages/mui-material/src/ImageListItem/ImageListItem.test.js index a39e46db1093bc..6580c8ded5cd2e 100644 --- a/packages/mui-material/src/ImageListItem/ImageListItem.test.js +++ b/packages/mui-material/src/ImageListItem/ImageListItem.test.js @@ -1,6 +1,6 @@ import { expect } from 'chai'; import * as React from 'react'; -import { createRenderer, describeConformance } from '@mui-internal/test-utilities'; +import { createRenderer, describeConformance } from '@mui-internal/test-utils'; import ImageList from '@mui/material/ImageList'; import ImageListItem, { imageListItemClasses as classes } from '@mui/material/ImageListItem'; diff --git a/packages/mui-material/src/ImageListItemBar/ImageListItemBar.test.js b/packages/mui-material/src/ImageListItemBar/ImageListItemBar.test.js index b1c397c748141a..64069aad1be4d6 100644 --- a/packages/mui-material/src/ImageListItemBar/ImageListItemBar.test.js +++ b/packages/mui-material/src/ImageListItemBar/ImageListItemBar.test.js @@ -1,6 +1,6 @@ import { expect } from 'chai'; import * as React from 'react'; -import { createRenderer, describeConformance } from '@mui-internal/test-utilities'; +import { createRenderer, describeConformance } from '@mui-internal/test-utils'; import ImageListItemBar, { imageListItemBarClasses as classes, } from '@mui/material/ImageListItemBar'; diff --git a/packages/mui-material/src/Input/Input.test.js b/packages/mui-material/src/Input/Input.test.js index 59d444574802dc..37166718c3245f 100644 --- a/packages/mui-material/src/Input/Input.test.js +++ b/packages/mui-material/src/Input/Input.test.js @@ -1,6 +1,6 @@ import * as React from 'react'; import { expect } from 'chai'; -import { createRenderer, describeConformance } from '@mui-internal/test-utilities'; +import { createRenderer, describeConformance } from '@mui-internal/test-utils'; import InputBase from '@mui/material/InputBase'; import Input, { inputClasses as classes } from '@mui/material/Input'; diff --git a/packages/mui-material/src/InputAdornment/InputAdornment.test.js b/packages/mui-material/src/InputAdornment/InputAdornment.test.js index 19d0778733e740..8cb9c32096e4b6 100644 --- a/packages/mui-material/src/InputAdornment/InputAdornment.test.js +++ b/packages/mui-material/src/InputAdornment/InputAdornment.test.js @@ -4,7 +4,7 @@ import { createRenderer, describeConformance, strictModeDoubleLoggingSuppressed, -} from '@mui-internal/test-utilities'; +} from '@mui-internal/test-utils'; import { typographyClasses } from '@mui/material/Typography'; import InputAdornment, { inputAdornmentClasses as classes } from '@mui/material/InputAdornment'; import TextField from '@mui/material/TextField'; diff --git a/packages/mui-material/src/InputBase/InputBase.test.js b/packages/mui-material/src/InputBase/InputBase.test.js index 076fddf081c6d2..f890e3e7ccc41f 100644 --- a/packages/mui-material/src/InputBase/InputBase.test.js +++ b/packages/mui-material/src/InputBase/InputBase.test.js @@ -8,7 +8,7 @@ import { createRenderer, fireEvent, screen, -} from '@mui-internal/test-utilities'; +} from '@mui-internal/test-utils'; import { ThemeProvider } from '@emotion/react'; import FormControl, { useFormControl } from '@mui/material/FormControl'; import InputAdornment from '@mui/material/InputAdornment'; diff --git a/packages/mui-material/src/InputLabel/InputLabel.test.js b/packages/mui-material/src/InputLabel/InputLabel.test.js index 7b3905f767f0cb..1a1b2a7e038f7c 100644 --- a/packages/mui-material/src/InputLabel/InputLabel.test.js +++ b/packages/mui-material/src/InputLabel/InputLabel.test.js @@ -1,7 +1,7 @@ import * as React from 'react'; import PropTypes from 'prop-types'; import { expect } from 'chai'; -import { describeConformance, act, createRenderer } from '@mui-internal/test-utilities'; +import { describeConformance, act, createRenderer } from '@mui-internal/test-utils'; import { ClassNames } from '@emotion/react'; import FormControl from '@mui/material/FormControl'; import Input from '@mui/material/Input'; diff --git a/packages/mui-material/src/LinearProgress/LinearProgress.test.js b/packages/mui-material/src/LinearProgress/LinearProgress.test.js index 9a0a6a03581dc8..711f01a7b60238 100644 --- a/packages/mui-material/src/LinearProgress/LinearProgress.test.js +++ b/packages/mui-material/src/LinearProgress/LinearProgress.test.js @@ -5,7 +5,7 @@ import { screen, describeConformance, strictModeDoubleLoggingSuppressed, -} from '@mui-internal/test-utilities'; +} from '@mui-internal/test-utils'; import LinearProgress, { linearProgressClasses as classes } from '@mui/material/LinearProgress'; describe('', () => { diff --git a/packages/mui-material/src/Link/Link.test.js b/packages/mui-material/src/Link/Link.test.js index f0a28c32abf0b9..30130a42049a98 100644 --- a/packages/mui-material/src/Link/Link.test.js +++ b/packages/mui-material/src/Link/Link.test.js @@ -1,7 +1,7 @@ import * as React from 'react'; import { expect } from 'chai'; import { spy } from 'sinon'; -import { act, createRenderer, fireEvent, describeConformance } from '@mui-internal/test-utilities'; +import { act, createRenderer, fireEvent, describeConformance } from '@mui-internal/test-utils'; import Link, { linkClasses as classes } from '@mui/material/Link'; import Typography, { typographyClasses } from '@mui/material/Typography'; diff --git a/packages/mui-material/src/List/List.test.js b/packages/mui-material/src/List/List.test.js index f637c9486c32b3..403a0fcd10da75 100644 --- a/packages/mui-material/src/List/List.test.js +++ b/packages/mui-material/src/List/List.test.js @@ -1,6 +1,6 @@ import * as React from 'react'; import { expect } from 'chai'; -import { describeConformance, createRenderer } from '@mui-internal/test-utilities'; +import { describeConformance, createRenderer } from '@mui-internal/test-utils'; import ListSubheader, { listSubheaderClasses } from '@mui/material/ListSubheader'; import ListItem, { listItemClasses } from '@mui/material/ListItem'; import List, { listClasses as classes } from '@mui/material/List'; diff --git a/packages/mui-material/src/ListItem/ListItem.test.js b/packages/mui-material/src/ListItem/ListItem.test.js index dfc32f959dd7be..1fb64bf733581b 100644 --- a/packages/mui-material/src/ListItem/ListItem.test.js +++ b/packages/mui-material/src/ListItem/ListItem.test.js @@ -7,7 +7,7 @@ import { createRenderer, fireEvent, queries, -} from '@mui-internal/test-utilities'; +} from '@mui-internal/test-utils'; import { ThemeProvider, createTheme } from '@mui/material/styles'; import ListItemText from '@mui/material/ListItemText'; import ListItemSecondaryAction from '@mui/material/ListItemSecondaryAction'; diff --git a/packages/mui-material/src/ListItemAvatar/ListItemAvatar.test.js b/packages/mui-material/src/ListItemAvatar/ListItemAvatar.test.js index 147cd4e6405f35..ef933984736f5d 100644 --- a/packages/mui-material/src/ListItemAvatar/ListItemAvatar.test.js +++ b/packages/mui-material/src/ListItemAvatar/ListItemAvatar.test.js @@ -1,5 +1,5 @@ import * as React from 'react'; -import { createRenderer, describeConformance } from '@mui-internal/test-utilities'; +import { createRenderer, describeConformance } from '@mui-internal/test-utils'; import ListItemAvatar, { listItemAvatarClasses as classes } from '@mui/material/ListItemAvatar'; describe('', () => { diff --git a/packages/mui-material/src/ListItemButton/ListItemButton.test.js b/packages/mui-material/src/ListItemButton/ListItemButton.test.js index c45ee91b972287..ba95529f50fb2a 100644 --- a/packages/mui-material/src/ListItemButton/ListItemButton.test.js +++ b/packages/mui-material/src/ListItemButton/ListItemButton.test.js @@ -1,6 +1,6 @@ import * as React from 'react'; import { expect } from 'chai'; -import { describeConformance, act, createRenderer, fireEvent } from '@mui-internal/test-utilities'; +import { describeConformance, act, createRenderer, fireEvent } from '@mui-internal/test-utils'; import ListItemButton, { listItemButtonClasses as classes } from '@mui/material/ListItemButton'; import ButtonBase from '@mui/material/ButtonBase'; import { ThemeProvider, createTheme } from '@mui/material/styles'; diff --git a/packages/mui-material/src/ListItemIcon/ListItemIcon.test.js b/packages/mui-material/src/ListItemIcon/ListItemIcon.test.js index a08ad62e428a9b..541af1b1595457 100644 --- a/packages/mui-material/src/ListItemIcon/ListItemIcon.test.js +++ b/packages/mui-material/src/ListItemIcon/ListItemIcon.test.js @@ -1,5 +1,5 @@ import * as React from 'react'; -import { createRenderer, describeConformance } from '@mui-internal/test-utilities'; +import { createRenderer, describeConformance } from '@mui-internal/test-utils'; import ListItemIcon, { listItemIconClasses as classes } from '@mui/material/ListItemIcon'; describe('', () => { diff --git a/packages/mui-material/src/ListItemSecondaryAction/ListItemSecondaryAction.test.js b/packages/mui-material/src/ListItemSecondaryAction/ListItemSecondaryAction.test.js index 5a490b2a280739..771082fd1883e5 100644 --- a/packages/mui-material/src/ListItemSecondaryAction/ListItemSecondaryAction.test.js +++ b/packages/mui-material/src/ListItemSecondaryAction/ListItemSecondaryAction.test.js @@ -1,6 +1,6 @@ import * as React from 'react'; import { expect } from 'chai'; -import { createRenderer, describeConformance } from '@mui-internal/test-utilities'; +import { createRenderer, describeConformance } from '@mui-internal/test-utils'; import ListItem from '@mui/material/ListItem'; import ListItemSecondaryAction, { listItemSecondaryActionClasses as classes, diff --git a/packages/mui-material/src/ListItemText/ListItemText.test.js b/packages/mui-material/src/ListItemText/ListItemText.test.js index f504eb2123f1a8..f38cda46ea7f62 100644 --- a/packages/mui-material/src/ListItemText/ListItemText.test.js +++ b/packages/mui-material/src/ListItemText/ListItemText.test.js @@ -1,6 +1,6 @@ import * as React from 'react'; import { expect } from 'chai'; -import { createRenderer, describeConformance } from '@mui-internal/test-utilities'; +import { createRenderer, describeConformance } from '@mui-internal/test-utils'; import Typography, { typographyClasses } from '@mui/material/Typography'; import ListItemText, { listItemTextClasses as classes } from '@mui/material/ListItemText'; diff --git a/packages/mui-material/src/ListSubheader/ListSubheader.test.js b/packages/mui-material/src/ListSubheader/ListSubheader.test.js index 01e64afc3c345f..9b0720a58d9599 100644 --- a/packages/mui-material/src/ListSubheader/ListSubheader.test.js +++ b/packages/mui-material/src/ListSubheader/ListSubheader.test.js @@ -1,6 +1,6 @@ import * as React from 'react'; import { expect } from 'chai'; -import { describeConformance, createRenderer } from '@mui-internal/test-utilities'; +import { describeConformance, createRenderer } from '@mui-internal/test-utils'; import ListSubheader, { listSubheaderClasses as classes } from '@mui/material/ListSubheader'; describe('', () => { diff --git a/packages/mui-material/src/Menu/Menu.test.js b/packages/mui-material/src/Menu/Menu.test.js index 0f2fd5437ac46b..0287c5059c6d15 100644 --- a/packages/mui-material/src/Menu/Menu.test.js +++ b/packages/mui-material/src/Menu/Menu.test.js @@ -8,7 +8,7 @@ import { screen, fireEvent, strictModeDoubleLoggingSuppressed, -} from '@mui-internal/test-utilities'; +} from '@mui-internal/test-utils'; import Menu, { menuClasses as classes } from '@mui/material/Menu'; import Popover from '@mui/material/Popover'; import { createTheme, ThemeProvider } from '@mui/material/styles'; diff --git a/packages/mui-material/src/MenuItem/MenuItem.test.js b/packages/mui-material/src/MenuItem/MenuItem.test.js index 94173d5eb0ebcf..b89f6b3ce692e3 100644 --- a/packages/mui-material/src/MenuItem/MenuItem.test.js +++ b/packages/mui-material/src/MenuItem/MenuItem.test.js @@ -7,7 +7,7 @@ import { createRenderer, fireEvent, screen, -} from '@mui-internal/test-utilities'; +} from '@mui-internal/test-utils'; import MenuItem, { menuItemClasses as classes } from '@mui/material/MenuItem'; import ButtonBase from '@mui/material/ButtonBase'; import ListContext from '../List/ListContext'; diff --git a/packages/mui-material/src/MenuList/MenuList.test.js b/packages/mui-material/src/MenuList/MenuList.test.js index 64538a9e7046a8..fb6b32e79ce029 100644 --- a/packages/mui-material/src/MenuList/MenuList.test.js +++ b/packages/mui-material/src/MenuList/MenuList.test.js @@ -1,7 +1,7 @@ import * as React from 'react'; import { expect } from 'chai'; import { stub } from 'sinon'; -import { describeConformance, createRenderer } from '@mui-internal/test-utilities'; +import { describeConformance, createRenderer } from '@mui-internal/test-utils'; import Divider from '@mui/material/Divider'; import MenuList from '@mui/material/MenuList'; import MenuItem from '@mui/material/MenuItem'; diff --git a/packages/mui-material/src/MobileStepper/MobileStepper.test.js b/packages/mui-material/src/MobileStepper/MobileStepper.test.js index e850cef0913723..46d60b1c76157b 100644 --- a/packages/mui-material/src/MobileStepper/MobileStepper.test.js +++ b/packages/mui-material/src/MobileStepper/MobileStepper.test.js @@ -1,11 +1,6 @@ import * as React from 'react'; import { expect } from 'chai'; -import { - createRenderer, - describeConformance, - fireEvent, - screen, -} from '@mui-internal/test-utilities'; +import { createRenderer, describeConformance, fireEvent, screen } from '@mui-internal/test-utils'; import Paper, { paperClasses } from '@mui/material/Paper'; import Button from '@mui/material/Button'; import MobileStepper, { mobileStepperClasses as classes } from '@mui/material/MobileStepper'; diff --git a/packages/mui-material/src/Modal/Modal.test.js b/packages/mui-material/src/Modal/Modal.test.js index a299ac51021bc6..39ac7256c19033 100644 --- a/packages/mui-material/src/Modal/Modal.test.js +++ b/packages/mui-material/src/Modal/Modal.test.js @@ -10,7 +10,7 @@ import { within, describeConformance, screen, -} from '@mui-internal/test-utilities'; +} from '@mui-internal/test-utils'; import { createTheme, ThemeProvider } from '@mui/material/styles'; import Fade from '@mui/material/Fade'; import Modal, { modalClasses as classes } from '@mui/material/Modal'; diff --git a/packages/mui-material/src/NativeSelect/NativeSelect.test.js b/packages/mui-material/src/NativeSelect/NativeSelect.test.js index 987638ddeb8fa7..a61b8b84f29b9b 100644 --- a/packages/mui-material/src/NativeSelect/NativeSelect.test.js +++ b/packages/mui-material/src/NativeSelect/NativeSelect.test.js @@ -1,6 +1,6 @@ import * as React from 'react'; import { expect } from 'chai'; -import { createRenderer, describeConformance } from '@mui-internal/test-utilities'; +import { createRenderer, describeConformance } from '@mui-internal/test-utils'; import { createTheme, ThemeProvider, styled } from '@mui/material/styles'; import NativeSelect, { nativeSelectClasses as classes } from '@mui/material/NativeSelect'; import Input, { inputClasses } from '@mui/material/Input'; diff --git a/packages/mui-material/src/NativeSelect/NativeSelectInput.test.js b/packages/mui-material/src/NativeSelect/NativeSelectInput.test.js index 97ce1d97a1f388..268a8e7d197bb9 100644 --- a/packages/mui-material/src/NativeSelect/NativeSelectInput.test.js +++ b/packages/mui-material/src/NativeSelect/NativeSelectInput.test.js @@ -1,7 +1,7 @@ import * as React from 'react'; import { expect } from 'chai'; import { spy } from 'sinon'; -import { describeConformance, createRenderer, fireEvent } from '@mui-internal/test-utilities'; +import { describeConformance, createRenderer, fireEvent } from '@mui-internal/test-utils'; import { createTheme, ThemeProvider } from '@mui/material/styles'; import NativeSelectInput from './NativeSelectInput'; import nativeSelectClasses from './nativeSelectClasses'; diff --git a/packages/mui-material/src/OutlinedInput/NotchedOutline.test.js b/packages/mui-material/src/OutlinedInput/NotchedOutline.test.js index ae4b26b46343e7..071166efd9645a 100644 --- a/packages/mui-material/src/OutlinedInput/NotchedOutline.test.js +++ b/packages/mui-material/src/OutlinedInput/NotchedOutline.test.js @@ -1,6 +1,6 @@ import * as React from 'react'; import { expect } from 'chai'; -import { createRenderer } from '@mui-internal/test-utilities'; +import { createRenderer } from '@mui-internal/test-utils'; import { ThemeProvider, createTheme } from '@mui/material/styles'; import NotchedOutline from './NotchedOutline'; diff --git a/packages/mui-material/src/OutlinedInput/OutlinedInput.test.js b/packages/mui-material/src/OutlinedInput/OutlinedInput.test.js index 618a90249c07e0..870d01a78609d7 100644 --- a/packages/mui-material/src/OutlinedInput/OutlinedInput.test.js +++ b/packages/mui-material/src/OutlinedInput/OutlinedInput.test.js @@ -1,6 +1,6 @@ import * as React from 'react'; import { expect } from 'chai'; -import { createRenderer, describeConformance } from '@mui-internal/test-utilities'; +import { createRenderer, describeConformance } from '@mui-internal/test-utils'; import { ThemeProvider, createTheme } from '@mui/material/styles'; import OutlinedInput, { outlinedInputClasses as classes } from '@mui/material/OutlinedInput'; import InputBase from '@mui/material/InputBase'; diff --git a/packages/mui-material/src/Pagination/Pagination.test.js b/packages/mui-material/src/Pagination/Pagination.test.js index 60094d32da1734..5b755ec2991220 100644 --- a/packages/mui-material/src/Pagination/Pagination.test.js +++ b/packages/mui-material/src/Pagination/Pagination.test.js @@ -1,7 +1,7 @@ import * as React from 'react'; import { expect } from 'chai'; import { spy } from 'sinon'; -import { describeConformance, createRenderer } from '@mui-internal/test-utilities'; +import { describeConformance, createRenderer } from '@mui-internal/test-utils'; import { createTheme, ThemeProvider } from '@mui/material/styles'; import Pagination, { paginationClasses as classes } from '@mui/material/Pagination'; import { paginationItemClasses } from '@mui/material/PaginationItem'; diff --git a/packages/mui-material/src/PaginationItem/PaginationItem.test.js b/packages/mui-material/src/PaginationItem/PaginationItem.test.js index f7c9acd3d93db4..c469b912380481 100644 --- a/packages/mui-material/src/PaginationItem/PaginationItem.test.js +++ b/packages/mui-material/src/PaginationItem/PaginationItem.test.js @@ -1,6 +1,6 @@ import * as React from 'react'; import { expect } from 'chai'; -import { createRenderer, describeConformance } from '@mui-internal/test-utilities'; +import { createRenderer, describeConformance } from '@mui-internal/test-utils'; import PaginationItem, { paginationItemClasses as classes } from '@mui/material/PaginationItem'; describe('', () => { diff --git a/packages/mui-material/src/Paper/Paper.test.js b/packages/mui-material/src/Paper/Paper.test.js index 75f6d5439dac3e..46c1d427be721f 100644 --- a/packages/mui-material/src/Paper/Paper.test.js +++ b/packages/mui-material/src/Paper/Paper.test.js @@ -5,7 +5,7 @@ import { createRenderer, describeConformance, strictModeDoubleLoggingSuppressed, -} from '@mui-internal/test-utilities'; +} from '@mui-internal/test-utils'; import Paper, { paperClasses as classes } from '@mui/material/Paper'; import { createTheme, ThemeProvider } from '@mui/material/styles'; diff --git a/packages/mui-material/src/Popover/Popover.test.js b/packages/mui-material/src/Popover/Popover.test.js index 03ffca26eaefdd..3802fd4c228517 100644 --- a/packages/mui-material/src/Popover/Popover.test.js +++ b/packages/mui-material/src/Popover/Popover.test.js @@ -7,7 +7,7 @@ import { createRenderer, describeConformance, screen, -} from '@mui-internal/test-utilities'; +} from '@mui-internal/test-utils'; import PropTypes from 'prop-types'; import Grow from '@mui/material/Grow'; import Modal from '@mui/material/Modal'; diff --git a/packages/mui-material/src/Popper/Popper.test.js b/packages/mui-material/src/Popper/Popper.test.js index 3cd00e9ab7dc90..74162a2c04da51 100644 --- a/packages/mui-material/src/Popper/Popper.test.js +++ b/packages/mui-material/src/Popper/Popper.test.js @@ -6,7 +6,7 @@ import { createRenderer, fireEvent, screen, -} from '@mui-internal/test-utilities'; +} from '@mui-internal/test-utils'; import { ThemeProvider, createTheme } from '@mui/system'; import Grow from '@mui/material/Grow'; import Popper from '@mui/material/Popper'; diff --git a/packages/mui-material/src/Radio/Radio.test.js b/packages/mui-material/src/Radio/Radio.test.js index 2a76f0d203439f..c10574bf33bf53 100644 --- a/packages/mui-material/src/Radio/Radio.test.js +++ b/packages/mui-material/src/Radio/Radio.test.js @@ -1,6 +1,6 @@ import * as React from 'react'; import { expect } from 'chai'; -import { describeConformance, createRenderer } from '@mui-internal/test-utilities'; +import { describeConformance, createRenderer } from '@mui-internal/test-utils'; import Radio, { radioClasses as classes } from '@mui/material/Radio'; import FormControl from '@mui/material/FormControl'; import ButtonBase from '@mui/material/ButtonBase'; diff --git a/packages/mui-material/src/RadioGroup/RadioGroup.test.js b/packages/mui-material/src/RadioGroup/RadioGroup.test.js index fee1f40d085763..f0fb81a9869f50 100644 --- a/packages/mui-material/src/RadioGroup/RadioGroup.test.js +++ b/packages/mui-material/src/RadioGroup/RadioGroup.test.js @@ -8,7 +8,7 @@ import { createRenderer, fireEvent, screen, -} from '@mui-internal/test-utilities'; +} from '@mui-internal/test-utils'; import FormGroup from '@mui/material/FormGroup'; import Radio from '@mui/material/Radio'; import RadioGroup, { useRadioGroup } from '@mui/material/RadioGroup'; diff --git a/packages/mui-material/src/Rating/Rating.test.js b/packages/mui-material/src/Rating/Rating.test.js index 4921b9cd44b27f..edba69206fefed 100644 --- a/packages/mui-material/src/Rating/Rating.test.js +++ b/packages/mui-material/src/Rating/Rating.test.js @@ -7,7 +7,7 @@ import { createRenderer, fireEvent, screen, -} from '@mui-internal/test-utilities'; +} from '@mui-internal/test-utils'; import Rating, { ratingClasses as classes } from '@mui/material/Rating'; import { createTheme, ThemeProvider } from '@mui/material/styles'; diff --git a/packages/mui-material/src/ScopedCssBaseline/ScopedCssBaseline.test.js b/packages/mui-material/src/ScopedCssBaseline/ScopedCssBaseline.test.js index 75c0f04fc7fbf7..8fef049dda9d3b 100644 --- a/packages/mui-material/src/ScopedCssBaseline/ScopedCssBaseline.test.js +++ b/packages/mui-material/src/ScopedCssBaseline/ScopedCssBaseline.test.js @@ -1,5 +1,5 @@ import * as React from 'react'; -import { describeConformance, createRenderer } from '@mui-internal/test-utilities'; +import { describeConformance, createRenderer } from '@mui-internal/test-utils'; import ScopedCssBaseline, { scopedCssBaselineClasses as classes, } from '@mui/material/ScopedCssBaseline'; diff --git a/packages/mui-material/src/Select/Select.test.js b/packages/mui-material/src/Select/Select.test.js index a0b5df7684bc7a..8668adf7ca8f22 100644 --- a/packages/mui-material/src/Select/Select.test.js +++ b/packages/mui-material/src/Select/Select.test.js @@ -8,7 +8,7 @@ import { createRenderer, fireEvent, screen, -} from '@mui-internal/test-utilities'; +} from '@mui-internal/test-utils'; import { createTheme, ThemeProvider } from '@mui/material/styles'; import MenuItem, { menuItemClasses } from '@mui/material/MenuItem'; import ListSubheader from '@mui/material/ListSubheader'; diff --git a/packages/mui-material/src/Skeleton/Skeleton.test.js b/packages/mui-material/src/Skeleton/Skeleton.test.js index 53b1da64299aaf..41bd8d67eec034 100644 --- a/packages/mui-material/src/Skeleton/Skeleton.test.js +++ b/packages/mui-material/src/Skeleton/Skeleton.test.js @@ -1,6 +1,6 @@ import { expect } from 'chai'; import * as React from 'react'; -import { createRenderer, describeConformance } from '@mui-internal/test-utilities'; +import { createRenderer, describeConformance } from '@mui-internal/test-utils'; import Skeleton, { skeletonClasses as classes } from '@mui/material/Skeleton'; describe('', () => { diff --git a/packages/mui-material/src/Slide/Slide.test.js b/packages/mui-material/src/Slide/Slide.test.js index 1965701846da48..5f0a315ef0a3e6 100644 --- a/packages/mui-material/src/Slide/Slide.test.js +++ b/packages/mui-material/src/Slide/Slide.test.js @@ -1,7 +1,7 @@ import * as React from 'react'; import { expect } from 'chai'; import { spy, stub } from 'sinon'; -import { act, createRenderer, describeConformance } from '@mui-internal/test-utilities'; +import { act, createRenderer, describeConformance } from '@mui-internal/test-utils'; import { Transition } from 'react-transition-group'; import { createTheme, ThemeProvider } from '@mui/material/styles'; import Slide from '@mui/material/Slide'; diff --git a/packages/mui-material/src/Slider/Slider.test.js b/packages/mui-material/src/Slider/Slider.test.js index 6c60165f96d6d7..0684d6eac6502e 100644 --- a/packages/mui-material/src/Slider/Slider.test.js +++ b/packages/mui-material/src/Slider/Slider.test.js @@ -8,7 +8,7 @@ import { createRenderer, fireEvent, screen, -} from '@mui-internal/test-utilities'; +} from '@mui-internal/test-utils'; import { Slider as BaseSlider } from '@mui/base/Slider'; import { ThemeProvider, createTheme } from '@mui/material/styles'; import Slider, { sliderClasses as classes } from '@mui/material/Slider'; diff --git a/packages/mui-material/src/Snackbar/Snackbar.test.js b/packages/mui-material/src/Snackbar/Snackbar.test.js index 507d9dab55e9f1..f7756616cfa040 100644 --- a/packages/mui-material/src/Snackbar/Snackbar.test.js +++ b/packages/mui-material/src/Snackbar/Snackbar.test.js @@ -1,7 +1,7 @@ import * as React from 'react'; import { expect } from 'chai'; import { spy } from 'sinon'; -import { describeConformance, act, createRenderer, fireEvent } from '@mui-internal/test-utilities'; +import { describeConformance, act, createRenderer, fireEvent } from '@mui-internal/test-utils'; import Snackbar, { snackbarClasses as classes } from '@mui/material/Snackbar'; import { ThemeProvider, createTheme } from '@mui/material/styles'; diff --git a/packages/mui-material/src/SnackbarContent/SnackbarContent.test.js b/packages/mui-material/src/SnackbarContent/SnackbarContent.test.js index 9d62907441cdc3..0d1a0ac6886fce 100644 --- a/packages/mui-material/src/SnackbarContent/SnackbarContent.test.js +++ b/packages/mui-material/src/SnackbarContent/SnackbarContent.test.js @@ -1,6 +1,6 @@ import * as React from 'react'; import { expect } from 'chai'; -import { createRenderer, describeConformance } from '@mui-internal/test-utilities'; +import { createRenderer, describeConformance } from '@mui-internal/test-utils'; import Paper from '@mui/material/Paper'; import SnackbarContent, { snackbarContentClasses as classes } from '@mui/material/SnackbarContent'; diff --git a/packages/mui-material/src/SpeedDial/SpeedDial.test.js b/packages/mui-material/src/SpeedDial/SpeedDial.test.js index 5e95efeda0cf0c..c3776fffaa8b87 100644 --- a/packages/mui-material/src/SpeedDial/SpeedDial.test.js +++ b/packages/mui-material/src/SpeedDial/SpeedDial.test.js @@ -8,7 +8,7 @@ import { fireDiscreteEvent, screen, describeConformance, -} from '@mui-internal/test-utilities'; +} from '@mui-internal/test-utils'; import Icon from '@mui/material/Icon'; import SpeedDial, { speedDialClasses as classes } from '@mui/material/SpeedDial'; import SpeedDialAction from '@mui/material/SpeedDialAction'; diff --git a/packages/mui-material/src/SpeedDialAction/SpeedDialAction.test.js b/packages/mui-material/src/SpeedDialAction/SpeedDialAction.test.js index 68701611833d74..0a47c2da1e5db5 100644 --- a/packages/mui-material/src/SpeedDialAction/SpeedDialAction.test.js +++ b/packages/mui-material/src/SpeedDialAction/SpeedDialAction.test.js @@ -1,6 +1,6 @@ import * as React from 'react'; import { expect } from 'chai'; -import { describeConformance, createRenderer, fireEvent } from '@mui-internal/test-utilities'; +import { describeConformance, createRenderer, fireEvent } from '@mui-internal/test-utils'; import Icon from '@mui/material/Icon'; import Tooltip from '@mui/material/Tooltip'; import { fabClasses } from '@mui/material/Fab'; diff --git a/packages/mui-material/src/SpeedDialIcon/SpeedDialIcon.test.js b/packages/mui-material/src/SpeedDialIcon/SpeedDialIcon.test.js index c0ec36b8eb7f31..1ebce54b98ceee 100644 --- a/packages/mui-material/src/SpeedDialIcon/SpeedDialIcon.test.js +++ b/packages/mui-material/src/SpeedDialIcon/SpeedDialIcon.test.js @@ -1,6 +1,6 @@ import * as React from 'react'; import { expect } from 'chai'; -import { createRenderer, describeConformance } from '@mui-internal/test-utilities'; +import { createRenderer, describeConformance } from '@mui-internal/test-utils'; import Icon from '@mui/material/Icon'; import SpeedDialIcon, { speedDialIconClasses as classes } from '@mui/material/SpeedDialIcon'; diff --git a/packages/mui-material/src/Stack/Stack.test.js b/packages/mui-material/src/Stack/Stack.test.js index 12873c8a5b6e64..5e7d58fb4ac7d5 100644 --- a/packages/mui-material/src/Stack/Stack.test.js +++ b/packages/mui-material/src/Stack/Stack.test.js @@ -1,5 +1,5 @@ import * as React from 'react'; -import { describeConformance, createRenderer } from '@mui-internal/test-utilities'; +import { describeConformance, createRenderer } from '@mui-internal/test-utils'; import Stack, { stackClasses as classes } from '@mui/material/Stack'; // The main tests are in mui-system Stack folder diff --git a/packages/mui-material/src/Step/Step.test.js b/packages/mui-material/src/Step/Step.test.js index 699390f747eb87..b502c0bc2e94d2 100644 --- a/packages/mui-material/src/Step/Step.test.js +++ b/packages/mui-material/src/Step/Step.test.js @@ -1,6 +1,6 @@ import * as React from 'react'; import { expect } from 'chai'; -import { createRenderer, describeConformance } from '@mui-internal/test-utilities'; +import { createRenderer, describeConformance } from '@mui-internal/test-utils'; import Step, { stepClasses as classes } from '@mui/material/Step'; import Stepper from '@mui/material/Stepper'; import StepLabel, { stepLabelClasses } from '@mui/material/StepLabel'; diff --git a/packages/mui-material/src/StepButton/StepButton.test.js b/packages/mui-material/src/StepButton/StepButton.test.js index 5987790b145adb..edd518ac105f4f 100644 --- a/packages/mui-material/src/StepButton/StepButton.test.js +++ b/packages/mui-material/src/StepButton/StepButton.test.js @@ -1,7 +1,7 @@ import * as React from 'react'; import { expect } from 'chai'; import { spy } from 'sinon'; -import { createRenderer, describeConformance } from '@mui-internal/test-utilities'; +import { createRenderer, describeConformance } from '@mui-internal/test-utils'; import { fireEvent } from '@testing-library/dom'; import StepButton, { stepButtonClasses as classes } from '@mui/material/StepButton'; import Step from '@mui/material/Step'; diff --git a/packages/mui-material/src/StepConnector/StepConnector.test.js b/packages/mui-material/src/StepConnector/StepConnector.test.js index 6e5d02df90bb10..7407f76a23273d 100644 --- a/packages/mui-material/src/StepConnector/StepConnector.test.js +++ b/packages/mui-material/src/StepConnector/StepConnector.test.js @@ -1,6 +1,6 @@ import * as React from 'react'; import { expect } from 'chai'; -import { createRenderer, describeConformance } from '@mui-internal/test-utilities'; +import { createRenderer, describeConformance } from '@mui-internal/test-utils'; import Stepper from '@mui/material/Stepper'; import Step from '@mui/material/Step'; import StepConnector, { stepConnectorClasses as classes } from '@mui/material/StepConnector'; diff --git a/packages/mui-material/src/StepContent/StepContent.test.js b/packages/mui-material/src/StepContent/StepContent.test.js index 54d2538ccf5b1e..a6f8aa56581bbd 100644 --- a/packages/mui-material/src/StepContent/StepContent.test.js +++ b/packages/mui-material/src/StepContent/StepContent.test.js @@ -1,6 +1,6 @@ import * as React from 'react'; import { expect } from 'chai'; -import { createRenderer, describeConformance } from '@mui-internal/test-utilities'; +import { createRenderer, describeConformance } from '@mui-internal/test-utils'; import { collapseClasses } from '@mui/material/Collapse'; import Stepper from '@mui/material/Stepper'; import Step from '@mui/material/Step'; diff --git a/packages/mui-material/src/StepIcon/StepIcon.test.js b/packages/mui-material/src/StepIcon/StepIcon.test.js index f76f0b4e9d9e4b..759c001e330d24 100644 --- a/packages/mui-material/src/StepIcon/StepIcon.test.js +++ b/packages/mui-material/src/StepIcon/StepIcon.test.js @@ -1,6 +1,6 @@ import * as React from 'react'; import { expect } from 'chai'; -import { describeConformance, createRenderer } from '@mui-internal/test-utilities'; +import { describeConformance, createRenderer } from '@mui-internal/test-utils'; import StepIcon, { stepIconClasses as classes } from '@mui/material/StepIcon'; describe('', () => { diff --git a/packages/mui-material/src/StepLabel/StepLabel.test.js b/packages/mui-material/src/StepLabel/StepLabel.test.js index 7e101769cb5452..799d2f1b1d2f9e 100644 --- a/packages/mui-material/src/StepLabel/StepLabel.test.js +++ b/packages/mui-material/src/StepLabel/StepLabel.test.js @@ -1,6 +1,6 @@ import * as React from 'react'; import { expect } from 'chai'; -import { createRenderer, describeConformance } from '@mui-internal/test-utilities'; +import { createRenderer, describeConformance } from '@mui-internal/test-utils'; import Typography from '@mui/material/Typography'; import Stepper from '@mui/material/Stepper'; import Step from '@mui/material/Step'; diff --git a/packages/mui-material/src/Stepper/Stepper.test.tsx b/packages/mui-material/src/Stepper/Stepper.test.tsx index c9a726ffe45de9..d398d964d04ce7 100644 --- a/packages/mui-material/src/Stepper/Stepper.test.tsx +++ b/packages/mui-material/src/Stepper/Stepper.test.tsx @@ -1,6 +1,6 @@ import * as React from 'react'; import { expect } from 'chai'; -import { createRenderer, describeConformance } from '@mui-internal/test-utilities'; +import { createRenderer, describeConformance } from '@mui-internal/test-utils'; import Step, { StepProps, stepClasses } from '@mui/material/Step'; import StepLabel from '@mui/material/StepLabel'; import StepConnector, { stepConnectorClasses } from '@mui/material/StepConnector'; diff --git a/packages/mui-material/src/SvgIcon/SvgIcon.test.js b/packages/mui-material/src/SvgIcon/SvgIcon.test.js index 7782543cd08593..9adff89d0b00bc 100644 --- a/packages/mui-material/src/SvgIcon/SvgIcon.test.js +++ b/packages/mui-material/src/SvgIcon/SvgIcon.test.js @@ -1,6 +1,6 @@ import * as React from 'react'; import { expect } from 'chai'; -import { describeConformance, createRenderer } from '@mui-internal/test-utilities'; +import { describeConformance, createRenderer } from '@mui-internal/test-utils'; import SvgIcon, { svgIconClasses as classes } from '@mui/material/SvgIcon'; describe('', () => { diff --git a/packages/mui-material/src/SwipeableDrawer/SwipeableDrawer.test.js b/packages/mui-material/src/SwipeableDrawer/SwipeableDrawer.test.js index 4849670fb7da74..0fe3afcd6e7def 100644 --- a/packages/mui-material/src/SwipeableDrawer/SwipeableDrawer.test.js +++ b/packages/mui-material/src/SwipeableDrawer/SwipeableDrawer.test.js @@ -1,12 +1,7 @@ import * as React from 'react'; import { expect } from 'chai'; import { spy } from 'sinon'; -import { - fireEvent, - createRenderer, - describeConformance, - screen, -} from '@mui-internal/test-utilities'; +import { fireEvent, createRenderer, describeConformance, screen } from '@mui-internal/test-utils'; import PropTypes, { checkPropTypes } from 'prop-types'; import SwipeableDrawer from '@mui/material/SwipeableDrawer'; import Drawer, { drawerClasses } from '@mui/material/Drawer'; diff --git a/packages/mui-material/src/Switch/Switch.test.js b/packages/mui-material/src/Switch/Switch.test.js index 89f4085415eaaa..6d34c4a10aa098 100644 --- a/packages/mui-material/src/Switch/Switch.test.js +++ b/packages/mui-material/src/Switch/Switch.test.js @@ -1,6 +1,6 @@ import * as React from 'react'; import { expect } from 'chai'; -import { describeConformance, act, createRenderer, fireEvent } from '@mui-internal/test-utilities'; +import { describeConformance, act, createRenderer, fireEvent } from '@mui-internal/test-utils'; import Switch, { switchClasses as classes } from '@mui/material/Switch'; import FormControl from '@mui/material/FormControl'; diff --git a/packages/mui-material/src/Tab/Tab.test.js b/packages/mui-material/src/Tab/Tab.test.js index eacacced4f73fa..4aabc73afffd9c 100644 --- a/packages/mui-material/src/Tab/Tab.test.js +++ b/packages/mui-material/src/Tab/Tab.test.js @@ -1,7 +1,7 @@ import { expect } from 'chai'; import * as React from 'react'; import { spy } from 'sinon'; -import { act, createRenderer, describeConformance, fireEvent } from '@mui-internal/test-utilities'; +import { act, createRenderer, describeConformance, fireEvent } from '@mui-internal/test-utils'; import Tab, { tabClasses as classes } from '@mui/material/Tab'; import ButtonBase from '@mui/material/ButtonBase'; diff --git a/packages/mui-material/src/TabScrollButton/TabScrollButton.test.js b/packages/mui-material/src/TabScrollButton/TabScrollButton.test.js index df566e3a78674e..00aa3b267dffc7 100644 --- a/packages/mui-material/src/TabScrollButton/TabScrollButton.test.js +++ b/packages/mui-material/src/TabScrollButton/TabScrollButton.test.js @@ -1,6 +1,6 @@ import * as React from 'react'; import { expect } from 'chai'; -import { createRenderer, describeConformance } from '@mui-internal/test-utilities'; +import { createRenderer, describeConformance } from '@mui-internal/test-utils'; import ArrowBackIcon from '@mui/icons-material/ArrowBack'; import ArrowForwardIcon from '@mui/icons-material/ArrowForward'; import TabScrollButton, { tabScrollButtonClasses as classes } from '@mui/material/TabScrollButton'; diff --git a/packages/mui-material/src/Table/Table.test.js b/packages/mui-material/src/Table/Table.test.js index d7c3d76890b8c5..eeda37bc0b84bc 100644 --- a/packages/mui-material/src/Table/Table.test.js +++ b/packages/mui-material/src/Table/Table.test.js @@ -1,6 +1,6 @@ import * as React from 'react'; import { expect } from 'chai'; -import { createRenderer, describeConformance } from '@mui-internal/test-utilities'; +import { createRenderer, describeConformance } from '@mui-internal/test-utils'; import Table, { tableClasses as classes } from '@mui/material/Table'; import TableContext from './TableContext'; diff --git a/packages/mui-material/src/TableBody/TableBody.test.js b/packages/mui-material/src/TableBody/TableBody.test.js index 037863a926711d..1cfeaf78f72d82 100644 --- a/packages/mui-material/src/TableBody/TableBody.test.js +++ b/packages/mui-material/src/TableBody/TableBody.test.js @@ -1,6 +1,6 @@ import * as React from 'react'; import { expect } from 'chai'; -import { createRenderer, describeConformance } from '@mui-internal/test-utilities'; +import { createRenderer, describeConformance } from '@mui-internal/test-utils'; import TableBody, { tableBodyClasses as classes } from '@mui/material/TableBody'; import Tablelvl2Context from '../Table/Tablelvl2Context'; diff --git a/packages/mui-material/src/TableCell/TableCell.test.js b/packages/mui-material/src/TableCell/TableCell.test.js index 883bae694129a3..ed27e168fb2944 100644 --- a/packages/mui-material/src/TableCell/TableCell.test.js +++ b/packages/mui-material/src/TableCell/TableCell.test.js @@ -1,6 +1,6 @@ import * as React from 'react'; import { expect } from 'chai'; -import { createRenderer, describeConformance } from '@mui-internal/test-utilities'; +import { createRenderer, describeConformance } from '@mui-internal/test-utils'; import TableCell, { tableCellClasses as classes } from '@mui/material/TableCell'; import TableHead from '@mui/material/TableHead'; import TableRow from '@mui/material/TableRow'; diff --git a/packages/mui-material/src/TableContainer/TableContainer.test.js b/packages/mui-material/src/TableContainer/TableContainer.test.js index 675e889d1b4551..4d28809934c7b8 100644 --- a/packages/mui-material/src/TableContainer/TableContainer.test.js +++ b/packages/mui-material/src/TableContainer/TableContainer.test.js @@ -1,5 +1,5 @@ import * as React from 'react'; -import { createRenderer, describeConformance } from '@mui-internal/test-utilities'; +import { createRenderer, describeConformance } from '@mui-internal/test-utils'; import TableContainer, { tableContainerClasses as classes } from '@mui/material/TableContainer'; describe('', () => { diff --git a/packages/mui-material/src/TableFooter/TableFooter.test.js b/packages/mui-material/src/TableFooter/TableFooter.test.js index 5c81b313f5ce8b..7663e25c27f4df 100644 --- a/packages/mui-material/src/TableFooter/TableFooter.test.js +++ b/packages/mui-material/src/TableFooter/TableFooter.test.js @@ -1,6 +1,6 @@ import * as React from 'react'; import { expect } from 'chai'; -import { createRenderer, describeConformance } from '@mui-internal/test-utilities'; +import { createRenderer, describeConformance } from '@mui-internal/test-utils'; import TableFooter, { tableFooterClasses as classes } from '@mui/material/TableFooter'; import Tablelvl2Context from '../Table/Tablelvl2Context'; diff --git a/packages/mui-material/src/TableHead/TableHead.test.js b/packages/mui-material/src/TableHead/TableHead.test.js index 04bd5b448f3c70..5a7203d1d8b08a 100644 --- a/packages/mui-material/src/TableHead/TableHead.test.js +++ b/packages/mui-material/src/TableHead/TableHead.test.js @@ -1,6 +1,6 @@ import * as React from 'react'; import { expect } from 'chai'; -import { createRenderer, describeConformance } from '@mui-internal/test-utilities'; +import { createRenderer, describeConformance } from '@mui-internal/test-utils'; import TableHead, { tableHeadClasses as classes } from '@mui/material/TableHead'; import Tablelvl2Context from '../Table/Tablelvl2Context'; diff --git a/packages/mui-material/src/TablePagination/TablePagination.test.js b/packages/mui-material/src/TablePagination/TablePagination.test.js index 215858c88448ab..2e7fb24023e358 100644 --- a/packages/mui-material/src/TablePagination/TablePagination.test.js +++ b/packages/mui-material/src/TablePagination/TablePagination.test.js @@ -2,7 +2,7 @@ import * as React from 'react'; import { expect } from 'chai'; import { spy } from 'sinon'; import PropTypes from 'prop-types'; -import { describeConformance, fireEvent, createRenderer } from '@mui-internal/test-utilities'; +import { describeConformance, fireEvent, createRenderer } from '@mui-internal/test-utils'; import TableFooter from '@mui/material/TableFooter'; import TableCell from '@mui/material/TableCell'; import TableRow from '@mui/material/TableRow'; diff --git a/packages/mui-material/src/TableRow/TableRow.test.js b/packages/mui-material/src/TableRow/TableRow.test.js index 33acf2f68a107d..8d1adea00bf799 100644 --- a/packages/mui-material/src/TableRow/TableRow.test.js +++ b/packages/mui-material/src/TableRow/TableRow.test.js @@ -1,6 +1,6 @@ import * as React from 'react'; import { expect } from 'chai'; -import { createRenderer, describeConformance } from '@mui-internal/test-utilities'; +import { createRenderer, describeConformance } from '@mui-internal/test-utils'; import TableRow, { tableRowClasses as classes } from '@mui/material/TableRow'; describe('', () => { diff --git a/packages/mui-material/src/TableSortLabel/TableSortLabel.test.js b/packages/mui-material/src/TableSortLabel/TableSortLabel.test.js index 86879948071002..74e4e0449a3f0e 100644 --- a/packages/mui-material/src/TableSortLabel/TableSortLabel.test.js +++ b/packages/mui-material/src/TableSortLabel/TableSortLabel.test.js @@ -1,6 +1,6 @@ import * as React from 'react'; import { expect } from 'chai'; -import { createRenderer, describeConformance } from '@mui-internal/test-utilities'; +import { createRenderer, describeConformance } from '@mui-internal/test-utils'; import SortIcon from '@mui/icons-material/Sort'; import TableSortLabel, { tableSortLabelClasses as classes } from '@mui/material/TableSortLabel'; import ButtonBase from '@mui/material/ButtonBase'; diff --git a/packages/mui-material/src/Tabs/ScrollbarSize.test.js b/packages/mui-material/src/Tabs/ScrollbarSize.test.js index b3ef873726cc5b..eb6e6899303525 100644 --- a/packages/mui-material/src/Tabs/ScrollbarSize.test.js +++ b/packages/mui-material/src/Tabs/ScrollbarSize.test.js @@ -1,7 +1,7 @@ import * as React from 'react'; import { expect } from 'chai'; import { spy, stub } from 'sinon'; -import { createRenderer } from '@mui-internal/test-utilities'; +import { createRenderer } from '@mui-internal/test-utils'; import ScrollbarSize from './ScrollbarSize'; describe('', () => { diff --git a/packages/mui-material/src/Tabs/Tabs.test.js b/packages/mui-material/src/Tabs/Tabs.test.js index ac6e85aff7202c..da655ecff49149 100644 --- a/packages/mui-material/src/Tabs/Tabs.test.js +++ b/packages/mui-material/src/Tabs/Tabs.test.js @@ -9,7 +9,7 @@ import { screen, strictModeDoubleLoggingSuppressed, waitFor, -} from '@mui-internal/test-utilities'; +} from '@mui-internal/test-utils'; import ArrowBackIcon from '@mui/icons-material/ArrowBack'; import ArrowForwardIcon from '@mui/icons-material/ArrowForward'; import Tab from '@mui/material/Tab'; diff --git a/packages/mui-material/src/TextField/TextField.test.js b/packages/mui-material/src/TextField/TextField.test.js index be7535dcaa8a0c..a0cb54184e6d46 100644 --- a/packages/mui-material/src/TextField/TextField.test.js +++ b/packages/mui-material/src/TextField/TextField.test.js @@ -1,7 +1,7 @@ import * as React from 'react'; import { expect } from 'chai'; import { spy } from 'sinon'; -import { createRenderer, describeConformance, fireEvent } from '@mui-internal/test-utilities'; +import { createRenderer, describeConformance, fireEvent } from '@mui-internal/test-utils'; import FormControl from '@mui/material/FormControl'; import { inputBaseClasses } from '@mui/material/InputBase'; import MenuItem from '@mui/material/MenuItem'; diff --git a/packages/mui-material/src/ToggleButton/ToggleButton.test.js b/packages/mui-material/src/ToggleButton/ToggleButton.test.js index eaf82ab2a06524..f0b11ae00b3842 100644 --- a/packages/mui-material/src/ToggleButton/ToggleButton.test.js +++ b/packages/mui-material/src/ToggleButton/ToggleButton.test.js @@ -1,7 +1,7 @@ import * as React from 'react'; import { expect } from 'chai'; import { spy } from 'sinon'; -import { createRenderer, describeConformance } from '@mui-internal/test-utilities'; +import { createRenderer, describeConformance } from '@mui-internal/test-utils'; import ToggleButton, { toggleButtonClasses as classes } from '@mui/material/ToggleButton'; import ButtonBase from '@mui/material/ButtonBase'; diff --git a/packages/mui-material/src/ToggleButtonGroup/ToggleButtonGroup.test.js b/packages/mui-material/src/ToggleButtonGroup/ToggleButtonGroup.test.js index f3ccadee4932fb..a5e64d27e0a8c4 100644 --- a/packages/mui-material/src/ToggleButtonGroup/ToggleButtonGroup.test.js +++ b/packages/mui-material/src/ToggleButtonGroup/ToggleButtonGroup.test.js @@ -1,7 +1,7 @@ import * as React from 'react'; import { expect } from 'chai'; import { spy } from 'sinon'; -import { describeConformance, createRenderer, screen } from '@mui-internal/test-utilities'; +import { describeConformance, createRenderer, screen } from '@mui-internal/test-utils'; import ToggleButtonGroup, { toggleButtonGroupClasses as classes, } from '@mui/material/ToggleButtonGroup'; diff --git a/packages/mui-material/src/Toolbar/Toolbar.test.js b/packages/mui-material/src/Toolbar/Toolbar.test.js index 009c759a3faca2..4c25e64e3ff726 100644 --- a/packages/mui-material/src/Toolbar/Toolbar.test.js +++ b/packages/mui-material/src/Toolbar/Toolbar.test.js @@ -1,6 +1,6 @@ import * as React from 'react'; import { expect } from 'chai'; -import { createRenderer, describeConformance } from '@mui-internal/test-utilities'; +import { createRenderer, describeConformance } from '@mui-internal/test-utils'; import Toolbar, { toolbarClasses as classes } from '@mui/material/Toolbar'; describe('', () => { diff --git a/packages/mui-material/src/Tooltip/Tooltip.test.js b/packages/mui-material/src/Tooltip/Tooltip.test.js index c853ab3934af9f..3449b13e53dd61 100644 --- a/packages/mui-material/src/Tooltip/Tooltip.test.js +++ b/packages/mui-material/src/Tooltip/Tooltip.test.js @@ -10,7 +10,7 @@ import { simulatePointerDevice, focusVisible, programmaticFocusTriggersFocusVisible, -} from '@mui-internal/test-utilities'; +} from '@mui-internal/test-utils'; import { camelCase } from 'lodash/string'; import Tooltip, { tooltipClasses as classes } from '@mui/material/Tooltip'; import { testReset } from './Tooltip'; diff --git a/packages/mui-material/src/Typography/Typography.test.js b/packages/mui-material/src/Typography/Typography.test.js index fda77683f6467b..99ac1bf1be7247 100644 --- a/packages/mui-material/src/Typography/Typography.test.js +++ b/packages/mui-material/src/Typography/Typography.test.js @@ -1,7 +1,7 @@ // @ts-check import * as React from 'react'; import { expect } from 'chai'; -import { createRenderer, describeConformance } from '@mui-internal/test-utilities'; +import { createRenderer, describeConformance } from '@mui-internal/test-utils'; import Typography, { typographyClasses as classes } from '@mui/material/Typography'; describe('', () => { diff --git a/packages/mui-material/src/Unstable_Grid2/Grid2.test.js b/packages/mui-material/src/Unstable_Grid2/Grid2.test.js index df8bdc9566d149..034a45b4145ab4 100644 --- a/packages/mui-material/src/Unstable_Grid2/Grid2.test.js +++ b/packages/mui-material/src/Unstable_Grid2/Grid2.test.js @@ -1,5 +1,5 @@ import * as React from 'react'; -import { describeConformance, createRenderer } from '@mui-internal/test-utilities'; +import { describeConformance, createRenderer } from '@mui-internal/test-utils'; import Grid2, { grid2Classes as classes } from '@mui/material/Unstable_Grid2'; // The main tests are in mui-system Unstable_Grid folder diff --git a/packages/mui-material/src/Zoom/Zoom.test.js b/packages/mui-material/src/Zoom/Zoom.test.js index 68fdf2cd15bbed..78a1da94103b5c 100644 --- a/packages/mui-material/src/Zoom/Zoom.test.js +++ b/packages/mui-material/src/Zoom/Zoom.test.js @@ -1,7 +1,7 @@ import * as React from 'react'; import { expect } from 'chai'; import { spy } from 'sinon'; -import { describeConformance, createRenderer } from '@mui-internal/test-utilities'; +import { describeConformance, createRenderer } from '@mui-internal/test-utils'; import { Transition } from 'react-transition-group'; import Zoom from '@mui/material/Zoom'; import { ThemeProvider, createTheme } from '@mui/material/styles'; diff --git a/packages/mui-material/src/internal/SwitchBase.test.js b/packages/mui-material/src/internal/SwitchBase.test.js index 814c686dca6e9d..a40e478f719c44 100644 --- a/packages/mui-material/src/internal/SwitchBase.test.js +++ b/packages/mui-material/src/internal/SwitchBase.test.js @@ -1,7 +1,7 @@ import * as React from 'react'; import { expect } from 'chai'; import { spy } from 'sinon'; -import { describeConformance, act, createRenderer } from '@mui-internal/test-utilities'; +import { describeConformance, act, createRenderer } from '@mui-internal/test-utils'; import SwitchBase from './SwitchBase'; import FormControl, { useFormControl } from '../FormControl'; import ButtonBase from '../ButtonBase'; diff --git a/packages/mui-material/src/styles/CssVarsProvider.test.js b/packages/mui-material/src/styles/CssVarsProvider.test.js index 32d082b5781167..bb9c57846fa19d 100644 --- a/packages/mui-material/src/styles/CssVarsProvider.test.js +++ b/packages/mui-material/src/styles/CssVarsProvider.test.js @@ -1,6 +1,6 @@ import * as React from 'react'; import { expect } from 'chai'; -import { createRenderer, screen } from '@mui-internal/test-utilities'; +import { createRenderer, screen } from '@mui-internal/test-utils'; import Box from '@mui/material/Box'; import { Experimental_CssVarsProvider as CssVarsProvider, useTheme } from '@mui/material/styles'; diff --git a/packages/mui-material/src/styles/ThemeProvider.test.tsx b/packages/mui-material/src/styles/ThemeProvider.test.tsx index 09d66ff942e0cb..48833d7d5e93ce 100644 --- a/packages/mui-material/src/styles/ThemeProvider.test.tsx +++ b/packages/mui-material/src/styles/ThemeProvider.test.tsx @@ -1,6 +1,6 @@ import * as React from 'react'; import { expect } from 'chai'; -import { createRenderer } from '@mui-internal/test-utilities'; +import { createRenderer } from '@mui-internal/test-utils'; import { ThemeProvider } from '@mui/material/styles'; describe('ThemeProvider', () => { diff --git a/packages/mui-material/src/styles/createTheme.test.js b/packages/mui-material/src/styles/createTheme.test.js index cb5317d75929f7..d9737b9a3c52e1 100644 --- a/packages/mui-material/src/styles/createTheme.test.js +++ b/packages/mui-material/src/styles/createTheme.test.js @@ -1,6 +1,6 @@ import * as React from 'react'; import { expect } from 'chai'; -import { createRenderer } from '@mui-internal/test-utilities'; +import { createRenderer } from '@mui-internal/test-utils'; import Button from '@mui/material/Button'; import Box from '@mui/material/Box'; import { ThemeProvider, createTheme } from '@mui/material/styles'; diff --git a/packages/mui-material/src/styles/experimental_extendTheme.test.js b/packages/mui-material/src/styles/experimental_extendTheme.test.js index 720c2a01114d62..04b73a0f7eebd0 100644 --- a/packages/mui-material/src/styles/experimental_extendTheme.test.js +++ b/packages/mui-material/src/styles/experimental_extendTheme.test.js @@ -1,6 +1,6 @@ import * as React from 'react'; import { expect } from 'chai'; -import { createRenderer } from '@mui-internal/test-utilities'; +import { createRenderer } from '@mui-internal/test-utils'; import Button from '@mui/material/Button'; import { Experimental_CssVarsProvider as CssVarsProvider, diff --git a/packages/mui-material/src/styles/styled.test.js b/packages/mui-material/src/styles/styled.test.js index b19ee25c2bc1d7..3402325b32f36d 100644 --- a/packages/mui-material/src/styles/styled.test.js +++ b/packages/mui-material/src/styles/styled.test.js @@ -1,6 +1,6 @@ import * as React from 'react'; import { expect } from 'chai'; -import { createRenderer, screen } from '@mui-internal/test-utilities'; +import { createRenderer, screen } from '@mui-internal/test-utils'; import createTheme from './createTheme'; import styled from './styled'; import ThemeProvider from './ThemeProvider'; diff --git a/packages/mui-material/src/useMediaQuery/useMediaQuery.test.js b/packages/mui-material/src/useMediaQuery/useMediaQuery.test.js index cf1c7e67cd09ec..d2f91a1822ab53 100644 --- a/packages/mui-material/src/useMediaQuery/useMediaQuery.test.js +++ b/packages/mui-material/src/useMediaQuery/useMediaQuery.test.js @@ -6,7 +6,7 @@ import { screen, RenderCounter, strictModeDoubleLoggingSuppressed, -} from '@mui-internal/test-utilities'; +} from '@mui-internal/test-utils'; import mediaQuery from 'css-mediaquery'; import { expect } from 'chai'; import { stub } from 'sinon'; diff --git a/packages/mui-material/src/usePagination/usePagination.test.js b/packages/mui-material/src/usePagination/usePagination.test.js index 252f03fef61f1d..993c0c157670c8 100644 --- a/packages/mui-material/src/usePagination/usePagination.test.js +++ b/packages/mui-material/src/usePagination/usePagination.test.js @@ -1,5 +1,5 @@ import * as React from 'react'; -import { createRenderer } from '@mui-internal/test-utilities'; +import { createRenderer } from '@mui-internal/test-utils'; import { expect } from 'chai'; import usePagination from '@mui/material/usePagination'; diff --git a/packages/mui-material/src/useScrollTrigger/useScrollTrigger.test.js b/packages/mui-material/src/useScrollTrigger/useScrollTrigger.test.js index d44d2a705db95f..664ac0894181d2 100644 --- a/packages/mui-material/src/useScrollTrigger/useScrollTrigger.test.js +++ b/packages/mui-material/src/useScrollTrigger/useScrollTrigger.test.js @@ -1,7 +1,7 @@ import * as React from 'react'; import PropTypes from 'prop-types'; import { expect } from 'chai'; -import { act, createRenderer, RenderCounter, screen } from '@mui-internal/test-utilities'; +import { act, createRenderer, RenderCounter, screen } from '@mui-internal/test-utils'; import useScrollTrigger from '@mui/material/useScrollTrigger'; import Container from '@mui/material/Container'; import Box from '@mui/material/Box'; diff --git a/packages/mui-material/test/integration/DialogIntegration.test.js b/packages/mui-material/test/integration/DialogIntegration.test.js index cf214c670d9e27..aa0a013092dec2 100644 --- a/packages/mui-material/test/integration/DialogIntegration.test.js +++ b/packages/mui-material/test/integration/DialogIntegration.test.js @@ -1,6 +1,6 @@ import * as React from 'react'; import { expect } from 'chai'; -import { createRenderer, screen } from '@mui-internal/test-utilities'; +import { createRenderer, screen } from '@mui-internal/test-utils'; import Dialog from '@mui/material/Dialog'; import DialogTitle from '@mui/material/DialogTitle'; diff --git a/packages/mui-material/test/integration/Menu.test.js b/packages/mui-material/test/integration/Menu.test.js index 96ff96ac911d30..1f36ee815e6114 100644 --- a/packages/mui-material/test/integration/Menu.test.js +++ b/packages/mui-material/test/integration/Menu.test.js @@ -1,7 +1,7 @@ import * as React from 'react'; import PropTypes from 'prop-types'; import { expect } from 'chai'; -import { act, createRenderer, fireEvent, screen } from '@mui-internal/test-utilities'; +import { act, createRenderer, fireEvent, screen } from '@mui-internal/test-utils'; import Button from '@mui/material/Button'; import MenuItem from '@mui/material/MenuItem'; import Menu from '@mui/material/Menu'; diff --git a/packages/mui-material/test/integration/MenuList.test.js b/packages/mui-material/test/integration/MenuList.test.js index f861f2f2b133dc..ec2a3dc9535f81 100644 --- a/packages/mui-material/test/integration/MenuList.test.js +++ b/packages/mui-material/test/integration/MenuList.test.js @@ -7,7 +7,7 @@ import { fireEvent, screen, programmaticFocusTriggersFocusVisible, -} from '@mui-internal/test-utilities'; +} from '@mui-internal/test-utils'; import MenuList from '@mui/material/MenuList'; import MenuItem from '@mui/material/MenuItem'; import Divider from '@mui/material/Divider'; diff --git a/packages/mui-material/test/integration/NestedMenu.test.js b/packages/mui-material/test/integration/NestedMenu.test.js index 83f7bca2065932..066971cbbab5f3 100644 --- a/packages/mui-material/test/integration/NestedMenu.test.js +++ b/packages/mui-material/test/integration/NestedMenu.test.js @@ -1,6 +1,6 @@ import * as React from 'react'; import { expect } from 'chai'; -import { createRenderer, within } from '@mui-internal/test-utilities'; +import { createRenderer, within } from '@mui-internal/test-utils'; import Menu from '@mui/material/Menu'; import MenuItem from '@mui/material/MenuItem'; diff --git a/packages/mui-material/test/integration/PopperChildrenLayout.test.js b/packages/mui-material/test/integration/PopperChildrenLayout.test.js index ae2c4c1c535d23..a9c6bfad6a270c 100644 --- a/packages/mui-material/test/integration/PopperChildrenLayout.test.js +++ b/packages/mui-material/test/integration/PopperChildrenLayout.test.js @@ -1,7 +1,7 @@ import * as React from 'react'; import { expect } from 'chai'; import { spy } from 'sinon'; -import { createRenderer } from '@mui-internal/test-utilities'; +import { createRenderer } from '@mui-internal/test-utils'; import Collapse from '@mui/material/Collapse'; import Fade from '@mui/material/Fade'; import Grow from '@mui/material/Grow'; diff --git a/packages/mui-material/test/integration/Select.test.js b/packages/mui-material/test/integration/Select.test.js index b55d04970db6b9..446fbb4671b2fc 100644 --- a/packages/mui-material/test/integration/Select.test.js +++ b/packages/mui-material/test/integration/Select.test.js @@ -1,6 +1,6 @@ import * as React from 'react'; import { expect } from 'chai'; -import { act, createRenderer, fireEvent } from '@mui-internal/test-utilities'; +import { act, createRenderer, fireEvent } from '@mui-internal/test-utils'; import MenuItem from '@mui/material/MenuItem'; import Select from '@mui/material/Select'; import Dialog from '@mui/material/Dialog'; diff --git a/packages/mui-material/test/integration/TableCell.test.js b/packages/mui-material/test/integration/TableCell.test.js index 841f3ed251cdae..17438f10e3a913 100644 --- a/packages/mui-material/test/integration/TableCell.test.js +++ b/packages/mui-material/test/integration/TableCell.test.js @@ -1,6 +1,6 @@ import * as React from 'react'; import { expect } from 'chai'; -import { createRenderer } from '@mui-internal/test-utilities'; +import { createRenderer } from '@mui-internal/test-utils'; import TableCell, { tableCellClasses as classes } from '@mui/material/TableCell'; import Table from '@mui/material/Table'; import TableFooter from '@mui/material/TableFooter'; diff --git a/packages/mui-material/test/integration/TableRow.test.js b/packages/mui-material/test/integration/TableRow.test.js index 55b8f86370145d..dafad88ead09cf 100644 --- a/packages/mui-material/test/integration/TableRow.test.js +++ b/packages/mui-material/test/integration/TableRow.test.js @@ -1,6 +1,6 @@ import * as React from 'react'; import { expect } from 'chai'; -import { createRenderer } from '@mui-internal/test-utilities'; +import { createRenderer } from '@mui-internal/test-utils'; import TableFooter from '@mui/material/TableFooter'; import TableHead from '@mui/material/TableHead'; import TableRow, { tableRowClasses as classes } from '@mui/material/TableRow'; diff --git a/packages/mui-private-theming/package.json b/packages/mui-private-theming/package.json index a1a77cbb4a011f..e91ad23a55f8a3 100644 --- a/packages/mui-private-theming/package.json +++ b/packages/mui-private-theming/package.json @@ -46,7 +46,7 @@ "@mui/material": "^5.14.10", "@mui/styles": "^5.14.10", "@mui/types": "^7.2.4", - "@mui-internal/test-utilities": "^1.0.0", + "@mui-internal/test-utils": "^1.0.0", "@types/chai": "^4.3.5", "@types/react": "^18.2.21", "chai": "^4.3.7", diff --git a/packages/mui-private-theming/src/ThemeProvider/ThemeProvider.test.js b/packages/mui-private-theming/src/ThemeProvider/ThemeProvider.test.js index 4c2cb2274e526f..2ad69ef6db96d8 100644 --- a/packages/mui-private-theming/src/ThemeProvider/ThemeProvider.test.js +++ b/packages/mui-private-theming/src/ThemeProvider/ThemeProvider.test.js @@ -4,7 +4,7 @@ import { createRenderer, RenderCounter, strictModeDoubleLoggingSuppressed, -} from '@mui-internal/test-utilities'; +} from '@mui-internal/test-utils'; import useTheme from '../useTheme'; import ThemeProvider from './ThemeProvider'; diff --git a/packages/mui-private-theming/src/useTheme/useTheme.test.js b/packages/mui-private-theming/src/useTheme/useTheme.test.js index 06df499b6b8e3f..77c28631d0aa8e 100644 --- a/packages/mui-private-theming/src/useTheme/useTheme.test.js +++ b/packages/mui-private-theming/src/useTheme/useTheme.test.js @@ -1,6 +1,6 @@ import * as React from 'react'; import { expect } from 'chai'; -import { createRenderer } from '@mui-internal/test-utilities'; +import { createRenderer } from '@mui-internal/test-utils'; import useTheme from './useTheme'; import ThemeProvider from '../ThemeProvider'; diff --git a/packages/mui-styled-engine-sc/package.json b/packages/mui-styled-engine-sc/package.json index 6d9eeff6c0c4a3..77c1a398976004 100644 --- a/packages/mui-styled-engine-sc/package.json +++ b/packages/mui-styled-engine-sc/package.json @@ -43,7 +43,7 @@ "prop-types": "^15.8.1" }, "devDependencies": { - "@mui-internal/test-utilities": "^1.0.0", + "@mui-internal/test-utils": "^1.0.0", "@types/chai": "^4.3.5", "@types/react": "^18.2.21", "@types/styled-components": "^5.1.26", diff --git a/packages/mui-styled-engine-sc/src/GlobalStyles/GlobalStyles.test.js b/packages/mui-styled-engine-sc/src/GlobalStyles/GlobalStyles.test.js index fe099b9dc6e009..a5c48b4d8cfd44 100644 --- a/packages/mui-styled-engine-sc/src/GlobalStyles/GlobalStyles.test.js +++ b/packages/mui-styled-engine-sc/src/GlobalStyles/GlobalStyles.test.js @@ -1,6 +1,6 @@ import * as React from 'react'; import { expect } from 'chai'; -import { createRenderer } from '@mui-internal/test-utilities'; +import { createRenderer } from '@mui-internal/test-utils'; import { ThemeProvider } from 'styled-components'; import styled from '..'; import GlobalStyles from './GlobalStyles'; diff --git a/packages/mui-styled-engine-sc/src/styled.test.js b/packages/mui-styled-engine-sc/src/styled.test.js index 8c56cd5254f552..22d16ba1fe1bf7 100644 --- a/packages/mui-styled-engine-sc/src/styled.test.js +++ b/packages/mui-styled-engine-sc/src/styled.test.js @@ -1,6 +1,6 @@ import * as React from 'react'; import { expect } from 'chai'; -import { createRenderer } from '@mui-internal/test-utilities'; +import { createRenderer } from '@mui-internal/test-utils'; import styled from '@mui/styled-engine-sc'; describe('styled', () => { diff --git a/packages/mui-styled-engine/package.json b/packages/mui-styled-engine/package.json index 510738093a1236..eb2efbed276a17 100644 --- a/packages/mui-styled-engine/package.json +++ b/packages/mui-styled-engine/package.json @@ -46,7 +46,7 @@ "devDependencies": { "@emotion/react": "^11.11.1", "@emotion/styled": "^11.11.0", - "@mui-internal/test-utilities": "^1.0.0", + "@mui-internal/test-utils": "^1.0.0", "@types/chai": "^4.3.5", "@types/react": "^18.2.21", "chai": "^4.3.7", diff --git a/packages/mui-styled-engine/src/GlobalStyles/GlobalStyles.test.js b/packages/mui-styled-engine/src/GlobalStyles/GlobalStyles.test.js index 947f3787fec2d7..8febe0855b8ded 100644 --- a/packages/mui-styled-engine/src/GlobalStyles/GlobalStyles.test.js +++ b/packages/mui-styled-engine/src/GlobalStyles/GlobalStyles.test.js @@ -1,6 +1,6 @@ import * as React from 'react'; import { expect } from 'chai'; -import { createRenderer } from '@mui-internal/test-utilities'; +import { createRenderer } from '@mui-internal/test-utils'; import { ThemeProvider } from '@emotion/react'; import styled from '..'; import GlobalStyles from './GlobalStyles'; diff --git a/packages/mui-styles/package.json b/packages/mui-styles/package.json index 7a276b00bda5fd..8782ac696ed9c1 100644 --- a/packages/mui-styles/package.json +++ b/packages/mui-styles/package.json @@ -59,7 +59,7 @@ "devDependencies": { "@mui/joy": "5.0.0-beta.7", "@mui/material": "^5.14.10", - "@mui-internal/test-utilities": "^1.0.0", + "@mui-internal/test-utils": "^1.0.0", "@types/chai": "^4.3.5", "@types/react": "^18.2.21", "@types/react-dom": "^18.2.7", diff --git a/packages/mui-styles/src/StylesProvider/StylesProvider.test.js b/packages/mui-styles/src/StylesProvider/StylesProvider.test.js index 7edb9427cc76c0..0c9945949a95ce 100644 --- a/packages/mui-styles/src/StylesProvider/StylesProvider.test.js +++ b/packages/mui-styles/src/StylesProvider/StylesProvider.test.js @@ -2,7 +2,7 @@ import * as React from 'react'; import * as ReactDOMServer from 'react-dom/server'; import { expect } from 'chai'; import { create, SheetsRegistry } from 'jss'; -import { createMount, strictModeDoubleLoggingSuppressed } from '@mui-internal/test-utilities'; +import { createMount, strictModeDoubleLoggingSuppressed } from '@mui-internal/test-utils'; import StylesProvider, { StylesContext } from './StylesProvider'; import makeStyles from '../makeStyles'; import createGenerateClassName from '../createGenerateClassName'; diff --git a/packages/mui-styles/src/ThemeProvider/ThemeProvider.test.js b/packages/mui-styles/src/ThemeProvider/ThemeProvider.test.js index a0b1c05e81b832..862ed5ffc1de7f 100644 --- a/packages/mui-styles/src/ThemeProvider/ThemeProvider.test.js +++ b/packages/mui-styles/src/ThemeProvider/ThemeProvider.test.js @@ -1,7 +1,7 @@ import * as React from 'react'; import { expect } from 'chai'; import ThemeProvider from '@mui/private-theming/ThemeProvider'; -import { createRenderer } from '@mui-internal/test-utilities'; +import { createRenderer } from '@mui-internal/test-utils'; import makeStyles from '../makeStyles'; describe('ThemeProvider', () => { diff --git a/packages/mui-styles/src/makeStyles/makeStyles.test.js b/packages/mui-styles/src/makeStyles/makeStyles.test.js index fffb23e2a454f9..7cddc8825c46d3 100644 --- a/packages/mui-styles/src/makeStyles/makeStyles.test.js +++ b/packages/mui-styles/src/makeStyles/makeStyles.test.js @@ -3,7 +3,7 @@ import * as React from 'react'; import PropTypes from 'prop-types'; import { SheetsRegistry } from 'jss'; import { act } from 'react-dom/test-utils'; -import { createMount } from '@mui-internal/test-utilities'; +import { createMount } from '@mui-internal/test-utils'; import { createTheme } from '@mui/material/styles'; import createGenerateClassName from '../createGenerateClassName'; import makeStyles from './makeStyles'; diff --git a/packages/mui-styles/src/styled/styled.test.js b/packages/mui-styles/src/styled/styled.test.js index 63298d3794a19e..ab34d9c4406612 100644 --- a/packages/mui-styles/src/styled/styled.test.js +++ b/packages/mui-styles/src/styled/styled.test.js @@ -2,7 +2,7 @@ import * as React from 'react'; import { expect } from 'chai'; import PropTypes from 'prop-types'; import { SheetsRegistry } from 'jss'; -import { createRenderer, screen } from '@mui-internal/test-utilities'; +import { createRenderer, screen } from '@mui-internal/test-utils'; import { createGenerateClassName } from '@mui/styles'; import styled from './styled'; import StylesProvider from '../StylesProvider'; diff --git a/packages/mui-styles/src/useThemeVariants/useThemeVariants.test.js b/packages/mui-styles/src/useThemeVariants/useThemeVariants.test.js index 88cf6f44d63418..5773f098072cc2 100644 --- a/packages/mui-styles/src/useThemeVariants/useThemeVariants.test.js +++ b/packages/mui-styles/src/useThemeVariants/useThemeVariants.test.js @@ -4,7 +4,7 @@ import { createRenderer, screen, strictModeDoubleLoggingSuppressed, -} from '@mui-internal/test-utilities'; +} from '@mui-internal/test-utils'; import { createTheme } from '@mui/material/styles'; import ThemeProvider from '../ThemeProvider'; import useThemeVariants from './useThemeVariants'; diff --git a/packages/mui-styles/src/withStyles/withStyles.test.js b/packages/mui-styles/src/withStyles/withStyles.test.js index 7096abdce6659f..f739276ae56d0d 100644 --- a/packages/mui-styles/src/withStyles/withStyles.test.js +++ b/packages/mui-styles/src/withStyles/withStyles.test.js @@ -4,7 +4,7 @@ import PropTypes from 'prop-types'; import { stub } from 'sinon'; import { SheetsRegistry } from 'jss'; import Input from '@mui/material/Input'; -import { createRenderer, screen } from '@mui-internal/test-utilities'; +import { createRenderer, screen } from '@mui-internal/test-utils'; import { isMuiElement } from '@mui/material/utils'; import { createTheme } from '@mui/material/styles'; import StylesProvider from '../StylesProvider'; diff --git a/packages/mui-styles/src/withTheme/withTheme.test.js b/packages/mui-styles/src/withTheme/withTheme.test.js index 5e990b359809ed..44a200075daf2d 100644 --- a/packages/mui-styles/src/withTheme/withTheme.test.js +++ b/packages/mui-styles/src/withTheme/withTheme.test.js @@ -1,6 +1,6 @@ import * as React from 'react'; import { expect } from 'chai'; -import { createRenderer } from '@mui-internal/test-utilities'; +import { createRenderer } from '@mui-internal/test-utils'; import Input from '@mui/material/Input'; import { isMuiElement } from '@mui/material/utils'; import PropTypes from 'prop-types'; diff --git a/packages/mui-styles/test/theme-scoping.test.tsx b/packages/mui-styles/test/theme-scoping.test.tsx index b679e94f1bb071..36338e944fdaf7 100644 --- a/packages/mui-styles/test/theme-scoping.test.tsx +++ b/packages/mui-styles/test/theme-scoping.test.tsx @@ -1,6 +1,6 @@ import * as React from 'react'; import { expect } from 'chai'; -import { createRenderer } from '@mui-internal/test-utilities'; +import { createRenderer } from '@mui-internal/test-utils'; import * as material from '@mui/material/styles'; import * as joy from '@mui/joy/styles'; import { makeStyles } from '@mui/styles'; diff --git a/packages/mui-system/package.json b/packages/mui-system/package.json index b6e3f6d3d6ed2c..6641977d3752d8 100644 --- a/packages/mui-system/package.json +++ b/packages/mui-system/package.json @@ -55,7 +55,7 @@ "@mui/joy": "5.0.0-beta.7", "@mui/material": "^5.14.10", "@mui/material-next": "6.0.0-alpha.102", - "@mui-internal/test-utilities": "^1.0.0", + "@mui-internal/test-utils": "^1.0.0", "@types/chai": "^4.3.5", "@types/prop-types": "^15.7.5", "@types/react": "^18.2.21", diff --git a/packages/mui-system/src/Box/Box.test.js b/packages/mui-system/src/Box/Box.test.js index 4aeaa836d7f3ab..c90d86f4aa74a8 100644 --- a/packages/mui-system/src/Box/Box.test.js +++ b/packages/mui-system/src/Box/Box.test.js @@ -1,7 +1,7 @@ /* eslint-disable material-ui/no-empty-box */ import * as React from 'react'; import { expect } from 'chai'; -import { createRenderer, describeConformance } from '@mui-internal/test-utilities'; +import { createRenderer, describeConformance } from '@mui-internal/test-utils'; import { Box, createTheme, ThemeProvider } from '@mui/system'; describe('', () => { diff --git a/packages/mui-system/src/Container/Container.test.js b/packages/mui-system/src/Container/Container.test.js index 3446668f8cb4fe..66b70b2dca95b3 100644 --- a/packages/mui-system/src/Container/Container.test.js +++ b/packages/mui-system/src/Container/Container.test.js @@ -1,6 +1,6 @@ import * as React from 'react'; import { expect } from 'chai'; -import { describeConformance, createRenderer } from '@mui-internal/test-utilities'; +import { describeConformance, createRenderer } from '@mui-internal/test-utils'; import { Container, containerClasses as classes } from '@mui/system'; describe('', () => { diff --git a/packages/mui-system/src/GlobalStyles/GlobalStyles.test.tsx b/packages/mui-system/src/GlobalStyles/GlobalStyles.test.tsx index 69b50f3884d6e4..17178436fcdee9 100644 --- a/packages/mui-system/src/GlobalStyles/GlobalStyles.test.tsx +++ b/packages/mui-system/src/GlobalStyles/GlobalStyles.test.tsx @@ -1,6 +1,6 @@ import * as React from 'react'; import { expect } from 'chai'; -import { createRenderer } from '@mui-internal/test-utilities'; +import { createRenderer } from '@mui-internal/test-utils'; import { GlobalStyles } from '@mui/system'; describe('', () => { diff --git a/packages/mui-system/src/Stack/Stack.test.js b/packages/mui-system/src/Stack/Stack.test.js index c92f7c81301605..7e190c6d1703f2 100644 --- a/packages/mui-system/src/Stack/Stack.test.js +++ b/packages/mui-system/src/Stack/Stack.test.js @@ -1,6 +1,6 @@ import * as React from 'react'; import { expect } from 'chai'; -import { createRenderer, describeConformance } from '@mui-internal/test-utilities'; +import { createRenderer, describeConformance } from '@mui-internal/test-utils'; import Stack from '@mui/system/Stack'; import { createTheme } from '@mui/system'; import { style } from './createStack'; diff --git a/packages/mui-system/src/ThemeProvider/ThemeProvider.test.js b/packages/mui-system/src/ThemeProvider/ThemeProvider.test.js index a7658f012584e5..febe6050490f54 100644 --- a/packages/mui-system/src/ThemeProvider/ThemeProvider.test.js +++ b/packages/mui-system/src/ThemeProvider/ThemeProvider.test.js @@ -1,6 +1,6 @@ import * as React from 'react'; import { expect } from 'chai'; -import { createRenderer } from '@mui-internal/test-utilities'; +import { createRenderer } from '@mui-internal/test-utils'; import { useTheme as usePrivateTheme } from '@mui/private-theming'; import { ThemeContext } from '@mui/styled-engine'; import { ThemeProvider } from '@mui/system'; diff --git a/packages/mui-system/src/Unstable_Grid/Grid.test.js b/packages/mui-system/src/Unstable_Grid/Grid.test.js index 50432e9c2dda35..6e6d9094a9cd97 100644 --- a/packages/mui-system/src/Unstable_Grid/Grid.test.js +++ b/packages/mui-system/src/Unstable_Grid/Grid.test.js @@ -1,6 +1,6 @@ import * as React from 'react'; import { expect } from 'chai'; -import { describeConformance, createRenderer, screen } from '@mui-internal/test-utilities'; +import { describeConformance, createRenderer, screen } from '@mui-internal/test-utils'; import { ThemeProvider, createTheme } from '@mui/system'; import Grid, { gridClasses as classes } from '@mui/system/Unstable_Grid'; diff --git a/packages/mui-system/src/createBox.test.js b/packages/mui-system/src/createBox.test.js index 15d3ea2abf5069..12449e27112b5a 100644 --- a/packages/mui-system/src/createBox.test.js +++ b/packages/mui-system/src/createBox.test.js @@ -2,7 +2,7 @@ import * as React from 'react'; import { expect } from 'chai'; import { spy } from 'sinon'; -import { createRenderer } from '@mui-internal/test-utilities'; +import { createRenderer } from '@mui-internal/test-utils'; import { createBox, ThemeProvider } from '@mui/system'; describe('createBox', () => { diff --git a/packages/mui-system/src/createStyled.test.js b/packages/mui-system/src/createStyled.test.js index 7ed0443bbafdc6..c03c503374db88 100644 --- a/packages/mui-system/src/createStyled.test.js +++ b/packages/mui-system/src/createStyled.test.js @@ -2,7 +2,7 @@ import * as React from 'react'; import { expect } from 'chai'; import { spy } from 'sinon'; import { ThemeProvider, createTheme } from '@mui/material/styles'; -import { createRenderer } from '@mui-internal/test-utilities'; +import { createRenderer } from '@mui-internal/test-utils'; import createStyled from './createStyled'; describe('createStyled', () => { diff --git a/packages/mui-system/src/createTheme/createTheme.test.js b/packages/mui-system/src/createTheme/createTheme.test.js index 3c5418a5554717..9393292b1eb666 100644 --- a/packages/mui-system/src/createTheme/createTheme.test.js +++ b/packages/mui-system/src/createTheme/createTheme.test.js @@ -1,6 +1,6 @@ import * as React from 'react'; import { expect } from 'chai'; -import { createRenderer } from '@mui-internal/test-utilities'; +import { createRenderer } from '@mui-internal/test-utils'; import { createTheme, styled, ThemeProvider } from '@mui/system'; describe('createTheme', () => { diff --git a/packages/mui-system/src/cssVars/createCssVarsProvider.test.js b/packages/mui-system/src/cssVars/createCssVarsProvider.test.js index e17ba788c213ee..85f2c04d76b637 100644 --- a/packages/mui-system/src/cssVars/createCssVarsProvider.test.js +++ b/packages/mui-system/src/cssVars/createCssVarsProvider.test.js @@ -1,7 +1,7 @@ import * as React from 'react'; import { expect } from 'chai'; import { spy } from 'sinon'; -import { createRenderer, screen, fireEvent } from '@mui-internal/test-utilities'; +import { createRenderer, screen, fireEvent } from '@mui-internal/test-utils'; import createCssVarsTheme from './createCssVarsTheme'; import createCssVarsProvider, { DISABLE_CSS_TRANSITION } from './createCssVarsProvider'; import { DEFAULT_ATTRIBUTE, DEFAULT_MODE_STORAGE_KEY } from './getInitColorSchemeScript'; diff --git a/packages/mui-system/src/cssVars/getInitColorSchemeScript.test.js b/packages/mui-system/src/cssVars/getInitColorSchemeScript.test.js index 715c6416b815dd..8340db5c31bbda 100644 --- a/packages/mui-system/src/cssVars/getInitColorSchemeScript.test.js +++ b/packages/mui-system/src/cssVars/getInitColorSchemeScript.test.js @@ -1,6 +1,6 @@ /* eslint-disable no-eval */ import { expect } from 'chai'; -import { createRenderer } from '@mui-internal/test-utilities'; +import { createRenderer } from '@mui-internal/test-utils'; import getInitColorSchemeScript, { DEFAULT_ATTRIBUTE, DEFAULT_MODE_STORAGE_KEY, diff --git a/packages/mui-system/src/cssVars/useCurrentColorScheme.test.js b/packages/mui-system/src/cssVars/useCurrentColorScheme.test.js index 7c5d9d2bf1e5c4..ee1e91e56188d0 100644 --- a/packages/mui-system/src/cssVars/useCurrentColorScheme.test.js +++ b/packages/mui-system/src/cssVars/useCurrentColorScheme.test.js @@ -1,7 +1,7 @@ import * as React from 'react'; import { expect } from 'chai'; import { spy } from 'sinon'; -import { createRenderer, fireEvent, act, screen } from '@mui-internal/test-utilities'; +import { createRenderer, fireEvent, act, screen } from '@mui-internal/test-utils'; import { DEFAULT_MODE_STORAGE_KEY, DEFAULT_COLOR_SCHEME_STORAGE_KEY, diff --git a/packages/mui-system/src/styled.test.js b/packages/mui-system/src/styled.test.js index 34f5dd1f795f93..a2d5b82a2d8fc1 100644 --- a/packages/mui-system/src/styled.test.js +++ b/packages/mui-system/src/styled.test.js @@ -1,6 +1,6 @@ import * as React from 'react'; import { expect } from 'chai'; -import { createRenderer, screen } from '@mui-internal/test-utilities'; +import { createRenderer, screen } from '@mui-internal/test-utils'; import { styled, createTheme, ThemeProvider } from '@mui/system'; describe('styled', () => { diff --git a/packages/mui-system/test/integration/theme-scoping.test.tsx b/packages/mui-system/test/integration/theme-scoping.test.tsx index 2a836deabe0b06..bc3e1d3a69295d 100644 --- a/packages/mui-system/test/integration/theme-scoping.test.tsx +++ b/packages/mui-system/test/integration/theme-scoping.test.tsx @@ -1,7 +1,7 @@ import * as React from 'react'; import { expect } from 'chai'; import { spy } from 'sinon'; -import { createRenderer } from '@mui-internal/test-utilities'; +import { createRenderer } from '@mui-internal/test-utils'; import { ThemeContext } from '@mui/styled-engine'; import * as material from '@mui/material'; import * as joy from '@mui/joy'; diff --git a/packages/mui-utils/package.json b/packages/mui-utils/package.json index 245a8b67fd4113..1117a10ca5eb88 100644 --- a/packages/mui-utils/package.json +++ b/packages/mui-utils/package.json @@ -47,7 +47,7 @@ "devDependencies": { "@babel/helper-module-imports": "^7.22.15", "@mui/types": "^7.2.4", - "@mui-internal/test-utilities": "^1.0.0", + "@mui-internal/test-utils": "^1.0.0", "@types/babel-plugin-macros": "^3.1.0", "@types/chai": "^4.3.5", "@types/mocha": "^10.0.1", diff --git a/packages/mui-utils/src/useControlled/useControlled.test.js b/packages/mui-utils/src/useControlled/useControlled.test.js index 1bc8db143e8b56..7319349f7343bb 100644 --- a/packages/mui-utils/src/useControlled/useControlled.test.js +++ b/packages/mui-utils/src/useControlled/useControlled.test.js @@ -1,6 +1,6 @@ import * as React from 'react'; import { expect } from 'chai'; -import { act, createRenderer } from '@mui-internal/test-utilities'; +import { act, createRenderer } from '@mui-internal/test-utils'; import useControlled from './useControlled'; const TestComponent = ({ value: valueProp, defaultValue, children }) => { diff --git a/packages/mui-utils/src/useForkRef/useForkRef.test.js b/packages/mui-utils/src/useForkRef/useForkRef.test.js index 09c08836ea91c0..57a7290a635b48 100644 --- a/packages/mui-utils/src/useForkRef/useForkRef.test.js +++ b/packages/mui-utils/src/useForkRef/useForkRef.test.js @@ -1,6 +1,6 @@ import * as React from 'react'; import { expect } from 'chai'; -import { createRenderer, screen } from '@mui-internal/test-utilities'; +import { createRenderer, screen } from '@mui-internal/test-utils'; import useForkRef from './useForkRef'; describe('useForkRef', () => { diff --git a/packages/mui-utils/src/useId/useId.test.js b/packages/mui-utils/src/useId/useId.test.js index fa7fe89cfc6b0d..2d74f5eb00008a 100644 --- a/packages/mui-utils/src/useId/useId.test.js +++ b/packages/mui-utils/src/useId/useId.test.js @@ -1,6 +1,6 @@ import * as React from 'react'; import { expect } from 'chai'; -import { createRenderer, screen } from '@mui-internal/test-utilities'; +import { createRenderer, screen } from '@mui-internal/test-utils'; import useId from './useId'; describe('useId', () => { diff --git a/packages/mui-utils/src/useIsFocusVisible.test.js b/packages/mui-utils/src/useIsFocusVisible.test.js index 6f9c2f147b4ade..d8b4751b3495e1 100644 --- a/packages/mui-utils/src/useIsFocusVisible.test.js +++ b/packages/mui-utils/src/useIsFocusVisible.test.js @@ -7,7 +7,7 @@ import { focusVisible, simulatePointerDevice, programmaticFocusTriggersFocusVisible, -} from '@mui-internal/test-utilities'; +} from '@mui-internal/test-utils'; import useIsFocusVisible, { teardown as teardownFocusVisible } from './useIsFocusVisible'; import useForkRef from './useForkRef'; diff --git a/packages/test-utilities/package.json b/packages/test-utils/package.json similarity index 97% rename from packages/test-utilities/package.json rename to packages/test-utils/package.json index c0c31d145e5c9b..77b5a42aa405bc 100644 --- a/packages/test-utilities/package.json +++ b/packages/test-utils/package.json @@ -1,5 +1,5 @@ { - "name": "@mui-internal/test-utilities", + "name": "@mui-internal/test-utils", "version": "1.0.0", "private": true, "scripts": { diff --git a/packages/test-utilities/src/KarmaReporterReactProfiler.js b/packages/test-utils/src/KarmaReporterReactProfiler.js similarity index 100% rename from packages/test-utilities/src/KarmaReporterReactProfiler.js rename to packages/test-utils/src/KarmaReporterReactProfiler.js diff --git a/packages/test-utilities/src/components.tsx b/packages/test-utils/src/components.tsx similarity index 100% rename from packages/test-utilities/src/components.tsx rename to packages/test-utils/src/components.tsx diff --git a/packages/test-utilities/src/createDOM.d.ts b/packages/test-utils/src/createDOM.d.ts similarity index 100% rename from packages/test-utilities/src/createDOM.d.ts rename to packages/test-utils/src/createDOM.d.ts diff --git a/packages/test-utilities/src/createDOM.js b/packages/test-utils/src/createDOM.js similarity index 100% rename from packages/test-utilities/src/createDOM.js rename to packages/test-utils/src/createDOM.js diff --git a/packages/test-utilities/src/createDescribe.ts b/packages/test-utils/src/createDescribe.ts similarity index 100% rename from packages/test-utilities/src/createDescribe.ts rename to packages/test-utils/src/createDescribe.ts diff --git a/packages/test-utilities/src/createMount.tsx b/packages/test-utils/src/createMount.tsx similarity index 100% rename from packages/test-utilities/src/createMount.tsx rename to packages/test-utils/src/createMount.tsx diff --git a/packages/test-utilities/src/createRenderer.test.js b/packages/test-utils/src/createRenderer.test.js similarity index 100% rename from packages/test-utilities/src/createRenderer.test.js rename to packages/test-utils/src/createRenderer.test.js diff --git a/packages/test-utilities/src/createRenderer.tsx b/packages/test-utils/src/createRenderer.tsx similarity index 100% rename from packages/test-utilities/src/createRenderer.tsx rename to packages/test-utils/src/createRenderer.tsx diff --git a/packages/test-utilities/src/describeConformance.tsx b/packages/test-utils/src/describeConformance.tsx similarity index 100% rename from packages/test-utilities/src/describeConformance.tsx rename to packages/test-utils/src/describeConformance.tsx diff --git a/packages/test-utilities/src/describeConformanceUnstyled.tsx b/packages/test-utils/src/describeConformanceUnstyled.tsx similarity index 100% rename from packages/test-utilities/src/describeConformanceUnstyled.tsx rename to packages/test-utils/src/describeConformanceUnstyled.tsx diff --git a/packages/test-utilities/src/describeJoyColorInversion.tsx b/packages/test-utils/src/describeJoyColorInversion.tsx similarity index 100% rename from packages/test-utilities/src/describeJoyColorInversion.tsx rename to packages/test-utils/src/describeJoyColorInversion.tsx diff --git a/packages/test-utilities/src/findOutermostIntrinsic.test.js b/packages/test-utils/src/findOutermostIntrinsic.test.js similarity index 100% rename from packages/test-utilities/src/findOutermostIntrinsic.test.js rename to packages/test-utils/src/findOutermostIntrinsic.test.js diff --git a/packages/test-utilities/src/findOutermostIntrinsic.ts b/packages/test-utils/src/findOutermostIntrinsic.ts similarity index 100% rename from packages/test-utilities/src/findOutermostIntrinsic.ts rename to packages/test-utils/src/findOutermostIntrinsic.ts diff --git a/packages/test-utilities/src/fireDiscreteEvent.ts b/packages/test-utils/src/fireDiscreteEvent.ts similarity index 100% rename from packages/test-utilities/src/fireDiscreteEvent.ts rename to packages/test-utils/src/fireDiscreteEvent.ts diff --git a/packages/test-utilities/src/focusVisible.ts b/packages/test-utils/src/focusVisible.ts similarity index 100% rename from packages/test-utilities/src/focusVisible.ts rename to packages/test-utils/src/focusVisible.ts diff --git a/packages/test-utilities/src/index.ts b/packages/test-utils/src/index.ts similarity index 100% rename from packages/test-utilities/src/index.ts rename to packages/test-utils/src/index.ts diff --git a/packages/test-utilities/src/init.js b/packages/test-utils/src/init.js similarity index 100% rename from packages/test-utilities/src/init.js rename to packages/test-utils/src/init.js diff --git a/packages/test-utilities/src/initMatchers.test.js b/packages/test-utils/src/initMatchers.test.js similarity index 100% rename from packages/test-utilities/src/initMatchers.test.js rename to packages/test-utils/src/initMatchers.test.js diff --git a/packages/test-utilities/src/initMatchers.ts b/packages/test-utils/src/initMatchers.ts similarity index 100% rename from packages/test-utilities/src/initMatchers.ts rename to packages/test-utils/src/initMatchers.ts diff --git a/packages/test-utilities/src/initPlaywrightMatchers.ts b/packages/test-utils/src/initPlaywrightMatchers.ts similarity index 100% rename from packages/test-utilities/src/initPlaywrightMatchers.ts rename to packages/test-utils/src/initPlaywrightMatchers.ts diff --git a/packages/test-utilities/src/mochaHooks.js b/packages/test-utils/src/mochaHooks.js similarity index 100% rename from packages/test-utilities/src/mochaHooks.js rename to packages/test-utils/src/mochaHooks.js diff --git a/packages/test-utilities/src/mochaHooks.test.js b/packages/test-utils/src/mochaHooks.test.js similarity index 100% rename from packages/test-utilities/src/mochaHooks.test.js rename to packages/test-utils/src/mochaHooks.test.js diff --git a/packages/test-utilities/src/setup.js b/packages/test-utils/src/setup.js similarity index 100% rename from packages/test-utilities/src/setup.js rename to packages/test-utils/src/setup.js diff --git a/packages/test-utilities/src/setupBabel.js b/packages/test-utils/src/setupBabel.js similarity index 100% rename from packages/test-utilities/src/setupBabel.js rename to packages/test-utils/src/setupBabel.js diff --git a/packages/test-utilities/src/setupBabelPlaywright.js b/packages/test-utils/src/setupBabelPlaywright.js similarity index 100% rename from packages/test-utilities/src/setupBabelPlaywright.js rename to packages/test-utils/src/setupBabelPlaywright.js diff --git a/packages/test-utilities/src/setupJSDOM.js b/packages/test-utils/src/setupJSDOM.js similarity index 100% rename from packages/test-utilities/src/setupJSDOM.js rename to packages/test-utils/src/setupJSDOM.js diff --git a/packages/test-utilities/src/setupKarma.js b/packages/test-utils/src/setupKarma.js similarity index 100% rename from packages/test-utilities/src/setupKarma.js rename to packages/test-utils/src/setupKarma.js diff --git a/packages/test-utilities/src/until.js b/packages/test-utils/src/until.js similarity index 100% rename from packages/test-utilities/src/until.js rename to packages/test-utils/src/until.js diff --git a/packages/test-utilities/src/until.test.js b/packages/test-utils/src/until.test.js similarity index 100% rename from packages/test-utilities/src/until.test.js rename to packages/test-utils/src/until.test.js diff --git a/packages/test-utilities/src/userEvent.ts b/packages/test-utils/src/userEvent.ts similarity index 100% rename from packages/test-utilities/src/userEvent.ts rename to packages/test-utils/src/userEvent.ts diff --git a/packages/test-utilities/tsconfig.json b/packages/test-utils/tsconfig.json similarity index 100% rename from packages/test-utilities/tsconfig.json rename to packages/test-utils/tsconfig.json diff --git a/test/README.md b/test/README.md index 368c39ee3116e8..14b7b929336bce 100644 --- a/test/README.md +++ b/test/README.md @@ -22,7 +22,7 @@ Thanks for writing tests! Here's a quick run-down on our current setup. ## Writing tests -For all unit tests, please use the return value from `@mui-internal/test-utilities/createRenderer`. +For all unit tests, please use the return value from `@mui-internal/test-utils/createRenderer`. It prepares the test suite and returns a function with the same interface as [`render` from `@testing-library/react`](https://testing-library.com/docs/react-testing-library/api#render). diff --git a/test/e2e/.mocharc.js b/test/e2e/.mocharc.js index 48725bd80d2003..92386403490464 100644 --- a/test/e2e/.mocharc.js +++ b/test/e2e/.mocharc.js @@ -4,5 +4,5 @@ module.exports = { slow: 500, timeout: (process.env.CIRCLECI === 'true' ? 4 : 2) * 1000, // Circle CI has low-performance CPUs. reporter: 'dot', - require: ['@mui-internal/test-utilities/setupBabelPlaywright'], + require: ['@mui-internal/test-utils/setupBabelPlaywright'], }; diff --git a/test/e2e/index.test.ts b/test/e2e/index.test.ts index ba04fa05325b15..a5ceb4f2924b94 100644 --- a/test/e2e/index.test.ts +++ b/test/e2e/index.test.ts @@ -7,8 +7,8 @@ import type { MatcherOptions, SelectorMatcherOptions, } from '@testing-library/dom'; -import '@mui-internal/test-utilities/initMatchers'; -import '@mui-internal/test-utilities/initPlaywrightMatchers'; +import '@mui-internal/test-utils/initMatchers'; +import '@mui-internal/test-utils/initPlaywrightMatchers'; function sleep(duration: number): Promise { return new Promise((resolve) => { diff --git a/test/karma.conf.profile.js b/test/karma.conf.profile.js index c9830d1e8e6348..2d5f7ee2e3939d 100644 --- a/test/karma.conf.profile.js +++ b/test/karma.conf.profile.js @@ -39,7 +39,7 @@ module.exports = function setKarmaConfig(config) { 'karma-chrome-launcher', 'karma-sourcemap-loader', 'karma-webpack', - '@mui-internal/test-utilities/KarmaReporterReactProfiler', + '@mui-internal/test-utils/KarmaReporterReactProfiler', ], /** * possible values: diff --git a/test/karma.tests.js b/test/karma.tests.js index 90e2f3b6038163..8925bc09cc3bd4 100644 --- a/test/karma.tests.js +++ b/test/karma.tests.js @@ -1,5 +1,5 @@ -import '@mui-internal/test-utilities/init'; -import '@mui-internal/test-utilities/setupKarma'; +import '@mui-internal/test-utils/init'; +import '@mui-internal/test-utils/setupKarma'; const materialIntegrationContext = require.context( '../packages/mui-material/test/integration', diff --git a/test/package.json b/test/package.json index 2906e557e366a3..e3275e6cfe1095 100644 --- a/test/package.json +++ b/test/package.json @@ -16,7 +16,7 @@ "@mui/material": "^5.14.10", "@mui/material-next": "6.0.0-alpha.102", "@mui/system": "^5.14.10", - "@mui-internal/test-utilities": "^1.0.0", + "@mui-internal/test-utils": "^1.0.0", "@playwright/test": "1.37.1", "@testing-library/dom": "^9.3.1", "@types/chai": "^4.3.5", diff --git a/test/regressions/.mocharc.js b/test/regressions/.mocharc.js index 9efe74f1db0f60..66b9e6bc4905df 100644 --- a/test/regressions/.mocharc.js +++ b/test/regressions/.mocharc.js @@ -3,5 +3,5 @@ module.exports = { slow: 500, timeout: (process.env.CIRCLECI === 'true' ? 4 : 2) * 1000, // Circle CI has low-performance CPUs. reporter: 'dot', - require: ['@mui-internal/test-utilities/setupBabelPlaywright'], + require: ['@mui-internal/test-utils/setupBabelPlaywright'], };