MCPcopy Index your code
hub / github.com/streamich/react-use / useWindowScroll.test.tsx

File useWindowScroll.test.tsx

tests/useWindowScroll.test.tsx:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import React, { useEffect } from 'react';
2import { render, act as reactAct } from '@testing-library/react';
3import { act, renderHook } from '@testing-library/react-hooks';
4import { replaceRaf } from 'raf-stub';

Callers

nothing calls this directly

Calls 5

setWindowScrollFunction · 0.85
triggerScrollFunction · 0.85
getHookFunction · 0.70
resetMethod · 0.65
stepMethod · 0.65

Tested by

no test coverage detected