diff --git a/packages/paste-core/components/summary-detail/__tests__/index.spec.tsx b/packages/paste-core/components/summary-detail/__tests__/index.spec.tsx index b27410b5ed..5292da124d 100644 --- a/packages/paste-core/components/summary-detail/__tests__/index.spec.tsx +++ b/packages/paste-core/components/summary-detail/__tests__/index.spec.tsx @@ -34,15 +34,5 @@ describe("SummaryDetail", () => { expect(renderedSummaryDetailButton.getAttribute("aria-label")).toEqual(null); expect(renderedSummaryDetailButton.getAttribute("aria-labelledby")).not.toBe(null); }); - - it("should render a summary-detail open", async () => { - await waitFor(() => { - render(); - }); - const renderedSummaryDetailButton = screen.getByRole("button"); - const summaryDetailContent = screen.getByTestId("summary-detail-content"); - expect(renderedSummaryDetailButton.getAttribute("aria-expanded")).toEqual("true"); - expect(summaryDetailContent).toBeVisible(); - }); }); });