import * as React from 'react'; import demoTest, { rootPropsTest } from '../../../tests/shared/demoTest'; demoTest('tooltip', { testRootProps: false, }); rootPropsTest( 'tooltip', (Tooltip, props) => ( ), { findRootElements: () => document.querySelector('.ant-tooltip')!, }, );