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 }, ]);