MCPcopy Index your code
hub / github.com/thebuilder/react-intersection-observer / InView.test.tsx

File InView.test.tsx

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

Source from the content-addressed store, hash-verified

1import { render, screen } from "@testing-library/react";
2import { userEvent } from "vitest/browser";
3import { InView } from "../InView";
4import { defaultFallbackInView } from "../observe";

Callers

nothing calls this directly

Calls 3

mockAllIsIntersectingFunction · 0.90
intersectionMockInstanceFunction · 0.90
defaultFallbackInViewFunction · 0.90

Tested by

no test coverage detected