From 5a45420a90f83ec029461c4fec045e11528a677c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philipp=20Ku=CC=88hn?= Date: Wed, 11 Mar 2020 10:00:19 +0100 Subject: [PATCH] fix tests --- cypress/integration/basic.spec.js | 2 +- src/pages/tests/Basic.vue | 57 +++++++++++-------------------- 2 files changed, 20 insertions(+), 39 deletions(-) diff --git a/cypress/integration/basic.spec.js b/cypress/integration/basic.spec.js index 1d2b391c..f9754739 100644 --- a/cypress/integration/basic.spec.js +++ b/cypress/integration/basic.spec.js @@ -19,7 +19,7 @@ context('basic', () => { const json = editor.json() expect(json).to.deep.equal({ - type: 'doc', + type: 'document', content: [ { type: 'paragraph', diff --git a/src/pages/tests/Basic.vue b/src/pages/tests/Basic.vue index 3f6cdba9..ecb83469 100644 --- a/src/pages/tests/Basic.vue +++ b/src/pages/tests/Basic.vue @@ -1,19 +1,29 @@ \ No newline at end of file