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.

style(tours): the repo test's busy leg wrapped the way Prettier writes it

Mauricecda6e4bfd126
diff --git a/client/src/repo/paddleRouteRepo.test.ts b/client/src/repo/paddleRouteRepo.test.ts
index b6c22c0da..75e7afa90 100644
--- a/client/src/repo/paddleRouteRepo.test.ts
+++ b/client/src/repo/paddleRouteRepo.test.ts
@@ -112,7 +112,10 @@ describe('paddleRouteRepo', () => {
await paddleRouteRepo.plan(103, [{ from: A, to: B }], { boat: 'kayak', lakeStyle: 'shore' });
expect(paddleRouteApi.plan).toHaveBeenCalledTimes(3);
- vi.mocked(paddleRouteApi.plan).mockResolvedValue({ legs: [{ status: 'failed', code: 'busy', at: null }], graph_rev: null });
+ vi.mocked(paddleRouteApi.plan).mockResolvedValue({
+ legs: [{ status: 'failed', code: 'busy', at: null }],
+ graph_rev: null,
+ });
await expect(paddleRouteRepo.plan(103, [{ from: B, to: C }], KAYAK)).resolves.toEqual([
{ status: 'failed', code: 'busy', at: null },
]);