Skip to content
This repository was archived by the owner on May 5, 2021. It is now read-only.

Commit 39a76d6

Browse files
committed
[FIX] Toolbar: fix tests after removeFormat button changes
1 parent 3cf2d45 commit 39a76d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/plugin-toolbar/test/toolbar.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ describe('Toolbar', async () => {
117117
expect(toolbar?.outerHTML.replace(/[\s\n]+/g, ' ')).to.equal(
118118
[
119119
'<jw-toolbar>',
120-
'<button name="removeFormat" class="pressed fa fa-remove-format fa-fw" aria-pressed="true" title="Remove format"></button>',
120+
'<button name="removeFormat" class="fa fa-eraser fa-fw" title="Remove format" aria-pressed="false"></button>',
121121
'<button name="bold" class="fa fa-bold fa-fw" title="Toggle bold" aria-pressed="false"></button>',
122122
'</jw-toolbar>',
123123
].join(''),

0 commit comments

Comments
 (0)