diff --git a/test/specs/grapesjs/headless.js b/test/specs/grapesjs/headless.js index ef053f81a..918136dec 100644 --- a/test/specs/grapesjs/headless.js +++ b/test/specs/grapesjs/headless.js @@ -1,7 +1,6 @@ /** * @jest-environment node */ -let editor; describe('GrapesJS Headless', () => { test('Can init and destroy an editor', () => { @@ -11,6 +10,7 @@ describe('GrapesJS Headless', () => { }); describe('Headless operations', () => { + let editor; const cmpObj = { attributes: { class: 'cls', test: 'value' }, components: { type: 'textnode', content: 'Test' }