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 eee6202 commit 8b917e2Copy full SHA for 8b917e2
src/helpers/byTestId.js
@@ -11,7 +11,7 @@ const getNodeByTestId = (node, testID) => {
11
const queryAllByTestId = (
12
instance: ReactTestInstance
13
): ((testId: string | RegExp) => Array<ReactTestInstance>) =>
14
- function getAllByTestIdFn(testId) {
+ function queryAllByTestIdFn(testId) {
15
const results = instance
16
.findAll((node) => getNodeByTestId(node, testId))
17
.filter((element) => typeof element.type === 'string');
0 commit comments