MCPcopy Create free account
hub / github.com/ColmapView/Colmapview.github.io / __resetDownloadSchedulerForTests

Function __resetDownloadSchedulerForTests

src/utils/download.ts:8–10  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

6
7/** @internal test-only - reset the stagger clock so fake-timer tests start deterministically. */
8export function __resetDownloadSchedulerForTests(): void {
9 nextDownloadSlotAt = 0;
10}
11
12export function downloadBlob(blob: Blob, filename: string): void {
13 const url = URL.createObjectURL(blob);

Callers 4

writers.test.tsFile · 0.85
download.test.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected