Pinned Loading
-
-
PageContextFactory is a helper desig...
PageContextFactory is a helper designed to reduce boilerplate when creating React contexts. It allows you to easily create contexts for pages, enabling the sharing of state and logic across the component tree. 1import { renderHook } from '@testing-library/react-hooks'
2import { createPageContext } from './PageContextFactory.tsx'
34describe('createPageContext', () => {
5it('should create context and provide access to the state', () => {
-
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.