Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion src/components/map/places-map.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,14 @@ describe("PlacesMap panel mounting", () => {

describe("PlacesMap filter presets", () => {
it("narrows the results to the preset's type and sets it in the URL", () => {
render(<PlacesMap places={PLACES} />);
render(
<PlacesMap
places={PLACES}
cities={CITIES}
defaultCenter={[19.08, 72.95]}
defaultZoom={11}
/>,
);
expect(screen.getByText("City Library")).toBeTruthy();

fireEvent.click(screen.getByRole("button", { name: "Airports" }));
Expand Down
Loading