wisemapping-frontend/packages/mindplot/test/playground/layout/context-loader.js

18 lines
608 B
JavaScript
Raw Normal View History

import TestSuite from './TestSuite';
import BalancedTestSuite from './BalancedTestSuite';
import SymmetricTestSuite from './SymmetricTestSuite';
import FreeTestSuite from './FreeTestSuite';
2021-12-05 18:25:16 +01:00
import Raphael from './lib/raphael-min';
import { drawGrid } from './lib/raphael-plugins';
import '../../../src'; // TODO: remove this when removing mootools (hack used to load it as a side effect)
2021-12-05 18:25:16 +01:00
global.Raphael = Raphael;
global.Raphael.fn.drawGrid = drawGrid;
window.addEventListener('DOMContentLoaded', () => {
2021-12-19 17:06:42 +01:00
new TestSuite();
new BalancedTestSuite();
new SymmetricTestSuite();
new FreeTestSuite();
});