Skip to content

Commit

Permalink
Lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
vivinkrishna-ni committed Oct 11, 2024
1 parent c2a8b4b commit f9fbd95
Show file tree
Hide file tree
Showing 3 changed files with 203 additions and 212 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ import { RichTextMentionUsersValidator } from '../../../rich-text-mention/users/
export class RichTextEditorPageObject {
public constructor(
private readonly richTextEditorElement: RichTextEditor
) { }
) {}

public editorSectionHasChildNodes(): boolean {
const editorSection = this.getEditorSection();
Expand Down Expand Up @@ -308,7 +308,10 @@ export class RichTextEditorPageObject {
await waitForUpdatesAsync();

// eslint-disable-next-line no-console
console.log('Anchored region hidden attribute:', !anchoredRegion.hasAttribute('hidden'));
console.log(
'Anchored region hidden attribute:',
!anchoredRegion.hasAttribute('hidden')
);
// eslint-disable-next-line no-console
console.log('Anchored region hidden property:', !anchoredRegion.hidden);
return !anchoredRegion.hidden;
Expand Down Expand Up @@ -388,7 +391,7 @@ export class RichTextEditorPageObject {
return (
document.activeElement === this.richTextEditorElement
&& document.activeElement?.shadowRoot?.activeElement
=== this.getTiptapEditor()
=== this.getTiptapEditor()
);
}

Expand Down Expand Up @@ -471,7 +474,10 @@ export class RichTextEditorPageObject {
// }
const listOption = this.getAllListItemsInMentionBox()[index];
// eslint-disable-next-line no-console
console.log('Editor focus status:', this.richTextEditorElement.tiptapEditor.isFocused);
console.log(
'Editor focus status:',
this.richTextEditorElement.tiptapEditor.isFocused
);
listOption?.click();
await waitForUpdatesAsync();
}
Expand Down Expand Up @@ -544,7 +550,7 @@ export class RichTextEditorPageObject {
viewElement: richTextMentionUsersViewTag,
validator: new RichTextMentionUsersValidator()
},
() => { }
() => {}
);
mentionInternals.pattern = '^user:(.*)';
mappings.forEach(mapping => {
Expand Down
Loading

0 comments on commit f9fbd95

Please sign in to comment.