File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -589,7 +589,7 @@ export const queryAllByTestId = queryHelpers.queryAllByAttribute.bind(
589
589
export function getAllByTestId(container , id , ... rest ) {
590
590
const els = queryAllByTestId (container , id , ... rest )
591
591
if (! els .length ) {
592
- throw getElementError (
592
+ throw queryHelpers . getElementError (
593
593
` Unable to find an element by: [data-test-id="${id }"] ` ,
594
594
container ,
595
595
)
@@ -601,8 +601,8 @@ export function getByTestId(...args) {
601
601
return queryHelpers .firstResultOrNull (getAllByTestId , ... args )
602
602
}
603
603
604
- const customRender = (node , ... options ) => {
605
- const utils = render (node , ... options )
604
+ const customRender = (container , ... options ) => {
605
+ const utils = render (container , ... options )
606
606
607
607
return {
608
608
... utils ,
You can’t perform that action at this time.
0 commit comments