We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 17d5165 commit 6bf86f9Copy full SHA for 6bf86f9
typings/index.d.ts
@@ -70,7 +70,7 @@ interface QueryByAPI {
70
) => ReactTestInstance | null;
71
queryByDisplayValue: (value: string | RegExp) => ReactTestInstance | null;
72
queryByTestId: (testID: string) => ReactTestInstance | null;
73
- queryAllByTestId: (testID: string) => Array<ReactTestInstance> | null;
+ queryAllByTestId: (testID: string) => Array<ReactTestInstance> | [];
74
queryAllByText: (text: string | RegExp) => Array<ReactTestInstance> | [];
75
queryAllByPlaceholderText: (
76
placeholder: string | RegExp
0 commit comments