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

File blocker.test.tsx

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

Source from the content-addressed store, hash-verified

1import React from 'react'
2import '@testing-library/jest-dom/vitest'
3import { afterEach, beforeEach, describe, expect, test, vi } from 'vitest'
4import { cleanup, fireEvent, render, screen } from '@testing-library/react'

Callers

nothing calls this directly

Calls 6

createBrowserHistoryFunction · 0.90
setupFunction · 0.70
destroyMethod · 0.65
cleanupFunction · 0.50
resolveFunction · 0.50
testFunction · 0.50

Tested by

no test coverage detected