From d9a5c6a89cba99f52bbadcfb5713a59628e8b9d4 Mon Sep 17 00:00:00 2001
From: ice <49827327+coding-ice@users.noreply.github.com>
Date: Thu, 15 Aug 2024 19:37:54 +0800
Subject: [PATCH] test: snap (#738)
---
src/utils/nodeUtil.tsx | 2 +-
tests/__snapshots__/MenuItem.spec.tsx.snap | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/utils/nodeUtil.tsx b/src/utils/nodeUtil.tsx
index 4b055c81..af53ac84 100644
--- a/src/utils/nodeUtil.tsx
+++ b/src/utils/nodeUtil.tsx
@@ -52,7 +52,7 @@ function convertItemsToNodes(
{label}
{(!!extra || extra === 0) && (
- {extra}
+ {extra}
)}
);
diff --git a/tests/__snapshots__/MenuItem.spec.tsx.snap b/tests/__snapshots__/MenuItem.spec.tsx.snap
index 351ed487..4d761f6b 100644
--- a/tests/__snapshots__/MenuItem.spec.tsx.snap
+++ b/tests/__snapshots__/MenuItem.spec.tsx.snap
@@ -24,7 +24,7 @@ exports[`MenuItem overwrite default role should set extra to group option 1`] =
>
Menu Item 1
@@ -42,7 +42,7 @@ exports[`MenuItem overwrite default role should set extra to option 1`] = `
>
Top Menu Item