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

Commit 0cba3d0

Browse files
lwihbcarroll22
authored andcommitted
Update api-helpers.md (#26)
Use correct method for queryAll*
1 parent 14c1396 commit 0cba3d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/api-helpers.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ import * as nativeTestingLib from '@testing-library/react-native';
1919
const { queryHelpers } = nativeTestingLib;
2020

2121
export const queryByStyle = queryHelpers.queryByProp.bind(null, 'style');
22-
export const queryAllByStyle = queryHelpers.queryByProp.bind(null, 'style');
22+
export const queryAllByStyle = queryHelpers.queryAllByProp.bind(null, 'style');
2323

2424
export function getAllByStyle(container, styles, ...rest) {
2525
const els = queryAllByStyle(container, styles, ...rest);

0 commit comments

Comments
 (0)