MCPcopy
hub / github.com/bvaughn/react-error-boundary / withErrorBoundary.test.tsx

File withErrorBoundary.test.tsx

lib/utils/withErrorBoundary.test.tsx:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { Component, createRef, type PropsWithChildren } from "react";
2import { createRoot } from "react-dom/client";
3import { act } from "react-dom/test-utils";
4import { beforeEach, describe, expect, it, vi } from "vitest";

Callers

nothing calls this directly

Calls 3

withErrorBoundaryFunction · 0.90
renderFunction · 0.70
renderMethod · 0.45

Tested by

no test coverage detected