MCPcopy
hub / github.com/testing-library/react-hooks-testing-library / useContext.test.tsx

File useContext.test.tsx

src/__tests__/useContext.test.tsx:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import React, { createContext, useContext } from 'react'
2
3describe('useContext tests', () => {
4 runForRenderers(['default', 'dom', 'native', 'server/hydrated'], ({ renderHook }) => {

Callers

nothing calls this directly

Calls 2

renderHookFunction · 0.50
rerenderFunction · 0.50

Tested by

no test coverage detected