aboutsummaryrefslogtreecommitdiffhomepage
path: root/frontend/app/components/InputText.test.tsx
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2026-03-06 02:18:40 +0900
committernsfisis <nsfisis@gmail.com>2026-03-06 02:18:40 +0900
commit46f9ba5d8c295454381655e6ec02ad3cf8bd79db (patch)
treec54719cb129ee05f96c4898219588062f71daa36 /frontend/app/components/InputText.test.tsx
parent27f509ccf4fbfeaa1bc2580ae2251461dc44ebfa (diff)
downloadphperkaigi-2026-albatross-46f9ba5d8c295454381655e6ec02ad3cf8bd79db.tar.gz
phperkaigi-2026-albatross-46f9ba5d8c295454381655e6ec02ad3cf8bd79db.tar.zst
phperkaigi-2026-albatross-46f9ba5d8c295454381655e6ec02ad3cf8bd79db.zip
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 <noreply@anthropic.com>
Diffstat (limited to 'frontend/app/components/InputText.test.tsx')
-rw-r--r--frontend/app/components/InputText.test.tsx42
1 files changed, 21 insertions, 21 deletions
diff --git a/frontend/app/components/InputText.test.tsx b/frontend/app/components/InputText.test.tsx
index 6fbdd27..8acf6f2 100644
--- a/frontend/app/components/InputText.test.tsx
+++ b/frontend/app/components/InputText.test.tsx
@@ -6,31 +6,31 @@ import { afterEach, describe, expect, test } from "vitest";
import InputText from "./InputText";
afterEach(() => {
- cleanup();
+ cleanup();
});
describe("InputText", () => {
- test("renders an input element", () => {
- render(<InputText data-testid="input" />);
- const input = screen.getByTestId("input");
- expect(input.tagName).toBe("INPUT");
- });
+ test("renders an input element", () => {
+ render(<InputText data-testid="input" />);
+ const input = screen.getByTestId("input");
+ expect(input.tagName).toBe("INPUT");
+ });
- test("passes placeholder prop", () => {
- render(<InputText placeholder="Enter text" data-testid="input" />);
- const input = screen.getByTestId("input") as HTMLInputElement;
- expect(input.placeholder).toBe("Enter text");
- });
+ test("passes placeholder prop", () => {
+ render(<InputText placeholder="Enter text" data-testid="input" />);
+ const input = screen.getByTestId("input") as HTMLInputElement;
+ expect(input.placeholder).toBe("Enter text");
+ });
- test("passes type prop", () => {
- render(<InputText type="password" data-testid="input" />);
- const input = screen.getByTestId("input") as HTMLInputElement;
- expect(input.type).toBe("password");
- });
+ test("passes type prop", () => {
+ render(<InputText type="password" data-testid="input" />);
+ const input = screen.getByTestId("input") as HTMLInputElement;
+ expect(input.type).toBe("password");
+ });
- test("has border styling", () => {
- render(<InputText data-testid="input" />);
- const input = screen.getByTestId("input");
- expect(input.className).toContain("border-brand-600");
- });
+ test("has border styling", () => {
+ render(<InputText data-testid="input" />);
+ const input = screen.getByTestId("input");
+ expect(input.className).toContain("border-brand-600");
+ });
});