mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-14 09:51:36 +00:00
test(date-picker): use await for range mode
This commit is contained in:
parent
7b6487de2f
commit
56da2b408b
1 changed files with 3 additions and 1 deletions
|
@ -64,7 +64,9 @@ describe("DatePicker", () => {
|
|||
screen.queryByLabelText("calendar-container"),
|
||||
).not.toBeInTheDocument();
|
||||
await user.click(inputStart);
|
||||
expect(screen.getByLabelText("calendar-container")).toBeInTheDocument();
|
||||
expect(
|
||||
await screen.findByLabelText("calendar-container"),
|
||||
).toBeInTheDocument();
|
||||
});
|
||||
|
||||
it("handles disabled state", () => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue