diff --git a/packages/ui/src/components/date-picker/date-picker-suggestions.test.tsx b/packages/ui/src/components/date-picker/date-picker-suggestions.test.tsx index 17c45865..4d02564a 100644 --- a/packages/ui/src/components/date-picker/date-picker-suggestions.test.tsx +++ b/packages/ui/src/components/date-picker/date-picker-suggestions.test.tsx @@ -2,16 +2,16 @@ import "@testing-library/jest-dom"; import { render, screen } from "@testing-library/react"; import DatePickerSuggestions from "./date-picker-suggestions"; -describe("Date Input", () => { +describe("Date Range Suggestions Radio Group", () => { beforeEach(() => { render( console.log(value)} />); }); test("renders radio group and all it's options", () => { expect(screen.getByLabelText("Past 1 Year")); + expect(screen.getByLabelText("Past 3 Months")); + expect(screen.getByLabelText("Past 1 Month")); expect(screen.getByLabelText("Year to Date")); - expect(screen.getByLabelText("3 Months")); - expect(screen.getByLabelText("1 Month")); expect(screen.queryByLabelText("It's over 9000")).not.toBeInTheDocument(); }); });