diff --git a/src/suggestions.js b/src/suggestions.js
index <HASH>..<HASH> 100644
--- a/src/suggestions.js
+++ b/src/suggestions.js
@@ -19,7 +19,7 @@ function makeSuggestion(queryName, element, content, {variant, name}) {
   let warning = ''
   const queryOptions = {}
   const queryArgs = [
-    queryName === 'Role' || queryName === 'TestId'
+    ['Role', 'TestId'].includes(queryName)
       ? content
       : getRegExpMatcher(content),
   ]
chore: Update suggestions.js (#<I>)