Browse Source

Up tests

pull/3671/head
Artur Arseniev 5 years ago
parent
commit
d41ed8a0de
  1. 2
      test/specs/grapesjs/headless.js

2
test/specs/grapesjs/headless.js

@ -1,7 +1,6 @@
/** /**
* @jest-environment node * @jest-environment node
*/ */
let editor;
describe('GrapesJS Headless', () => { describe('GrapesJS Headless', () => {
test('Can init and destroy an editor', () => { test('Can init and destroy an editor', () => {
@ -11,6 +10,7 @@ describe('GrapesJS Headless', () => {
}); });
describe('Headless operations', () => { describe('Headless operations', () => {
let editor;
const cmpObj = { const cmpObj = {
attributes: { class: 'cls', test: 'value' }, attributes: { class: 'cls', test: 'value' },
components: { type: 'textnode', content: 'Test' } components: { type: 'textnode', content: 'Test' }

Loading…
Cancel
Save