(name = 'image.jpg', contents = 'test', type = 'image/jpeg')
| 46 | } |
| 47 | |
| 48 | export function buildFile(name = 'image.jpg', contents = 'test', type = 'image/jpeg'): File { |
| 49 | return new File([contents], name, { type }); |
| 50 | } |
| 51 | |
| 52 | export function buildCamera(overrides: Partial<Camera> = {}): Camera { |
| 53 | const width = overrides.width ?? 640; |
no outgoing calls