radios&list单测修改

This commit is contained in:
xujiahao01 2022-02-16 00:21:51 +08:00
parent 5d3b1da5d6
commit c896e39504
2 changed files with 2 additions and 0 deletions

View File

@ -91,6 +91,7 @@ test('Renderer:list:multiple clearable', async () => {
fireEvent.click(getByText(/Option A/)); fireEvent.click(getByText(/Option A/));
await wait(100); await wait(100);
fireEvent.click(getByText(/Option B/)); fireEvent.click(getByText(/Option B/));
await wait(100);
expect(container).toMatchSnapshot(); expect(container).toMatchSnapshot();
await wait(100); await wait(100);
fireEvent.click(getByText(/Option B/)); fireEvent.click(getByText(/Option B/));

View File

@ -56,5 +56,6 @@ test('Renderer:radios', async () => {
); );
expect(container).toMatchSnapshot(); expect(container).toMatchSnapshot();
fireEvent.click(getByText(/Option A/)); fireEvent.click(getByText(/Option A/));
await wait(100);
expect(container).toMatchSnapshot(); expect(container).toMatchSnapshot();
}); });