Skip to content

armgit / TREK

Public Imported from GitHub
0

The most complete open-source travel planner: real-time collaboration, bookings, budgets, packing lists, journals, offline PWA, SSO and an AI-ready MCP server, with planet-wide place search and routing built in.

test(studio): a Studio save carries its revision, and the layers foot is drawn with its selection

Mauriced206435af128
diff --git a/client/src/components/Studio/StudioLayersPanel.test.tsx b/client/src/components/Studio/StudioLayersPanel.test.tsx
index b16319c33..2d55463ce 100644
--- a/client/src/components/Studio/StudioLayersPanel.test.tsx
+++ b/client/src/components/Studio/StudioLayersPanel.test.tsx
@@ -141,8 +141,8 @@ describe('the layers panel', () => {
});
it('groups and ungroups the selection from its foot, and says when the page is empty', () => {
- render(<StudioLayersPanel t={t} />);
store().select(['a', 't']);
+ render(<StudioLayersPanel t={t} />);
fireEvent.click(screen.getByText('journey.studio.layers.groupAction'));
expect(el('a').group).toBeDefined();
fireEvent.click(screen.getByText('journey.studio.layers.ungroup'));