MCPcopy
hub / github.com/remix-run/react-router / getHtml

Function getHtml

packages/react-router/__tests__/utils/getHtml.ts:3–7  ·  view source on GitHub ↗
(container: HTMLElement)

Source from the content-addressed store, hash-verified

1import { prettyDOM } from "@testing-library/react";
2
3export default function getHtml(container: HTMLElement) {
4 return prettyDOM(container, undefined, {
5 highlight: false,
6 });
7}

Callers 12

navigate-test.tsxFile · 0.50
testPartialHydrationFunction · 0.50
testDomRouterFunction · 0.50
htmlFunction · 0.50
clickAndAssertFunction · 0.50
assertNavigationFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…