Skip to content

Commit 7fe836d

Browse files
authored
Update src/query-helpers.js
1 parent d1059c8 commit 7fe836d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/query-helpers.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ function getElementError(message, container) {
77
}
88

99
function getMultipleElementsFoundError(message, container) {
10-
return getConfig().getElementError(
10+
return getElementError(
1111
`${message}\n\n(If this is intentional, then use the \`*AllBy*\` variant of the query (like \`queryAllByText\`, \`getAllByText\`, or \`findAllByText\`)).`,
1212
container,
1313
)

0 commit comments

Comments
 (0)