Skip to content

Commit

Permalink
chore: Update suggestions.js (#811)
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelDeBoey authored Nov 5, 2020
1 parent 5aa9075 commit 76bdde5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/suggestions.js
Original file line number Diff line number Diff line change
Expand Up @@ -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),
]
Expand Down

0 comments on commit 76bdde5

Please sign in to comment.