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

File useSphericalLensFovWheel.test.ts

src/components/viewer3d/useSphericalLensFovWheel.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, beforeEach, describe, expect, it, vi } from 'vitest';
3import type { MutableRefObject } from 'react';
4import { getWheelAdjustedFov } from './cameraFrustumViewModel';

Callers

nothing calls this directly

Calls 7

useSphericalLensFovWheelFunction · 0.90
getWheelAdjustedFovFunction · 0.90
dispatchWheelOnFunction · 0.85
unmountFunction · 0.85
removeMethod · 0.80
createOptionsFunction · 0.70
refFunction · 0.70

Tested by

no test coverage detected