fix some linting errors
This commit is contained in:
@@ -73,4 +73,4 @@ context('/api/extensions/blockquote', () => {
|
||||
.find('blockquote')
|
||||
.should('contain', 'Quote')
|
||||
})
|
||||
})
|
||||
})
|
||||
|
||||
@@ -58,4 +58,4 @@ context('/api/extensions/bold', () => {
|
||||
.find('strong')
|
||||
.should('contain', 'Bold')
|
||||
})
|
||||
})
|
||||
})
|
||||
|
||||
@@ -128,4 +128,4 @@ context('/api/extensions/bullet-list', () => {
|
||||
.find('p')
|
||||
.should('contain', '* Example')
|
||||
})
|
||||
})
|
||||
})
|
||||
|
||||
@@ -32,4 +32,4 @@ context('/api/extensions/code', () => {
|
||||
cy.get('.ProseMirror code')
|
||||
.should('not.exist')
|
||||
})
|
||||
})
|
||||
})
|
||||
|
||||
@@ -64,4 +64,4 @@ context('/api/extensions/code-block', () => {
|
||||
.find('pre')
|
||||
.should('contain', 'Code')
|
||||
})
|
||||
})
|
||||
})
|
||||
|
||||
@@ -2,4 +2,4 @@ context('/api/extensions/document', () => {
|
||||
before(() => {
|
||||
cy.visit('/api/extensions/document')
|
||||
})
|
||||
})
|
||||
})
|
||||
|
||||
@@ -41,4 +41,4 @@ context('/api/extensions/hard-break', () => {
|
||||
cy.get('.ProseMirror br')
|
||||
.should('exist')
|
||||
})
|
||||
})
|
||||
})
|
||||
|
||||
@@ -74,4 +74,4 @@ context('/api/extensions/heading', () => {
|
||||
.find('h1')
|
||||
.should('contain', 'Headline')
|
||||
})
|
||||
})
|
||||
})
|
||||
|
||||
@@ -37,7 +37,7 @@ context('/api/extensions/history', () => {
|
||||
.should('not.contain', 'Mistake')
|
||||
|
||||
cy.get('.demo__preview button:nth-child(2)')
|
||||
.click()
|
||||
.click()
|
||||
|
||||
cy.get('.ProseMirror')
|
||||
.should('contain', 'Mistake')
|
||||
|
||||
@@ -49,4 +49,4 @@ context('/api/extensions/horizontal-rule', () => {
|
||||
.should('exist')
|
||||
})
|
||||
})
|
||||
})
|
||||
})
|
||||
|
||||
@@ -47,4 +47,4 @@ context('/api/extensions/italic', () => {
|
||||
.find('em')
|
||||
.should('not.exist')
|
||||
})
|
||||
})
|
||||
})
|
||||
|
||||
@@ -9,4 +9,4 @@ context('/api/extensions/link', () => {
|
||||
editor.selectAll()
|
||||
})
|
||||
})
|
||||
})
|
||||
})
|
||||
|
||||
@@ -2,4 +2,4 @@ context('/api/extensions/list-item', () => {
|
||||
before(() => {
|
||||
cy.visit('/api/extensions/list-item')
|
||||
})
|
||||
})
|
||||
})
|
||||
|
||||
@@ -94,4 +94,4 @@ context('/api/extensions/ordered-list', () => {
|
||||
.find('p')
|
||||
.should('contain', '1. Example')
|
||||
})
|
||||
})
|
||||
})
|
||||
|
||||
@@ -42,4 +42,4 @@ context('/api/extensions/paragraph', () => {
|
||||
.find('p')
|
||||
.should('have.length', 1)
|
||||
})
|
||||
})
|
||||
})
|
||||
|
||||
@@ -55,4 +55,4 @@ context('/api/extensions/strike', () => {
|
||||
.find('s')
|
||||
.should('contain', 'Strike')
|
||||
})
|
||||
})
|
||||
})
|
||||
|
||||
@@ -15,4 +15,4 @@ context('/api/extensions/text', () => {
|
||||
.find('p')
|
||||
.should('contain', 'Example Text')
|
||||
})
|
||||
})
|
||||
})
|
||||
|
||||
@@ -48,4 +48,4 @@ context('/api/extensions/underline', () => {
|
||||
.find('u')
|
||||
.should('not.exist')
|
||||
})
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user