mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-11-26 06:37:33 +00:00
style(tours): the repo test's busy leg wrapped the way Prettier writes it
The client format gate refused client/src/repo/paddleRouteRepo.test.ts, a new file outside the format baseline.
This commit is contained in:
@@ -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 },
|
||||
]);
|
||||
|
||||
Reference in New Issue
Block a user