mirror of https://github.com/artf/grapesjs.git
1 changed files with 19 additions and 0 deletions
@ -0,0 +1,19 @@ |
|||
import EditorModel from '../../../src/editor/model/Editor'; |
|||
|
|||
describe('Canvas', () => { |
|||
let em: EditorModel; |
|||
let canvas: EditorModel['Canvas']; |
|||
|
|||
beforeEach(() => { |
|||
em = new EditorModel({}); |
|||
canvas = em.Canvas; |
|||
}); |
|||
|
|||
afterEach(() => { |
|||
em.destroy(); |
|||
}); |
|||
|
|||
test('Canvas module exists', () => { |
|||
expect(canvas).toBeTruthy(); |
|||
}); |
|||
}); |
|||
Loading…
Reference in new issue