You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+3-5Lines changed: 3 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -152,7 +152,7 @@ For most use cases, the migration is straightforward:
152
152
importTestRendererfrom"react-test-renderer";
153
153
const tree =TestRenderer.create(<MyComponent />);
154
154
155
-
// After (test-renderer)
155
+
// After (Test Renderer)
156
156
import { createRoot } from"test-renderer";
157
157
const root =createRoot();
158
158
awaitact(async () => {
@@ -163,12 +163,10 @@ const tree = root.container;
163
163
164
164
## Performance Metrics
165
165
166
-
The library includes optional performance instrumentation using the standard Performance API. All marks and measures are prefixed with `test-renderer/` for easy filtering.
166
+
The library includes optional performance instrumentation using the [Performance API](https://developer.mozilla.org/en-US/docs/Web/API/Performance). All marks and measures are prefixed with `test-renderer/` for easy filtering.
0 commit comments