mirror of
https://gitee.com/baidu/amis.git
synced 2024-11-29 18:48:45 +08:00
parent
000d05aa56
commit
ff64f0345c
@ -100,7 +100,8 @@ test('Renderer:inputMonth with dynamic minDate & maxDate', async () => {
|
||||
const items = container.querySelectorAll('.cxd-DatePicker');
|
||||
expect(items.length).toBe(2);
|
||||
|
||||
const [start, end] = items;
|
||||
const start = items[0];
|
||||
const end = items[1];
|
||||
|
||||
fireEvent.click(end);
|
||||
|
||||
|
@ -117,7 +117,7 @@ test('Renderer:InputSubForm with multiple & maxLength & btnLabel', async () => {
|
||||
})
|
||||
);
|
||||
|
||||
async function addItem(val1, val2) {
|
||||
async function addItem(val1: string, val2: string) {
|
||||
fireEvent.click(getByText('新增一项'));
|
||||
|
||||
const inputs = baseElement.querySelectorAll(
|
||||
|
Loading…
Reference in New Issue
Block a user