From 38287ebecbd935a35d91f535f20875e87a17004e Mon Sep 17 00:00:00 2001 From: Nicolas Molina Date: Fri, 27 Sep 2024 06:27:46 -0400 Subject: [PATCH] feat(editor-content): apply format #29872 --- .../dot-file-field-ui-message.component.spec.ts | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/core-web/libs/edit-content/src/lib/fields/dot-edit-content-file-field/components/dot-file-field-ui-message/dot-file-field-ui-message.component.spec.ts b/core-web/libs/edit-content/src/lib/fields/dot-edit-content-file-field/components/dot-file-field-ui-message/dot-file-field-ui-message.component.spec.ts index f1e116be12f2..533e67bc932f 100644 --- a/core-web/libs/edit-content/src/lib/fields/dot-edit-content-file-field/components/dot-file-field-ui-message/dot-file-field-ui-message.component.spec.ts +++ b/core-web/libs/edit-content/src/lib/fields/dot-edit-content-file-field/components/dot-file-field-ui-message/dot-file-field-ui-message.component.spec.ts @@ -1,9 +1,4 @@ -import { - Spectator, - byTestId, - createComponentFactory, -} from '@ngneat/spectator/jest'; - +import { Spectator, byTestId, createComponentFactory } from '@ngneat/spectator/jest'; import { DotMessageService } from '@dotcms/data-access'; import { DotMessagePipe } from '@dotcms/ui'; @@ -38,7 +33,7 @@ describe('DotFileFieldUiMessageComponent', () => { } as unknown }); }); - + it('should be created', () => { spectator.detectChanges(); expect(spectator.component).toBeTruthy(); @@ -47,7 +42,7 @@ describe('DotFileFieldUiMessageComponent', () => { it('should have proper data', () => { spectator.detectChanges(); - const expectMessage = getUiMessage('DEFAULT') + const expectMessage = getUiMessage('DEFAULT'); const severity = spectator.query(byTestId('ui-message-icon-container')); const messageIcon = spectator.query(byTestId('ui-message-icon')); @@ -58,6 +53,4 @@ describe('DotFileFieldUiMessageComponent', () => { expect(messageText).toContainText('Drag and Drop File'); }); }); - - });