MCPcopy Create free account
hub / github.com/ColmapView/Colmapview.github.io / useClickOutside.test.ts

File useClickOutside.test.ts

src/hooks/useClickOutside.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { act, renderHook } from '@testing-library/react';
2import { afterEach, describe, expect, it, vi } from 'vitest';
3import { type RefObject } from 'react';
4import { useClickOutside } from './useClickOutside';

Callers

nothing calls this directly

Calls 5

useClickOutsideFunction · 0.90
createRefFunction · 0.85
flushDelayedListenersFunction · 0.85
unmountFunction · 0.85
removeMethod · 0.80

Tested by

no test coverage detected