add done again

This commit is contained in:
Philipp Kühn
2020-09-11 18:52:18 +02:00
parent cc0695feb6
commit 8df2a5d25e
10 changed files with 21 additions and 10 deletions

View File

@@ -3,10 +3,11 @@ context('/examples/markdown-shortcuts', () => {
cy.visit('/examples/markdown-shortcuts')
})
beforeEach(() => {
beforeEach(done => {
cy.get('.ProseMirror').then(([{ editor }]) => {
editor.focus()
editor.clearContent()
done()
})
})