MCPcopy
hub / github.com/testing-library/react-hooks-testing-library / errorHook.test.ts

File errorHook.test.ts

src/__tests__/errorHook.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { useState, useEffect } from 'react'
2
3describe('error hook tests', () => {
4 function throwError(shouldThrow?: boolean) {

Callers

nothing calls this directly

Calls 6

useErrorFunction · 0.85
useAsyncErrorFunction · 0.85
waitForNextUpdateFunction · 0.85
useEffectErrorFunction · 0.85
renderHookFunction · 0.50
rerenderFunction · 0.50

Tested by

no test coverage detected