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

File useTrackballPointerHandlers.test.ts

src/components/viewer3d/useTrackballPointerHandlers.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 * as THREE from 'three';
4import { buildMouseEvent, buildPointerEvent } from '../../test/builders';

Callers

nothing calls this directly

Calls 14

handleTrackballPointerUpFunction · 0.90
buildMouseEventFunction · 0.90
setPointerLockElementFunction · 0.85
unmountFunction · 0.85
createOptionsFunction · 0.70
pointerEventFunction · 0.70
refFunction · 0.70

Tested by

no test coverage detected