mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-16 18:09:22 +08:00
b62b81958b
* fix: try to fix React 18.3 warning * chore: back of ci * chore: fix type * chore: fix lint * chore: update deps * fix: component error * test: update snapshot * test: update snapshot * test: update snapshot * test: update snapshot * test: update snapshot * chore: update deps * test: update snapshot * test: update snapshot * test: update snapshot * chore: update deps * test: update snapshot * test: update snapshot * test: update snapshot * chore: bump version
15 lines
408 B
TypeScript
15 lines
408 B
TypeScript
import { extendTest } from '../../../tests/shared/demoTest';
|
|
|
|
jest.mock('../.', () => {
|
|
const OriReact = jest.requireActual('react');
|
|
const OriTour = jest.requireActual('../.').default;
|
|
|
|
const ProxyTour = OriReact.forwardRef((props: any, ref: any) =>
|
|
OriReact.createElement(OriTour, { ...props, open: true, ref }),
|
|
);
|
|
|
|
return ProxyTour;
|
|
});
|
|
|
|
extendTest('tour', { skip: ['render-panel.tsx'] });
|