Skip to content
This repository was archived by the owner on Jul 30, 2020. It is now read-only.

Commit 4233b05

Browse files
mateusz1913bcarroll22
authored andcommitted
fix: removed old ByA11yStates and ByA11yTraits typings, added ByDisplayValue and ByTitle typings (#40)
1 parent f52ab5d commit 4233b05

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

typings/queries.d.ts

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -65,56 +65,56 @@ export type FindByText = (
6565
waitForElementOptions?: WaitForElementOptions,
6666
) => Promise<NativeTestInstance>;
6767

68+
export const getByDisplayValue: GetByBoundProp;
6869
export const getByHintText: GetByBoundProp;
6970
export const getByLabelText: GetByBoundProp;
7071
export const getByRole: GetByBoundProp;
71-
export const getByA11yStates: GetByBoundProp;
72-
export const getByA11yTraits: GetByBoundProp;
7372
export const getByPlaceholderText: GetByBoundProp;
7473
export const getByTestId: GetByBoundProp;
7574
export const getByText: GetByText;
75+
export const getByTitle: GetByBoundProp;
7676

77+
export const getAllByDisplayValue: AllByBoundProp;
7778
export const getAllByHintText: AllByBoundProp;
7879
export const getAllByLabelText: AllByBoundProp;
7980
export const getAllByRole: AllByBoundProp;
80-
export const getAllByA11yStates: AllByBoundProp;
81-
export const getAllByA11yTraits: AllByBoundProp;
8281
export const getAllByPlaceholderText: AllByBoundProp;
8382
export const getAllByTestId: AllByBoundProp;
8483
export const getAllByText: AllByText;
84+
export const getAllByTitle: AllByBoundProp;
8585

86+
export const queryByDisplayValue: QueryByBoundProp;
8687
export const queryByHintText: QueryByBoundProp;
8788
export const queryByLabelText: QueryByBoundProp;
8889
export const queryByRole: QueryByBoundProp;
89-
export const queryByA11yStates: QueryByBoundProp;
90-
export const queryByA11yTraits: QueryByBoundProp;
9190
export const queryByPlaceholderText: QueryByBoundProp;
9291
export const queryByTestId: QueryByBoundProp;
9392
export const queryByText: QueryByText;
93+
export const queryByTitle: QueryByBoundProp;
9494

95+
export const queryAllByDisplayValue: AllByBoundProp;
9596
export const queryAllByHintText: AllByBoundProp;
9697
export const queryAllByLabelText: AllByBoundProp;
9798
export const queryAllByRole: AllByBoundProp;
98-
export const queryAllByA11yStates: AllByBoundProp;
99-
export const queryAllByA11yTraits: AllByBoundProp;
10099
export const queryAllByPlaceholderText: AllByBoundProp;
101100
export const queryAllByTestId: AllByBoundProp;
102101
export const queryAllByText: AllByText;
102+
export const queryAllByTitle: AllByBoundProp;
103103

104+
export const findByDisplayValue: FindByBoundProp;
104105
export const findByHintText: FindByBoundProp;
105106
export const findByLabelText: FindByBoundProp;
106107
export const findByRole: FindByBoundProp;
107-
export const findByA11yStates: FindByBoundProp;
108-
export const findByA11yTraits: FindByBoundProp;
109108
export const findByPlaceholderText: FindByBoundProp;
110109
export const findByTestId: FindByBoundProp;
111110
export const findByText: FindByText;
111+
export const findByTitle: FindByBoundProp;
112112

113+
export const findAllByDisplayValue: FindAllByBoundProp;
113114
export const findAllByHintText: FindAllByBoundProp;
114115
export const findAllByLabelText: FindAllByBoundProp;
115116
export const findAllByRole: FindAllByBoundProp;
116-
export const findAllByA11yStates: FindAllByBoundProp;
117-
export const findAllByA11yTraits: FindAllByBoundProp;
118117
export const findAllByPlaceholderText: FindAllByBoundProp;
119118
export const findAllByTestId: FindAllByBoundProp;
120119
export const findAllByText: FindAllByText;
120+
export const findAllByTitle: FindAllByBoundProp;

0 commit comments

Comments
 (0)