This commit is contained in:
shamoon 2024-11-14 21:15:42 -08:00
parent 5651aa85f9
commit 0eebe80626

View File

@ -1277,6 +1277,9 @@ describe('DocumentDetailComponent', () => {
DocumentDetailComponent.prototype as any, DocumentDetailComponent.prototype as any,
'tryRenderTiff' 'tryRenderTiff'
) )
const doc = Object.assign({}, component.document)
doc.archived_file_name = null
doc.mime_type = 'image/tiff'
jest jest
.spyOn(documentService, 'getMetadata') .spyOn(documentService, 'getMetadata')
.mockReturnValue( .mockReturnValue(