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.
TypeScript budget-trackercollaborativedockeritinerarymcp-serveroffline-firstopen-sourceopenstreetmappacking-listpwareal-timeself-hostedselfhostedtraveltravel-apptravel-journaltravel-plannertripitwanderlog
test(plugins): avoid a non-null assertion in the new frame visibility tests
Mauricef728b568ede2
diff --git a/client/src/components/Plugins/PluginFrame.test.tsx b/client/src/components/Plugins/PluginFrame.test.tsxindex dbf7d1eb1..c5381a74a 100644--- a/client/src/components/Plugins/PluginFrame.test.tsx+++ b/client/src/components/Plugins/PluginFrame.test.tsx@@ -975,7 +975,7 @@ describe('PluginFrame visibility and mobile suspend', () => {it('FE-PLUGINS-FRAME-062: tells the plugin when it leaves the screen', () => {const { container } = render(<PluginFrame pluginId="demo" surface="dashboard-widget" />);- const iframe = container.querySelector('iframe')!;+ const iframe = container.querySelector('iframe') as HTMLIFrameElement;const posted: Array<Record<string, unknown>> = [];(iframe.contentWindow as unknown as { postMessage: (m: unknown) => void }).postMessage = (m) => posted.push(m as Record<string, unknown>);fire(false);