Skip to content

Commit

Permalink
subscript: fix broken test
Browse files Browse the repository at this point in the history
  • Loading branch information
hanspagel committed Jun 14, 2021
1 parent 123f206 commit b4fc7a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/src/demos/Marks/Subscript/index.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ context('/demos/Marks/Subscript', () => {

it('should transform inline style to sub tags', () => {
cy.get('.ProseMirror').then(([{ editor }]) => {
editor.commands.setContent('<p><span style="vertical-align: middle">Example Text</span></p>')
editor.commands.setContent('<p><span style="vertical-align: sub">Example Text</span></p>')
expect(editor.getHTML()).to.eq('<p><sub>Example Text</sub></p>')
})
})
Expand Down

0 comments on commit b4fc7a4

Please sign in to comment.