From d94756389fdf620220056a83f54e46c31f2263db Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc-Andr=C3=A9=20Bombeck?= Date: Sat, 9 May 2026 22:17:17 +0200 Subject: [PATCH] style(v1.4.15): prettier sweep on phase-D reconcile touched files Class-order + line-length normalisation on tour.tsx, mock-client.ts, and codex-slug-fallback.test.ts after the focus-trap / strict-schema / inspect-helper-removal commits. No functional changes. Co-Authored-By: Claude Opus 4.7 (1M context) --- src/components/onboarding/tour.tsx | 8 +++----- src/lib/ai/__tests__/codex-slug-fallback.test.ts | 4 +--- src/lib/ai/mock-client.ts | 3 ++- 3 files changed, 6 insertions(+), 9 deletions(-) diff --git a/src/components/onboarding/tour.tsx b/src/components/onboarding/tour.tsx index c2de9a77a..dbe7f6db7 100644 --- a/src/components/onboarding/tour.tsx +++ b/src/components/onboarding/tour.tsx @@ -366,7 +366,7 @@ export function OnboardingTour({ diff --git a/src/lib/ai/__tests__/codex-slug-fallback.test.ts b/src/lib/ai/__tests__/codex-slug-fallback.test.ts index 1005d8750..ad718bc56 100644 --- a/src/lib/ai/__tests__/codex-slug-fallback.test.ts +++ b/src/lib/ai/__tests__/codex-slug-fallback.test.ts @@ -222,9 +222,7 @@ describe("Codex slug fallback chain", () => { it("does NOT walk on 401 — refreshes and retries same slug", async () => { const mockFetch = vi .fn() - .mockResolvedValueOnce( - new Response("unauthorized", { status: 401 }), - ) + .mockResolvedValueOnce(new Response("unauthorized", { status: 401 })) .mockResolvedValueOnce(sseSuccessResponse()); vi.stubGlobal("fetch", mockFetch); diff --git a/src/lib/ai/mock-client.ts b/src/lib/ai/mock-client.ts index 3b84c96a6..2f705ccd0 100644 --- a/src/lib/ai/mock-client.ts +++ b/src/lib/ai/mock-client.ts @@ -62,7 +62,8 @@ export class MockAIProvider implements AIProvider { this.model = opts.model ?? "mock-model"; this.rejectWith = opts.rejectWith; if (Array.isArray(opts.responses)) { - this.responses = opts.responses.length > 0 ? opts.responses : [DEFAULT_RESPONSE]; + this.responses = + opts.responses.length > 0 ? opts.responses : [DEFAULT_RESPONSE]; } else if (typeof opts.responses === "string") { this.responses = [opts.responses]; } else {