Browse Source

Start Canvas test file

pull/5358/head
Artur Arseniev 2 years ago
parent
commit
6137b737de
  1. 19
      test/specs/canvas/index.ts

19
test/specs/canvas/index.ts

@ -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…
Cancel
Save