Skip to content

Commit

Permalink
Delete: 不要な分岐を削除
Browse files Browse the repository at this point in the history
  • Loading branch information
sevenc-nanashi committed Sep 8, 2024
1 parent ee1f05f commit 456d1d8
Showing 1 changed file with 3 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,9 @@ const createInvalidInputPlay =
if (inputValue) {
await userEvent.type(input, inputValue);
}
if (expectedMessage) {
await waitFor(() =>
expect(canvas.getByText(expectedMessage)).toBeVisible(),
);
}
await waitFor(() =>
expect(canvas.getByText(expectedMessage)).toBeVisible(),
);
};

export const EmptyInput: Story = {
Expand Down

0 comments on commit 456d1d8

Please sign in to comment.