Skip to content

Commit b2cfc74

Browse files
authored
add ByA11yState to ALL_QUERIES_METHODS const
- `prefer-screen-queries` was failing for destructured a11y queries Signed-off-by: Viren Mohindra <[email protected]>
1 parent 657ed01 commit b2cfc74

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/utils/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ const ALL_QUERIES_METHODS = [
4343
'ByDisplayValue',
4444
'ByRole',
4545
'ByTestId',
46+
'ByA11yState',
4647
];
4748

4849
const SYNC_QUERIES_COMBINATIONS = combineQueries(

0 commit comments

Comments
 (0)