MCPcopy Create free account
hub / github.com/ColmapView/Colmapview.github.io / ConfirmationHost.test.tsx

File ConfirmationHost.test.tsx

src/components/ui/ConfirmationHost.test.tsx:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { act, cleanup, fireEvent, render, screen, waitFor } from '@testing-library/react';
2import { afterEach, describe, expect, it } from 'vitest';
3import { ConfirmationHost } from './ConfirmationHost';
4import { registerConfirmationHandler, requestConfirmation } from '../../utils/confirmation';

Callers

nothing calls this directly

Calls 3

requestConfirmationFunction · 0.90
cleanupFunction · 0.50

Tested by

no test coverage detected