diff --git a/docs/src/demos/Extensions/Heading/index.spec.js b/docs/src/demos/Extensions/Heading/index.spec.js index edb14b07..7fd1e3a3 100644 --- a/docs/src/demos/Extensions/Heading/index.spec.js +++ b/docs/src/demos/Extensions/Heading/index.spec.js @@ -14,9 +14,6 @@ context('/api/extensions/heading', () => { '

Example Text

', '

Example Text

', '

Example Text

', - '

Example Text

', - '
Example Text
', - '
Example Text
', ] headings.forEach(html => { @@ -28,9 +25,9 @@ context('/api/extensions/heading', () => { }) }) - it('should omit invalid headings', () => { + it('should omit disabled heading levels', () => { cy.get('.ProseMirror').then(([{ editor }]) => { - editor.setContent('Example Text') + editor.setContent('

Example Text

') expect(editor.html()).to.eq('

Example Text

') }) })