MCPcopy
hub / github.com/TanStack/router / findByText

Function findByText

packages/solid-router/tests/routeContext.test.tsx:38–41  ·  view source on GitHub ↗
(text: string)

Source from the content-addressed store, hash-verified

36describe('context function', () => {
37 describe('context is executed', () => {
38 async function findByText(text: string) {
39 const element = await screen.findByText(text)
40 expect(element).toBeInTheDocument()
41 }
42
43 async function clickButton(name: string) {
44 const button = await screen.findByRole('button', {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected