From 456d1d8f8d72d3b5d438d4ea3cee316a874d2ca6 Mon Sep 17 00:00:00 2001 From: sevenc-nanashi Date: Sun, 8 Sep 2024 18:29:50 +0900 Subject: [PATCH] =?UTF-8?q?Delete:=20=E4=B8=8D=E8=A6=81=E3=81=AA=E5=88=86?= =?UTF-8?q?=E5=B2=90=E3=82=92=E5=89=8A=E9=99=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../SettingDialog/FileNameTemplateDialog.stories.ts | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/components/Dialog/SettingDialog/FileNameTemplateDialog.stories.ts b/src/components/Dialog/SettingDialog/FileNameTemplateDialog.stories.ts index 0c1b0beea1..987906950e 100644 --- a/src/components/Dialog/SettingDialog/FileNameTemplateDialog.stories.ts +++ b/src/components/Dialog/SettingDialog/FileNameTemplateDialog.stories.ts @@ -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 = {