MCPcopy
hub / github.com/testing-library/dom-testing-library / getElementError

Function getElementError

src/query-helpers.ts:15–17  ·  view source on GitHub ↗
(message: string | null, container: HTMLElement)

Source from the content-addressed store, hash-verified

13import {getConfig} from './config'
14
15function getElementError(message: string | null, container: HTMLElement) {
16 return getConfig().getElementError(message, container)
17}
18
19function getMultipleElementsFoundError(
20 message: string,

Callers 2

makeSingleQueryFunction · 0.70

Calls 1

getConfigFunction · 0.90

Tested by

no test coverage detected