diff --git a/src/components/AppShell.tsx b/src/components/AppShell.tsx index 3f4afb1f..cc0d9e94 100644 --- a/src/components/AppShell.tsx +++ b/src/components/AppShell.tsx @@ -114,7 +114,7 @@ function RegionSelector() { return ( ( }> + {() =>
option
} +
, + ); + fireEvent.click(screen.getByText("trigger")); + const panel = screen.getByTestId("dropdown-panel").parentElement!; + expect(panel.className).toContain("left-0"); + expect(panel.className).toContain("md:left-auto"); + expect(panel.className).toContain("md:right-0"); + }); +});