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,
'tryRenderTiff'
)
const doc = Object.assign({}, component.document)
doc.archived_file_name = null
doc.mime_type = 'image/tiff'
jest
.spyOn(documentService, 'getMetadata')
.mockReturnValue(