MCPcopy
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

1import { render, screen } from "@testing-library/react";
2import React, { useCallback } from "react";
3import { defaultFallbackInView, type IntersectionOptions } from "../index";
4import {

Callers

nothing calls this directly

Calls 5

intersectionMockInstanceFunction · 0.90
mockAllIsIntersectingFunction · 0.90
mockIsIntersectingFunction · 0.90
defaultFallbackInViewFunction · 0.85

Tested by

no test coverage detected