import * as setupJsDomAll from './src/jsdom/setupJsDom';

export const setupJsDom = setupJsDomAll.setupJsDom as (global?: any) => void;
/*
 * Re-exports everything from @testing-library/react and extends it with:
 * 1) additional queries
 * 2) re-exports userEvent
 */
export * from './src/extensions/testingLibraryReactExt';
// Utility function to mock adaptive panel items width
export { mockAdaptivePanelLayout } from './src/mocks/adaptivePanelMockUtils';
// mocks
export { mockReactPortalsForSnapshots } from './src/mocks/reactPortalsMockUtils';
export { SvgMock } from './src/mocks/svgrMock';
// renderers
export {
    renderSnapshotWithContextAsync,
    renderHookWithContextAsync,
    renderWithContextAsync,
    getDefaultUUiContextWrapper,
    renderer, // re-export of react-test-renderer
} from './src/rendering/renderingWithContextUtils';
export type { CustomWrapperType } from './src/rendering/renderingWithContextUtils';
// setup
export { setupComponentForTest } from './src/rendering/setupComponentUtils';
// delay
export { delayAct, delay } from './src/rendering/timerUtils';
