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

Function error

src/core/index.ts:22–25  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

20 return value as TValue
21 },
22 get error() {
23 const { error } = results[results.length - 1] ?? {}
24 return error
25 }
26 }
27
28 const updateResult = (value?: TValue, error?: Error) => {

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…