fix some linting errors

This commit is contained in:
Philipp Kühn
2020-09-23 23:38:11 +02:00
parent 59adb2c616
commit 5dff1c00d8
32 changed files with 82 additions and 78 deletions

View File

@@ -73,4 +73,4 @@ context('/api/extensions/blockquote', () => {
.find('blockquote')
.should('contain', 'Quote')
})
})
})

View File

@@ -58,4 +58,4 @@ context('/api/extensions/bold', () => {
.find('strong')
.should('contain', 'Bold')
})
})
})

View File

@@ -128,4 +128,4 @@ context('/api/extensions/bullet-list', () => {
.find('p')
.should('contain', '* Example')
})
})
})

View File

@@ -32,4 +32,4 @@ context('/api/extensions/code', () => {
cy.get('.ProseMirror code')
.should('not.exist')
})
})
})

View File

@@ -64,4 +64,4 @@ context('/api/extensions/code-block', () => {
.find('pre')
.should('contain', 'Code')
})
})
})

View File

@@ -2,4 +2,4 @@ context('/api/extensions/document', () => {
before(() => {
cy.visit('/api/extensions/document')
})
})
})

View File

@@ -41,4 +41,4 @@ context('/api/extensions/hard-break', () => {
cy.get('.ProseMirror br')
.should('exist')
})
})
})

View File

@@ -74,4 +74,4 @@ context('/api/extensions/heading', () => {
.find('h1')
.should('contain', 'Headline')
})
})
})

View File

@@ -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')

View File

@@ -49,4 +49,4 @@ context('/api/extensions/horizontal-rule', () => {
.should('exist')
})
})
})
})

View File

@@ -47,4 +47,4 @@ context('/api/extensions/italic', () => {
.find('em')
.should('not.exist')
})
})
})

View File

@@ -9,4 +9,4 @@ context('/api/extensions/link', () => {
editor.selectAll()
})
})
})
})

View File

@@ -2,4 +2,4 @@ context('/api/extensions/list-item', () => {
before(() => {
cy.visit('/api/extensions/list-item')
})
})
})

View File

@@ -94,4 +94,4 @@ context('/api/extensions/ordered-list', () => {
.find('p')
.should('contain', '1. Example')
})
})
})

View File

@@ -42,4 +42,4 @@ context('/api/extensions/paragraph', () => {
.find('p')
.should('have.length', 1)
})
})
})

View File

@@ -55,4 +55,4 @@ context('/api/extensions/strike', () => {
.find('s')
.should('contain', 'Strike')
})
})
})

View File

@@ -15,4 +15,4 @@ context('/api/extensions/text', () => {
.find('p')
.should('contain', 'Example Text')
})
})
})

View File

@@ -48,4 +48,4 @@ context('/api/extensions/underline', () => {
.find('u')
.should('not.exist')
})
})
})