From 46f9ba5d8c295454381655e6ec02ad3cf8bd79db Mon Sep 17 00:00:00 2001 From: nsfisis Date: Fri, 6 Mar 2026 02:18:40 +0900 Subject: style: switch from tab to space indentation in frontend and worker/php Update biome.json indentStyle from "tab" to "space" and reformat all files in both workspaces. Co-Authored-By: Claude Opus 4.6 --- .../FoldableBorderedContainerWithCaption.test.tsx | 82 +++++++++++----------- 1 file changed, 41 insertions(+), 41 deletions(-) (limited to 'frontend/app/components/FoldableBorderedContainerWithCaption.test.tsx') diff --git a/frontend/app/components/FoldableBorderedContainerWithCaption.test.tsx b/frontend/app/components/FoldableBorderedContainerWithCaption.test.tsx index a4434ff..bfbb496 100644 --- a/frontend/app/components/FoldableBorderedContainerWithCaption.test.tsx +++ b/frontend/app/components/FoldableBorderedContainerWithCaption.test.tsx @@ -6,51 +6,51 @@ import { afterEach, describe, expect, test } from "vitest"; import FoldableBorderedContainerWithCaption from "./FoldableBorderedContainerWithCaption"; afterEach(() => { - cleanup(); + cleanup(); }); describe("FoldableBorderedContainerWithCaption", () => { - test("renders caption", () => { - render( - - Content - , - ); - expect(screen.getByText("Foldable Title")).toBeDefined(); - }); + test("renders caption", () => { + render( + + Content + , + ); + expect(screen.getByText("Foldable Title")).toBeDefined(); + }); - test("shows children by default (open state)", () => { - render( - -
Visible
-
, - ); - const child = screen.getByTestId("child"); - expect(child.parentElement?.className).not.toContain("hidden"); - }); + test("shows children by default (open state)", () => { + render( + +
Visible
+
, + ); + const child = screen.getByTestId("child"); + expect(child.parentElement?.className).not.toContain("hidden"); + }); - test("hides children when toggle button is clicked", () => { - render( - -
Content
-
, - ); - const toggleButton = screen.getByRole("button"); - fireEvent.click(toggleButton); - const child = screen.getByTestId("child"); - expect(child.parentElement?.className).toContain("hidden"); - }); + test("hides children when toggle button is clicked", () => { + render( + +
Content
+
, + ); + const toggleButton = screen.getByRole("button"); + fireEvent.click(toggleButton); + const child = screen.getByTestId("child"); + expect(child.parentElement?.className).toContain("hidden"); + }); - test("shows children again when toggle button is clicked twice", () => { - render( - -
Content
-
, - ); - const toggleButton = screen.getByRole("button"); - fireEvent.click(toggleButton); - fireEvent.click(toggleButton); - const child = screen.getByTestId("child"); - expect(child.parentElement?.className).not.toContain("hidden"); - }); + test("shows children again when toggle button is clicked twice", () => { + render( + +
Content
+
, + ); + const toggleButton = screen.getByRole("button"); + fireEvent.click(toggleButton); + fireEvent.click(toggleButton); + const child = screen.getByTestId("child"); + expect(child.parentElement?.className).not.toContain("hidden"); + }); }); -- cgit v1.3.1