From 5712e397367a164be8fe94fdcb6c578e98a4951c Mon Sep 17 00:00:00 2001 From: Yasa-Nataliya Date: Thu, 23 Nov 2023 13:51:11 +0530 Subject: [PATCH] [ACS-5600]modified the changes --- .../src/lib/viewer/components/viewer.component.spec.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/core/src/lib/viewer/components/viewer.component.spec.ts b/lib/core/src/lib/viewer/components/viewer.component.spec.ts index d8bc7fd5a88..1784e1a753b 100644 --- a/lib/core/src/lib/viewer/components/viewer.component.spec.ts +++ b/lib/core/src/lib/viewer/components/viewer.component.spec.ts @@ -118,28 +118,28 @@ describe('ViewerComponent', () => { describe('originalMimeType', () => { const getMimeTypeIconElement = () => fixture.nativeElement.querySelector('.adf-viewer__mimeicon'); - fit('should set alt attribute to originalMimeType when originalMimeType is provided', () => { + it('should set alt attribute to originalMimeType when originalMimeType is provided', () => { component.originalMimeType = 'image/png'; fixture.detectChanges(); const altAttribute: string = getMimeTypeIconElement().getAttribute('alt'); expect(altAttribute).toBe('image/png'); }); - fit('should set src attribute based on originalMimeType when originalMimeType is provided', () => { + it('should set src attribute based on originalMimeType when originalMimeType is provided', () => { component.originalMimeType = 'image'; fixture.detectChanges(); const srcAttribute: string = getMimeTypeIconElement().getAttribute('src'); expect(srcAttribute).toContain('image'); }); - fit('should set alt attribute to mimeType when originalMimeType is not provided', () => { + it('should set alt attribute to mimeType when originalMimeType is not provided', () => { component.mimeType = 'application/pdf'; fixture.detectChanges(); const altAttribute: string = getMimeTypeIconElement().getAttribute('alt'); expect(altAttribute).toBe('application/pdf'); }); - fit('should set src attribute based on mimeType when originalMimeType is not provided', () => { + it('should set src attribute based on mimeType when originalMimeType is not provided', () => { component.mimeType = 'image'; fixture.detectChanges(); const srcAttribute: string = getMimeTypeIconElement().getAttribute('src');