( message: string, container: HTMLElement, )
| 17 | } |
| 18 | |
| 19 | function getMultipleElementsFoundError( |
| 20 | message: string, |
| 21 | container: HTMLElement, |
| 22 | ) { |
| 23 | return getElementError( |
| 24 | `${message}\n\n(If this is intentional, then use the \`*AllBy*\` variant of the query (like \`queryAllByText\`, \`getAllByText\`, or \`findAllByText\`)).`, |
| 25 | container, |
| 26 | ) |
| 27 | } |
| 28 | |
| 29 | function queryAllByAttribute( |
| 30 | attribute: string, |
no test coverage detected