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

Function createFile

src/hooks/useFrustumTexture.test.ts:211–213  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

209});
210
211function createFile(): File {
212 return new File(['image'], 'image.jpg', { type: 'image/jpeg', lastModified: 1 });
213}
214
215function createBitmapStub(overrides: Partial<ImageBitmap> = {}): ImageBitmap {
216 return buildImageBitmap({

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected