Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/thebuilder/react-intersection-observer
/ useInView.test.tsx
File
useInView.test.tsx
src/__tests__/useInView.test.tsx:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import { render, screen } from
"@testing-library/react"
;
2
import React, { useCallback } from
"react"
;
3
import { defaultFallbackInView, type IntersectionOptions } from
"../index"
;
4
import {
Callers
nothing calls this directly
Calls
5
intersectionMockInstance
Function · 0.90
mockAllIsIntersecting
Function · 0.90
mockIsIntersecting
Function · 0.90
destroyIntersectionMocking
Function · 0.90
defaultFallbackInView
Function · 0.85
Tested by
no test coverage detected