MCPcopy Create free account
hub / github.com/code-forge-io/react-router-devtools / TestContext

Interface TestContext

docs/tests/setup.browser.tsx:62–65  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

60// We extend the global test context with our custom functions that we pass into the context in beforeEach
61declare module "vitest" {
62 export interface TestContext {
63 renderStub: typeof renderStub
64 renderHook: typeof renderHook
65 }
66}
67// We pass in our custom functions to the test context
68beforeEach((ctx) => {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…