33import React , { useState } from 'react' ;
44import { act , fireEvent , render , screen } from '@testing-library/react' ;
55
6- import Dropdown from '../../../../../ lib/components/internal/components/ dropdown' ;
7- import { calculatePosition } from '../../../../../ lib/components/internal/components/ dropdown/dropdown-fit-handler ' ;
8- import customCssProps from '../../../../../ lib/components/internal/generated/custom-css-properties' ;
9- import DropdownWrapper from '../../../../../ lib/components/test-utils/dom/internal/dropdown' ;
6+ import { calculatePosition } from '../../../lib/components/dropdown/ dropdown-fit-handler ' ;
7+ import Dropdown from '../../../lib/components/dropdown/internal ' ;
8+ import customCssProps from '../../../lib/components/internal/generated/custom-css-properties' ;
9+ import DropdownWrapper from '../../../lib/components/test-utils/dom/internal/dropdown' ;
1010
1111const outsideId = 'outside' ;
1212
@@ -22,10 +22,8 @@ function renderDropdown(dropdown: React.ReactNode): [DropdownWrapper, HTMLElemen
2222 return [ new DropdownWrapper ( dropdownElement ) , outsideElement ] ;
2323}
2424
25- jest . mock ( '../../../../../lib/components/internal/components/dropdown/dropdown-fit-handler' , ( ) => {
26- const originalModule = jest . requireActual (
27- '../../../../../lib/components/internal/components/dropdown/dropdown-fit-handler'
28- ) ;
25+ jest . mock ( '../../../lib/components/dropdown/dropdown-fit-handler' , ( ) => {
26+ const originalModule = jest . requireActual ( '../../../lib/components/dropdown/dropdown-fit-handler' ) ;
2927 return {
3028 ...originalModule ,
3129 calculatePosition : jest . fn ( originalModule . calculatePosition ) ,
0 commit comments