From 0c284c5cb1d3da253279491cbfecde9a0b342b87 Mon Sep 17 00:00:00 2001 From: Hans Pagel Date: Mon, 23 Nov 2020 16:18:18 +0100 Subject: [PATCH] fix typescript errors --- tests/cypress/integration/core/clearContent.spec.ts | 2 +- tests/cypress/integration/core/insertHTML.spec.ts | 2 +- tests/cypress/integration/core/setContent.spec.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/cypress/integration/core/clearContent.spec.ts b/tests/cypress/integration/core/clearContent.spec.ts index d0edde38..269aed1c 100644 --- a/tests/cypress/integration/core/clearContent.spec.ts +++ b/tests/cypress/integration/core/clearContent.spec.ts @@ -17,7 +17,7 @@ describe('clearContent', () => { const command = editor.commands.clearContent() - expect(command).to.be.true + expect(command).to.be.eq(true) }) it('clears the content when using clearContent', () => { diff --git a/tests/cypress/integration/core/insertHTML.spec.ts b/tests/cypress/integration/core/insertHTML.spec.ts index 2c9cbfac..7c585ce3 100644 --- a/tests/cypress/integration/core/insertHTML.spec.ts +++ b/tests/cypress/integration/core/insertHTML.spec.ts @@ -17,7 +17,7 @@ describe('insertHTML', () => { const command = editor.commands.insertHTML('

Cindy Lauper

') - expect(command).to.be.true + expect(command).to.be.eq(true) }) it('appends the content when using insertHTML', () => { diff --git a/tests/cypress/integration/core/setContent.spec.ts b/tests/cypress/integration/core/setContent.spec.ts index b5394269..e3920662 100644 --- a/tests/cypress/integration/core/setContent.spec.ts +++ b/tests/cypress/integration/core/setContent.spec.ts @@ -17,7 +17,7 @@ describe('setContent', () => { const command = editor.commands.setContent('

Cindy Lauper

') - expect(command).to.be.true + expect(command).to.be.eq(true) }) it('replaces the content when using setContent', () => {