diff --git a/doorway-ui-components/__tests__/blocks/ImageCard.test.tsx b/doorway-ui-components/__tests__/blocks/ImageCard.test.tsx index f930acb795..e889f9903b 100644 --- a/doorway-ui-components/__tests__/blocks/ImageCard.test.tsx +++ b/doorway-ui-components/__tests__/blocks/ImageCard.test.tsx @@ -22,44 +22,6 @@ describe("", () => { ) }) - it("renders with an application status bar", () => { - const { getByText } = render( - - ) - expect(getByText("Applications Closed", { exact: false })).not.toBeNull() - }) - - it("renders with multiple applications status bars", () => { - const { getByText } = render( - - ) - expect(getByText("Applications Closed", { exact: false })).not.toBeNull() - expect(getByText("Lottery Results Posted Tomorrow", { exact: false })).not.toBeNull() - }) - - it("renders with custom icon", () => { - const { getByText } = render( - - ) - expect(getByText("Matched", { exact: false })).not.toBeNull() - }) - it("renders with image tags", () => { const { getByText } = render( ", () => { - it("renders as due soon", () => { - const { getByText } = render(dueSoonAndVivid()) - expect(getByText("Application Due Date:", { exact: false })).toBeTruthy() - }) - it("renders as past due vivid", () => { - const { getByText } = render(pastDueAndVivid()) - expect(getByText("Applications Closed:", { exact: false })).toBeTruthy() - }) - it("renders as past due", () => { - const { getByText } = render(pastDue()) - expect(getByText("Applications Closed:", { exact: false })).toBeTruthy() - }) - it("renders as open soon", () => { - const { getByText } = render(openSoon()) - expect(getByText("Applications Open:", { exact: false })).toBeTruthy() - }) - it("renders as due soon", () => { - const { getByText } = render(openedAlready()) - expect(getByText("Application Due Date:", { exact: false })).toBeTruthy() - }) - it("renders as first come first serve", () => { - const { getByText } = render(openedWithFCFS()) - expect(getByText("First Come First Serve", { exact: false })).toBeTruthy() - }) - it("renders as first come first serve vivid", () => { - const { getByText } = render(openedWithFCFSVivid()) - expect(getByText("First Come First Serve", { exact: false })).toBeTruthy() - }) - it("renders as matched", () => { - const { getByText } = render(matched()) - expect(getByText("Matched", { exact: false })).toBeTruthy() - }) -}) diff --git a/doorway-ui-components/__tests__/page_components/ListingCard.test.tsx b/doorway-ui-components/__tests__/page_components/ListingCard.test.tsx index 72f49fa493..e13ada6d28 100644 --- a/doorway-ui-components/__tests__/page_components/ListingCard.test.tsx +++ b/doorway-ui-components/__tests__/page_components/ListingCard.test.tsx @@ -48,7 +48,6 @@ describe("", () => { expect(getByText("see details")).toBeTruthy() expect(getByText("child content")).toBeTruthy() expect(getAllByText("reserved community tag")).toBeTruthy() - expect(getAllByText("status content")).toBeTruthy() expect(getAllByText("cellA")).toBeTruthy() expect(getAllByText("cellB")).toBeTruthy() expect(getAllByText("cellC")).toBeTruthy()