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(
589589export function getAllByTestId(container , id , ... rest ) {
590590 const els = queryAllByTestId (container , id , ... rest )
591591 if (! els .length ) {
592- throw getElementError (
592+ throw queryHelpers . getElementError (
593593 ` Unable to find an element by: [data-test-id="${id }"] ` ,
594594 container ,
595595 )
@@ -601,8 +601,8 @@ export function getByTestId(...args) {
601601 return queryHelpers .firstResultOrNull (getAllByTestId , ... args )
602602}
603603
604- const customRender = (node , ... options ) => {
605- const utils = render (node , ... options )
604+ const customRender = (container , ... options ) => {
605+ const utils = render (container , ... options )
606606
607607 return {
608608 ... utils ,
You can’t perform that action at this time.
0 commit comments