Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ColmapView/Colmapview.github.io
/ urlImageFiles.test.ts
File
urlImageFiles.test.ts
src/utils/urlImageFiles.test.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ afterEach, beforeEach, describe, expect, it, vi } from
'vitest'
;
2
import
{ buildResponse } from
'../test/builders'
;
3
4
vi.mock(
'./imageFileCompression'
, () => ({
Callers
nothing calls this directly
Calls
13
clearUrlImageCache
Function · 0.90
fetchUrlImage
Function · 0.90
getUrlImageCached
Function · 0.90
getUrlImageCacheStats
Function · 0.90
buildResponse
Function · 0.90
fetchUrlImageRaw
Function · 0.90
fetchUrlMask
Function · 0.90
getUrlMaskCached
Function · 0.90
getUrlMaskCacheStats
Function · 0.90
prefetchUrlImages
Function · 0.90
okImageResponse
Function · 0.85
createDeferred
Function · 0.70
Tested by
no test coverage detected