mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-08 15:10:25 +08:00
ea8ed28209
* chore: unified import method * fix lint
13 lines
362 B
TypeScript
13 lines
362 B
TypeScript
import React from 'react';
|
|
import demoTest, { rootPropsTest } from '../../../tests/shared/demoTest';
|
|
|
|
demoTest('select', {
|
|
skip: ['render-panel.tsx'],
|
|
testRootProps: false,
|
|
});
|
|
|
|
rootPropsTest('select', (Select, props) => <Select {...props} />, {
|
|
findRootElements: () => document.querySelectorAll('.ant-select, .ant-select-dropdown'),
|
|
expectCount: 2,
|
|
});
|