Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 4 additions & 14 deletions packages/text/src/TextField/usecase/TextFieldReloadUseCase.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,17 +45,7 @@ describe("TextFieldReloadUseCase.js test", () =>
expect(typeof execute).toBe("function");
});

it("execute test case6 - returns undefined", () =>
{
const textField = new TextField();
textField.text = "Test";

const result = execute(textField);

expect(result).toBeUndefined();
});

it("execute test case7 - handles text field with autoSize", () =>
it("execute test case6 - handles text field with autoSize", () =>
{
const textField = new TextField();
textField.text = "Test";
Expand All @@ -66,7 +56,7 @@ describe("TextFieldReloadUseCase.js test", () =>
}).not.toThrow();
});

it("execute test case8 - handles text field with autoFontSize", () =>
it("execute test case7 - handles text field with autoFontSize", () =>
{
const textField = new TextField();
textField.text = "Test";
Expand All @@ -77,7 +67,7 @@ describe("TextFieldReloadUseCase.js test", () =>
}).not.toThrow();
});

it("execute test case9 - can be called multiple times", () =>
it("execute test case8 - can be called multiple times", () =>
{
const textField = new TextField();
textField.text = "Test";
Expand All @@ -89,7 +79,7 @@ describe("TextFieldReloadUseCase.js test", () =>
}).not.toThrow();
});

it("execute test case10 - handles long text", () =>
it("execute test case9 - handles long text", () =>
{
const textField = new TextField();
textField.text = "This is a very long text that should be handled properly by the reload use case";
Expand Down