Skip to content

Commit

Permalink
chore(date-picker): remove unnecessary async in test
Browse files Browse the repository at this point in the history
  • Loading branch information
chirokas committed May 9, 2024
1 parent 2e8dafe commit c6a40b5
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -466,7 +466,7 @@ describe("DatePicker", () => {
onHeaderExpandedChangeSpy.mockClear();
});

it("should show the month and year picker (uncontrolled)", async () => {
it("should show the month and year picker (uncontrolled)", () => {
const {getByRole} = render(
<DatePicker
showMonthAndYearPickers
Expand Down Expand Up @@ -505,7 +505,7 @@ describe("DatePicker", () => {
expect(onHeaderExpandedChangeSpy).toHaveBeenCalledWith(false);
});

it("should show the month and year picker (controlled)", async () => {
it("should show the month and year picker (controlled)", () => {
const {getByRole} = render(
<DatePicker
showMonthAndYearPickers
Expand Down Expand Up @@ -537,7 +537,7 @@ describe("DatePicker", () => {
expect(onHeaderExpandedChangeSpy).not.toHaveBeenCalled();
});

it("CalendarBottomContent should render correctly", async () => {
it("CalendarBottomContent should render correctly", () => {
const {getByRole, getByTestId} = render(
<DatePicker
showMonthAndYearPickers
Expand Down

0 comments on commit c6a40b5

Please sign in to comment.