This repository has been archived by the owner on Oct 22, 2024. It is now read-only.
Remove ts-ignores where no longer necessary #389
Annotations
2 errors
Run tests:
test/components/views/rooms/wysiwyg_composer/EditWysiwygComposer-test.tsx#L63
expect(element).toHaveAttribute("contentEditable", "true") // element.getAttribute("contentEditable") === "true"
Expected the element to have attribute:
contentEditable="true"
Received:
contentEditable="false"
Ignored nodes: comments, script, style
<html>
<head />
<body>
<div />
<div>
<div
class="mx_EditWysiwygComposer"
data-testid="WysiwygComposer"
>
<div
class="mx_WysiwygComposer_AutoCompleteWrapper"
data-testid="autocomplete-wrapper"
/>
<div
class="mx_FormattingButtons"
>
<button
aria-label="Bold"
class="mx_AccessibleButton mx_FormattingButtons_Button mx_FormattingButtons_Button_hover"
role="button"
tabindex="0"
>
<div
class="mx_FormattingButtons_Icon"
/>
</button>
<button
aria-label="Italic"
class="mx_AccessibleButton mx_FormattingButtons_Button mx_FormattingButtons_Button_hover"
role="button"
tabindex="0"
>
<div
class="mx_FormattingButtons_Icon"
/>
</button>
<button
aria-label="Underline"
class="mx_AccessibleButton mx_FormattingButtons_Button mx_FormattingButtons_Button_hover"
role="button"
tabindex="0"
>
<div
class="mx_FormattingButtons_Icon"
/>
</button>
<button
aria-label="Strikethrough"
class="mx_AccessibleButton mx_FormattingButtons_Button mx_FormattingButtons_Button_hover"
role="button"
tabindex="0"
>
<div
class="mx_FormattingButtons_Icon"
/>
</button>
<button
aria-label="Bulleted list"
class="mx_AccessibleButton mx_FormattingButtons_Button mx_FormattingButtons_Button_hover"
role="button"
tabindex="0"
>
<div
class="mx_FormattingButtons_Icon"
/>
</button>
<button
aria-label="Numbered list"
class="mx_AccessibleButton mx_FormattingButtons_Button mx_FormattingButtons_Button_hover"
role="button"
tabindex="0"
>
<div
class="mx_FormattingButtons_Icon"
/>
</button>
<button
aria-label="Quote"
class="mx_AccessibleButton mx_FormattingButtons_Button mx_FormattingButtons_Button_hover"
role="button"
tabindex="0"
>
<div
class="mx_FormattingButtons_Icon"
/>
</button>
<button
aria-label="Code"
class="mx_AccessibleButton mx_FormattingButtons_Button mx_FormattingButtons_Button_hover"
role="button"
tabindex="0"
>
<div
class="mx_FormattingButtons_Icon"
/>
</button>
<button
aria-label="Code block"
class="mx_AccessibleButton mx_FormattingButtons_Button mx_FormattingButtons_Button_hover"
role="button"
tabindex="0"
>
<div
class="mx_FormattingButtons_Icon"
/>
</button>
<button
aria-label="Link"
class="mx_AccessibleButton mx_FormattingButtons_Button mx_FormattingButtons_Button_hover"
role="button"
tabindex="0"
>
<div
class="mx_FormattingButtons_Icon"
/>
</button>
</div>
<div
class="mx_WysiwygComposer_Editor"
data-is-expanded="false"
data-testid="WysiwygComposerEditor"
>
<div
class="mx_WysiwygComposer_Editor_container"
>
<div
aria-autocomplete="list"
aria-disabled="true"
|
Run tests
Process completed with exit code 1.
|
Loading