From 91d6eb83d1cba5c464eafd951b3fca03d1f9e211 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Fri, 31 Oct 2025 22:53:33 +0000 Subject: [PATCH 1/2] Initial plan From 323cd6dc37208f87d74ce4da48abca241c21bf39 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Fri, 31 Oct 2025 23:02:14 +0000 Subject: [PATCH 2/2] Remove meaningless test case checking void function return value Co-authored-by: ienaga <4123454+ienaga@users.noreply.github.com> --- .../TextFieldSetFocusIndexUseCase.test.ts | 25 ++++++------------- 1 file changed, 7 insertions(+), 18 deletions(-) diff --git a/packages/text/src/TextField/usecase/TextFieldSetFocusIndexUseCase.test.ts b/packages/text/src/TextField/usecase/TextFieldSetFocusIndexUseCase.test.ts index 9016b63e..e7720c7b 100644 --- a/packages/text/src/TextField/usecase/TextFieldSetFocusIndexUseCase.test.ts +++ b/packages/text/src/TextField/usecase/TextFieldSetFocusIndexUseCase.test.ts @@ -72,18 +72,7 @@ describe("TextFieldSetFocusIndexUseCase.js test", () => expect(typeof execute).toBe("function"); }); - it("execute test case8 - returns undefined", () => - { - const textField = new TextField(); - textField.type = "input"; - textField.text = "Test"; - - const result = execute(textField, 10, 10); - - expect(result).toBeUndefined(); - }); - - it("execute test case9 - handles multiline text", () => + it("execute test case8 - handles multiline text", () => { const textField = new TextField(); textField.type = "input"; @@ -95,7 +84,7 @@ describe("TextFieldSetFocusIndexUseCase.js test", () => }).not.toThrow(); }); - it("execute test case10 - handles different stage coordinates", () => + it("execute test case9 - handles different stage coordinates", () => { const textField = new TextField(); textField.type = "input"; @@ -108,7 +97,7 @@ describe("TextFieldSetFocusIndexUseCase.js test", () => }).not.toThrow(); }); - it("execute test case11 - default selected parameter is false", () => + it("execute test case10 - default selected parameter is false", () => { const textField = new TextField(); textField.type = "input"; @@ -119,7 +108,7 @@ describe("TextFieldSetFocusIndexUseCase.js test", () => expect(textField.selectIndex).toBe(-1); }); - it("execute test case12 - handles text with scrolling", () => + it("execute test case11 - handles text with scrolling", () => { const textField = new TextField(); textField.type = "input"; @@ -132,7 +121,7 @@ describe("TextFieldSetFocusIndexUseCase.js test", () => }).not.toThrow(); }); - it("execute test case13 - handles negative coordinates", () => + it("execute test case12 - handles negative coordinates", () => { const textField = new TextField(); textField.type = "input"; @@ -143,7 +132,7 @@ describe("TextFieldSetFocusIndexUseCase.js test", () => }).not.toThrow(); }); - it("execute test case14 - handles large coordinates", () => + it("execute test case13 - handles large coordinates", () => { const textField = new TextField(); textField.type = "input"; @@ -154,7 +143,7 @@ describe("TextFieldSetFocusIndexUseCase.js test", () => }).not.toThrow(); }); - it("execute test case15 - handles Japanese text", () => + it("execute test case14 - handles Japanese text", () => { const textField = new TextField(); textField.type = "input";