MCPcopy Create free account
hub / github.com/dailydotdev/apps / useDebounceFn.spec.ts

File useDebounceFn.spec.ts

packages/shared/src/hooks/useDebounceFn.spec.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { renderHook, waitFor } from '@testing-library/react';
2import useDebounceFn from './useDebounceFn';
3
4it('should call the callback only once', async () => {

Callers

nothing calls this directly

Calls 2

useDebounceFnFunction · 0.85
callbackFunction · 0.50

Tested by

no test coverage detected