fix typescript errors
This commit is contained in:
@@ -17,7 +17,7 @@ describe('clearContent', () => {
|
|||||||
|
|
||||||
const command = editor.commands.clearContent()
|
const command = editor.commands.clearContent()
|
||||||
|
|
||||||
expect(command).to.be.true
|
expect(command).to.be.eq(true)
|
||||||
})
|
})
|
||||||
|
|
||||||
it('clears the content when using clearContent', () => {
|
it('clears the content when using clearContent', () => {
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ describe('insertHTML', () => {
|
|||||||
|
|
||||||
const command = editor.commands.insertHTML('<p>Cindy Lauper</p>')
|
const command = editor.commands.insertHTML('<p>Cindy Lauper</p>')
|
||||||
|
|
||||||
expect(command).to.be.true
|
expect(command).to.be.eq(true)
|
||||||
})
|
})
|
||||||
|
|
||||||
it('appends the content when using insertHTML', () => {
|
it('appends the content when using insertHTML', () => {
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ describe('setContent', () => {
|
|||||||
|
|
||||||
const command = editor.commands.setContent('<p>Cindy Lauper</p>')
|
const command = editor.commands.setContent('<p>Cindy Lauper</p>')
|
||||||
|
|
||||||
expect(command).to.be.true
|
expect(command).to.be.eq(true)
|
||||||
})
|
})
|
||||||
|
|
||||||
it('replaces the content when using setContent', () => {
|
it('replaces the content when using setContent', () => {
|
||||||
|
|||||||
Reference in New Issue
Block a user