chore: lint

This commit is contained in:
karishmas6
2024-06-06 05:45:38 +05:30
parent 8f33ae6b60
commit 8ce339f176

View File

@@ -15,8 +15,8 @@ export const getBestSelectorForAction = (action: Action) => {
// less than 25 characters, and element only has text inside
const textSelector =
selectors?.text?.length != null &&
selectors?.text?.length < 25 &&
action.hasOnlyText
selectors?.text?.length < 25 &&
action.hasOnlyText
? `text=${selectors.text}`
: null;