Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/ColmapView/Colmapview.github.io
/ canvasTypeGuards.test.ts
File
canvasTypeGuards.test.ts
src/utils/canvasTypeGuards.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
{ buildCanvas2dContext, buildImageCacheCanvas } from
'../test/builders'
;
3
import
{
4
getCanvas2dContext,
Callers
nothing calls this directly
Calls
4
isOffscreenCanvas
Function · 0.90
buildCanvas2dContext
Function · 0.90
buildImageCacheCanvas
Function · 0.90
getCanvas2dContext
Function · 0.90
Tested by
no test coverage detected