Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ColmapView/Colmapview.github.io
/ asyncImageDecode.test.ts
File
asyncImageDecode.test.ts
src/hooks/asyncImageDecode.test.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ afterEach, describe, expect, it, vi } from
'vitest'
;
2
import
{ buildImageBitmap } from
'../test/builders'
;
3
import
{
4
clearFailedImages,
Callers
nothing calls this directly
Calls
12
clearFailedImages
Function · 0.90
buildImageBitmap
Function · 0.90
createImageBitmapWithTimeout
Function · 0.90
hasImageFailed
Function · 0.90
getFailedImageCount
Function · 0.90
markImageFailed
Function · 0.90
shouldLogDecodeFailure
Function · 0.90
shouldLogDecodeFailureSuppression
Function · 0.90
resizeImageBitmapToMaxSizeWithTimeout
Function · 0.90
shouldResizeImageBitmap
Function · 0.90
createDeferred
Function · 0.70
resolve
Method · 0.65
Tested by
no test coverage detected