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(costs): escape the BOM in the CSV export assertion
Maurice99816bff4cf7
diff --git a/client/src/components/Budget/CostsPanel.test.tsx b/client/src/components/Budget/CostsPanel.test.tsxindex 825b39f35..19e1b2686 100644--- a/client/src/components/Budget/CostsPanel.test.tsx+++ b/client/src/components/Budget/CostsPanel.test.tsx@@ -1274,7 +1274,7 @@ describe('CostsPanel — remaining paths', () => {await screen.findByText('Tip')fireEvent.click(screen.getByTitle('Export CSV'))- const lines = (await exported!.text()).replace(/^/, '').split('\r\n')+ const lines = (await exported!.text()).replace(/^\uFEFF/, '').split('\r\n')expect(lines[0]).toBe('Date;Name;Category;Amount;Currency;Amount (EUR);Note')// Oldest first, dateless rows leading.expect(lines[1]).toBe(';Tip;Tips;5.00;EUR;5.00;')