From eb0ec0d7936c654192922b7fa05efffc79c724b9 Mon Sep 17 00:00:00 2001
From: Cindy Nguyen <126883846+cintnguyen@users.noreply.github.com>
Date: Wed, 20 Sep 2023 08:09:24 -0400
Subject: [PATCH] chore: switch data-testid to kebab case for consistency
(#2620)
---
src/Form/FormAutosuggest.jsx | 11 +++++--
src/Form/FormAutosuggestOption.jsx | 2 +-
src/Form/tests/FormAutosuggest.test.jsx | 42 ++++++++++++-------------
3 files changed, 30 insertions(+), 25 deletions(-)
diff --git a/src/Form/FormAutosuggest.jsx b/src/Form/FormAutosuggest.jsx
index d653d90b42..5fb689b2e8 100644
--- a/src/Form/FormAutosuggest.jsx
+++ b/src/Form/FormAutosuggest.jsx
@@ -102,7 +102,7 @@ function FormAutosuggest({
const iconToggle = (
@@ -255,7 +255,12 @@ function FormAutosuggest({
>
{isLoading ? (
-
+
) : state.dropDownItems.length > 0 && state.dropDownItems}
diff --git a/src/Form/FormAutosuggestOption.jsx b/src/Form/FormAutosuggestOption.jsx
index a8cad8d9ae..b965696eef 100644
--- a/src/Form/FormAutosuggestOption.jsx
+++ b/src/Form/FormAutosuggestOption.jsx
@@ -12,7 +12,7 @@ function FormAutosuggestOption({
return (