fix crapcode

This commit is contained in:
Philipp Kühn
2020-09-11 18:35:25 +02:00
parent 3b67e58941
commit 7350f52392
12 changed files with 20 additions and 25 deletions

View File

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