소스 검색

update special attrs for selected by findSelector

M Gilang Januar 3 년 전
부모
커밋
ea9a1920c6
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      src/lib/findSelector.js

+ 2 - 1
src/lib/findSelector.js

@@ -1,6 +1,7 @@
 import { finder as finderLib } from '@medv/finder';
 
-const ariaAttrs = ['aria-label', 'aria-labelledby'];
+// const ariaAttrs = ['aria-label', 'aria-labelledby'];
+const ariaAttrs = ['data-testid'];
 
 export const finder = finderLib;