MCPcopy Create free account
hub / github.com/testing-library/react-testing-library / Thrower

Function Thrower

src/__tests__/error-handlers.js:12–14  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

10
11test('render errors', () => {
12 function Thrower() {
13 throw new Error('Boom!')
14 }
15
16 if (isReact19) {
17 expect(() => {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…