MCPcopy
hub / github.com/TanStack/router / ClientOnly.test.tsx

File ClientOnly.test.tsx

packages/react-router/tests/ClientOnly.test.tsx:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { afterEach, describe, expect, it, vi } from 'vitest'
2import React from 'react'
3import ReactDOMServer from 'react-dom/server'
4import { act, cleanup, render, screen } from '@testing-library/react'

Callers

nothing calls this directly

Calls 3

renderFunction · 0.90
createTestRouterFunction · 0.70
cleanupFunction · 0.50

Tested by

no test coverage detected